| /onnv-gate/usr/src/uts/common/syscall/ |
| H A D | mknod.c | 81 vattr.va_type = IFTOVT(fmode); in mknodat() 84 if (vattr.va_type == VCHR || vattr.va_type == VBLK) { in mknodat()
|
| H A D | mkdir.c | 59 vattr.va_type = VDIR; in mkdirat()
|
| H A D | stat.c | 234 sb.st_mode = VTTOIF(vattr.va_type) | vattr.va_mode; in cstat() 357 sb.st_mode = VTTOIF(vattr.va_type) | vattr.va_mode; in cstat32() 465 lsb.st_mode = VTTOIF(vattr.va_type) | vattr.va_mode; in cstat64() 584 lsb.st_mode = VTTOIF(vattr.va_type) | vattr.va_mode; in cstat64_32()
|
| H A D | symlink.c | 91 vattr.va_type = VLNK; in symlinkat()
|
| H A D | readlink.c | 89 if (error || vattr.va_type != VLNK) { in readlinkat()
|
| /onnv-gate/usr/src/uts/common/fs/nfs/ |
| H A D | nfs_srv.c | 121 va.va_type = VLNK; in rfs_getattr() 1721 va.va_type = VFIFO; /* xtra kludge for named pipe */ in rfs_create() 1723 va.va_type = VCHR; in rfs_create() 1736 va.va_type = VBLK; in rfs_create() 1748 va.va_type = VSOCK; in rfs_create() 1750 va.va_type = VREG; in rfs_create() 1772 if (!(va.va_mask & AT_SIZE) || va.va_type != VREG) { in rfs_create() 1791 } else if (va.va_type != VREG && va.va_type != VFIFO && in rfs_create() 1792 va.va_type != VSOCK && secpolicy_sys_devices(cr) != 0) { in rfs_create() 1805 if (!error && (va.va_type == VREG) && (va.va_mask & AT_SIZE)) { in rfs_create() [all …]
|
| H A D | nfs3_xdr.c | 593 vap->va_type = IXDR_GET_ENUM(ptr, enum vtype); in xdr_fattr3_to_vattr() 594 if (vap->va_type < NF3REG || vap->va_type > NF3FIFO) in xdr_fattr3_to_vattr() 595 vap->va_type = VBAD; in xdr_fattr3_to_vattr() 597 vap->va_type = nf3_to_vt[vap->va_type]; in xdr_fattr3_to_vattr() 672 if (!(xdr_enum(xdrs, (enum_t *)&vap->va_type) && in xdr_fattr3_to_vattr() 748 if (vap->va_type < NF3REG || vap->va_type > NF3FIFO) in xdr_fattr3_to_vattr() 749 vap->va_type = VBAD; in xdr_fattr3_to_vattr() 751 vap->va_type = nf3_to_vt[vap->va_type]; in xdr_fattr3_to_vattr() 779 switch (vap->va_type) { in xdr_fattr3_to_vattr()
|
| H A D | nfs4_xdr.c | 903 if (!XDR_GETINT32(xdrs, (int *)&vap->va_type)) in xdr_ga_fattr_res() 906 if (vap->va_type < NF4REG || in xdr_ga_fattr_res() 907 vap->va_type > NF4NAMEDATTR) in xdr_ga_fattr_res() 908 vap->va_type = VBAD; in xdr_ga_fattr_res() 910 vap->va_type = nf4_to_vt[vap->va_type]; in xdr_ga_fattr_res() 911 if (vap->va_type == VBLK) in xdr_ga_fattr_res() 1338 if (vap->va_type == VCHR || vap->va_type == VBLK) { in xdr_ga_fattr_res() 1372 if (vap->va_type == VREG || vap->va_type == VDIR || in xdr_ga_fattr_res() 1373 vap->va_type == VLNK) { in xdr_ga_fattr_res() 1574 vap->va_type = IXDR_GET_U_INT32(ptr); in xdr_ga_fattr_res_inline() [all …]
|
| /onnv-gate/usr/src/uts/common/fs/cachefs/ |
| H A D | cachefs_cnode.c | 666 vap && vap->va_type != cp->c_attr.va_type || in cachefs_cnode_find() 746 ASSERT(cp->c_attr.va_type != 0); in cachefs_cnode_init() 748 cp->c_attr.va_type, cp->c_attr.va_rdev); in cachefs_cnode_init() 784 ASSERT(cp->c_attr.va_type != 0); in cachefs_cnode_init() 786 cp->c_attr.va_type, cp->c_attr.va_rdev); in cachefs_cnode_init() 832 ASSERT(cp->c_attr.va_type != 0); in cachefs_cnode_init() 834 cp->c_attr.va_type, cp->c_attr.va_rdev); in cachefs_cnode_init() 839 ASSERT(cp->c_attr.va_type != 0); in cachefs_cnode_init() 841 cp->c_attr.va_type, cp->c_attr.va_rdev); in cachefs_cnode_init() 851 ASSERT(cp->c_attr.va_type != 0); in cachefs_cnode_init() [all …]
|
| H A D | cachefs_fscache.c | 811 attrp->va_type = VDIR; in fscdir_create() 832 attrp->va_type = VREG; in fscdir_create() 868 attrp->va_type = VLNK; in fscdir_create() 882 attrp->va_type = VDIR; in fscdir_create()
|
| /onnv-gate/usr/src/uts/common/fs/tmpfs/ |
| H A D | tmp_tnode.c | 169 t->tn_mode = MAKEIMODE(vap->va_type, vap->va_mode); in tmpnode_init() 171 t->tn_type = vap->va_type; in tmpnode_init() 199 vp->v_type = vap->va_type; in tmpnode_init()
|
| /onnv-gate/usr/src/uts/common/fs/objfs/ |
| H A D | objfs_odir.c | 71 vap->va_type = VDIR; in objfs_odir_getattr()
|
| /onnv-gate/usr/src/stand/lib/fs/nfs/ |
| H A D | nfs2ops.c | 208 vap->va_type = VBAD; in nfsgetattr() 210 vap->va_type = nf_to_vt[na->type]; in nfsgetattr()
|
| H A D | nfs3ops.c | 216 vap->va_type = VBAD; in nfs3getattr() 218 vap->va_type = nf3_to_vt[na->type]; in nfs3getattr()
|
| /onnv-gate/usr/src/uts/common/sys/fs/ |
| H A D | tmpnode.h | 107 #define tn_type tn_attr.va_type
|
| /onnv-gate/usr/src/uts/common/fs/ctfs/ |
| H A D | ctfs_sym.c | 93 vap->va_type = VLNK; in ctfs_sym_getattr()
|
| H A D | ctfs_event.c | 275 vap->va_type = VREG; in ctfs_ev_getattr() 434 vap->va_type = VREG; in ctfs_bu_getattr()
|
| H A D | ctfs_latest.c | 163 vap->va_type = VREG; in ctfs_latest_getattr()
|
| H A D | ctfs_all.c | 84 vap->va_type = VDIR; in ctfs_adir_getattr()
|
| H A D | ctfs_cdir.c | 107 vap->va_type = VDIR; in ctfs_cdir_getattr()
|
| H A D | ctfs_tmpl.c | 97 vap->va_type = VREG; in ctfs_tmpl_getattr()
|
| /onnv-gate/usr/src/uts/common/fs/udfs/ |
| H A D | udf_alloc.c | 1064 imode = MAKEIMODE(vap->va_type, vap->va_mode); in ud_ialloc() 1118 if ((vap->va_type == VBLK) || in ud_ialloc() 1119 (vap->va_type == VCHR)) { in ud_ialloc() 1141 switch (vap->va_type) { in ud_ialloc() 1170 if ((pip->i_char & ISGID) && (vap->va_type == VDIR)) { in ud_ialloc() 1196 if (vap->va_type == VDIR) { in ud_ialloc()
|
| /onnv-gate/usr/src/uts/common/fs/sockfs/ |
| H A D | nl7clogd.c | 332 attr.va_type = VLNK; in logd_log_write() 440 attr.va_type = VDIR; in nl7c_logd_init() 522 attr.va_type = VLNK; in nl7c_logd_init()
|
| H A D | sockcommon_vnops.c | 301 vap->va_type = VCHR; in socket_vop_getattr() 304 vap->va_type = vp->v_type; in socket_vop_getattr()
|
| /onnv-gate/usr/src/uts/common/fs/dev/ |
| H A D | sdev_subr.c | 265 attrp->va_type = vap->va_type; in sdev_attr_update() 325 vp->v_type = vap->va_type; in sdev_nodeinit() 384 type = vap->va_type; in sdev_nodeready() 763 if (otype != nvap->va_type) { in sdev_node_check() 766 dv->sdev_name, otype, nvap->va_type)); in sdev_node_check() 1242 if (vattr.va_type == VLNK) { in sdev_rnmnode() 1328 vap->va_type = vp->v_type; in sdev_vattr_merge() 1340 if (vap->va_type == VCHR) in sdev_vattr_merge() 1492 if (vattr.va_type == VLNK) { in sdev_filldir_from_store() 1611 switch (vap->va_type) { in sdev_shadow_node() [all …]
|