Home
last modified time | relevance | path

Searched refs:va_mode (Results 1 – 25 of 112) sorted by relevance

12345

/titanic_41/usr/src/uts/common/sys/fs/
H A Ddv_node.h134 ((attrp->va_mode & S_IAMB) == (mp.mp_mode & S_IAMB))))
142 attr.va_mode = \
143 (attr.va_mode & ~S_IAMB) | (mp.mp_mode & S_IAMB);
148 attrp->va_mode = \
149 (attrp->va_mode & ~S_IAMB) | (mp.mp_mode & S_IAMB);
H A Dtmpnode.h108 #define tn_mode tn_attr.va_mode
/titanic_41/usr/src/uts/common/fs/devfs/
H A Ddevfs_vnops.c206 vap->va_mode &= (~rconsmask); in devfs_getattr()
258 map->va_mode &= S_IFMT; in devfs_setattr_dir()
259 map->va_mode |= vap->va_mode & ~S_IFMT; in devfs_setattr_dir()
325 if ((map->va_mode & S_IAMB) != (mp->mp_mode & S_IAMB)) in dv_setattr_cmp()
433 mp.mp_mode = dv_vattr_file.va_mode; in devfs_setattr()
487 map->va_mode &= S_IFMT; in devfs_setattr()
488 map->va_mode |= vap->va_mode & ~S_IFMT; in devfs_setattr()
531 dv->dv_name, vap->va_mode)); in devfs_setattr()
722 dv->dv_attr->va_mode << shift, mode)); in devfs_unlocked_access()
H A Ddevfs_subr.c593 vap->va_mode &= ~S_IFMT; in dv_vattr_merge()
595 vap->va_mode |= S_IFCHR; in dv_vattr_merge()
597 vap->va_mode |= S_IFBLK; in dv_vattr_merge()
641 dv->dv_name, vap->va_mode)); in devfs_get_defattr()
644 vap->va_mode &= ~S_IAMB; in devfs_get_defattr()
645 vap->va_mode |= dv->dv_dflt_mode; in devfs_get_defattr()
647 dv->dv_name, vap->va_mode)); in devfs_get_defattr()
1556 attrp->va_gid, attrp->va_mode)); in dv_reset_perm_dir()
1563 old_mode = attrp->va_mode; in dv_reset_perm_dir()
1574 attrp->va_gid, attrp->va_mode, error)); in dv_reset_perm_dir()
/titanic_41/usr/src/uts/common/syscall/
H A Dchmod.c61 vattr.va_mode = mode & MODEMASK; in fchmodat()
H A Dmkdir.c60 vattr.va_mode = dmode & PERMMASK; in mkdirat()
H A Dstat.c234 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 Dmknod.c82 vattr.va_mode = fmode & MODEMASK; in mknodat()
H A Dsymlink.c92 vattr.va_mode = 0777; in symlinkat()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_srv.c206 va.va_mode &= ~(VSUID | VSGID); in rfs_setattr()
517 if (MANDLOCK(vp, va.va_mode)) { in rfs_readlink()
738 if (MANDLOCK(vp, va.va_mode)) { in rfs_read()
988 if (MANDLOCK(vp, va.va_mode)) { in rfs_write_sync()
1443 if (!error && MANDLOCK(vp, va.va_mode)) in rfs_write()
1724 if ((va.va_mode & IFMT) == IFCHR) { in rfs_create()
1740 } else if ((va.va_mode & IFMT) == IFBLK) { in rfs_create()
1752 } else if ((va.va_mode & IFMT) == IFSOCK) { in rfs_create()
1757 va.va_mode &= ~IFMT; in rfs_create()
1787 mode = (at.va_mode & S_IWUSR) ? VWRITE : VREAD; in rfs_create()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dpolicy.c730 if (secpolicy_vnode_access2(cr, mvp, va.va_uid, va.va_mode, in secpolicy_fs_common()
1246 if ((vap->va_mode & (S_ISUID | S_ISGID)) != 0 && in secpolicy_setid_clear()
1248 (vap->va_mode & S_ISUID) != 0 && in secpolicy_setid_clear()
1251 vap->va_mode &= ~(S_ISUID|S_ISGID); in secpolicy_setid_clear()
1261 if ((vap->va_mode & S_ISUID) != 0 && in secpolicy_setid_setsticky_clear()
1271 if (vp->v_type != VDIR && (vap->va_mode & S_ISVTX) != 0 && in secpolicy_setid_setsticky_clear()
1273 vap->va_mode &= ~S_ISVTX; in secpolicy_setid_setsticky_clear()
1280 if ((vap->va_mode & S_ISGID) != 0 && in secpolicy_setid_setsticky_clear()
1282 vap->va_mode &= ~S_ISGID; in secpolicy_setid_setsticky_clear()
1428 vap->va_mode = ovap->va_mode; in secpolicy_vnode_setattr()
/titanic_41/usr/src/uts/common/fs/ctfs/
H A Dctfs_ctl.c155 vap->va_mode = 0222; in ctfs_ctl_getattr()
168 vap->va_mode = 0444; in ctfs_stat_getattr()
H A Dctfs_sym.c94 vap->va_mode = 0444; in ctfs_sym_getattr()
H A Dctfs_event.c276 vap->va_mode = 0444; in ctfs_ev_getattr()
435 vap->va_mode = 0444; in ctfs_bu_getattr()
H A Dctfs_latest.c164 vap->va_mode = 0444; in ctfs_latest_getattr()
H A Dctfs_all.c85 vap->va_mode = 0555; in ctfs_adir_getattr()
H A Dctfs_cdir.c108 vap->va_mode = 0555; in ctfs_cdir_getattr()
/titanic_41/usr/src/uts/common/fs/
H A Dnbmlock.c145 *svp = MANDLOCK(vp, va.va_mode); in nbl_svmand()
H A Dfs_subr.c564 aclentp->a_perm = ((ushort_t)(vattr.va_mode & 0700)) >> 6; in fs_fab_acl()
569 aclentp->a_perm = ((ushort_t)(vattr.va_mode & 0070)) >> 3; in fs_fab_acl()
574 aclentp->a_perm = vattr.va_mode & 0007; in fs_fab_acl()
582 VERIFY(0 == acl_trivial_create(vattr.va_mode, in fs_fab_acl()
/titanic_41/usr/src/uts/common/fs/namefs/
H A Dnamevno.c255 nodep->nm_vattr.va_uid, nodep->nm_vattr.va_mode << shift, in nm_access_unlocked()
300 nmvap->va_mode = vap->va_mode & ~VSVTX; in nm_setattr()
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_nblk.c150 *svp = MANDLOCK(vp, va.va_mode); in nbl_svmand()
/titanic_41/usr/src/uts/common/fs/objfs/
H A Dobjfs_odir.c72 vap->va_mode = S_IRUSR | S_IXUSR | S_IRGRP | S_IXGRP | in objfs_odir_getattr()
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dnl7clogd.c331 attr.va_mode = 0777; in logd_log_write()
439 attr.va_mode = 0755; in nl7c_logd_init()
521 attr.va_mode = 0777; in nl7c_logd_init()
H A Dsockcommon_vnops.c302 vap->va_mode = 0; in socket_vop_getattr()
305 vap->va_mode = S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP| in socket_vop_getattr()
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_fscache.c808 attrp->va_mode = S_IFDIR | 0777; in fscdir_create()
829 attrp->va_mode = S_IFREG | 0666; in fscdir_create()
867 attrp->va_mode = 0777; in fscdir_create()
879 attrp->va_mode = S_IFDIR | 0777; in fscdir_create()

12345