Home
last modified time | relevance | path

Searched refs:ZFS_OWNER (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_fuid.c385 cr, ZFS_OWNER); in zfs_fuid_map_ids()
428 if (type == ZFS_OWNER || type == ZFS_ACE_USER) { in zfs_fuid_map_id()
498 if (type == ZFS_OWNER) in zfs_fuid_node_add()
524 VERIFY(type == ZFS_OWNER || type == ZFS_GROUP); in zfs_fuid_create_cred()
526 ksid = crgetsid(cr, (type == ZFS_OWNER) ? KSID_OWNER : KSID_GROUP); in zfs_fuid_create_cred()
529 id = (type == ZFS_OWNER) ? crgetuid(cr) : crgetgid(cr); in zfs_fuid_create_cred()
532 return ((type == ZFS_OWNER) ? UID_NOBODY : GID_NOBODY); in zfs_fuid_create_cred()
540 id = (type == ZFS_OWNER) ? ksid_getid(ksid) : crgetgid(cr); in zfs_fuid_create_cred()
607 VERIFY3U(type, >=, ZFS_OWNER); in zfs_fuid_create()
617 case ZFS_OWNER: in zfs_fuid_create()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_fuid.h41 ZFS_OWNER, enumerator
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_dir.c974 downer = zfs_fuid_map_id(zfsvfs, zdp->z_uid, cr, ZFS_OWNER); in zfs_sticky_remove_access()
975 fowner = zfs_fuid_map_id(zfsvfs, zp->z_uid, cr, ZFS_OWNER); in zfs_sticky_remove_access()
H A Dzfs_acl.c1649 ZFS_OWNER, &acl_ids->z_fuidp); in zfs_acl_ids_create()
2231 owner = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_uid, cr, ZFS_OWNER); in zfs_has_access()
2363 owner = zfs_fuid_map_id(zp->z_zfsvfs, zp->z_uid, cr, ZFS_OWNER); in zfs_zaccess()
2496 downer = zfs_fuid_map_id(dzp->z_zfsvfs, dzp->z_uid, cr, ZFS_OWNER); in zfs_delete_final_check()
H A Dzfs_vnops_os.c2456 (uint64_t)vap->va_uid, cr, ZFS_OWNER, &fuidp); in zfs_setattr()
3641 owner = zfs_fuid_map_id(zfsvfs, szp->z_uid, cr, ZFS_OWNER); in zfs_link()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_acl.c1830 cr, ZFS_OWNER, &acl_ids->z_fuidp); in zfs_acl_ids_create()
1835 acl_ids->z_fuid = zfs_fuid_create_cred(zfsvfs, ZFS_OWNER, in zfs_acl_ids_create()
2425 KUID_TO_SUID(ZTOI(zp)->i_uid), cr, ZFS_OWNER); in zfs_has_access()
2665 owner = zfs_fuid_map_id(ZTOZSB(zp), owner, cr, ZFS_OWNER); in zfs_zaccess()
2959 KUID_TO_SUID(ZTOI(dzp)->i_uid), cr, ZFS_OWNER); in zfs_zaccess_delete()
H A Dzfs_dir.c1280 cr, ZFS_OWNER); in zfs_sticky_remove_access()
1282 cr, ZFS_OWNER); in zfs_sticky_remove_access()
H A Dzfs_vnops_os.c2298 (uint64_t)vap->va_uid, cr, ZFS_OWNER, &fuidp); in zfs_setattr()
3588 cr, ZFS_OWNER); in zfs_link()