Searched refs:z_mode (Results 1 – 8 of 8) sorted by relevance
1171 zp->z_mode = zfs_mode_compute(zp->z_mode, aclp, in zfs_acl_chown_setattr()1195 mode = zp->z_mode; in zfs_aclset_common()1200 zp->z_mode = mode; in zfs_aclset_common()1634 acl_ids->z_mode = MAKEIMODE(vap->va_type, vap->va_mode); in zfs_acl_ids_create()1667 if (dzp->z_mode & S_ISGID) { in zfs_acl_ids_create()1701 if (!(flag & IS_ROOT_NODE) && (dzp->z_mode & S_ISGID) && in zfs_acl_ids_create()1703 acl_ids->z_mode |= S_ISGID; in zfs_acl_ids_create()1705 if ((acl_ids->z_mode & S_ISGID) && in zfs_acl_ids_create()1707 acl_ids->z_mode &= ~S_ISGID; in zfs_acl_ids_create()1719 vap->va_type, paclp, acl_ids->z_mode, &need_chmod); in zfs_acl_ids_create()[all …]
553 if (MANDMODE(zp->z_mode)) { in zfs_read()743 if (MANDMODE((mode_t)zp->z_mode) && in zfs_write()974 if ((zp->z_mode & (S_IXUSR | (S_IXUSR >> 3) | in zfs_write()976 (zp->z_mode & (S_ISUID | S_ISGID)) != 0 && in zfs_write()978 (zp->z_mode & S_ISUID) != 0 && zp->z_uid == 0) != 0) { in zfs_write()980 zp->z_mode &= ~(S_ISUID | S_ISGID); in zfs_write()981 newmode = zp->z_mode; in zfs_write()2588 vap->va_mode = zp->z_mode & MODEMASK; in zfs_getattr()2904 vap->va_mode = zp->z_mode; in zfs_setattr()2942 oldva.va_mode = zp->z_mode; in zfs_setattr()[all …]
212 nzp->z_mode = ozp->z_mode; in zfs_znode_move_impl()684 zp->z_mode = mode; in zfs_znode_alloc()868 mode = acl_ids->z_mode; in zfs_mknode()997 (*zpp)->z_mode = mode; in zfs_mknode()1250 zp->z_mode = mode; in zfs_rezget()
282 lr->lr_mode = zp->z_mode; in zfs_log_create()421 lr->lr_mode = zp->z_mode; in zfs_log_symlink()
762 value = zfs_dirent(zp, zp->z_mode); in zfs_link_create()1074 if ((zdp->z_mode & S_ISVTX) == 0) in zfs_sticky_remove_access()
184 uint64_t z_mode; /* mode to set on create */ member
193 mode_t z_mode; /* mode (cached) */ member
37 znode->z_mode | VTTOIF(znode->z_vnode->v_type); \