Home
last modified time | relevance | path

Searched refs:ksid (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dsid.h54 ksiddomain_rele(ksiddomain_t *ksid) in ksiddomain_rele() argument
56 kmem_free(ksid->kd_name, strlen(ksid->kd_name) + 1); in ksiddomain_rele()
57 kmem_free(ksid, sizeof (ksiddomain_t)); in ksiddomain_rele()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcred.h56 struct ksid;
176 extern void crsetsid(cred_t *, struct ksid *, int);
179 extern struct ksid *crgetsid(const cred_t *, int);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_fuid.c519 ksid_t *ksid; in zfs_fuid_create_cred() local
526 ksid = crgetsid(cr, (type == ZFS_OWNER) ? KSID_OWNER : KSID_GROUP); in zfs_fuid_create_cred()
528 if (!zfsvfs->z_use_fuids || (ksid == NULL)) { in zfs_fuid_create_cred()
540 id = (type == ZFS_OWNER) ? ksid_getid(ksid) : crgetgid(cr); in zfs_fuid_create_cred()
546 id = ksid_getid(ksid); in zfs_fuid_create_cred()
548 rid = ksid_getrid(ksid); in zfs_fuid_create_cred()
549 domain = ksid_getdomain(ksid); in zfs_fuid_create_cred()
728 ksid_t *ksid = crgetsid(cr, KSID_GROUP); in zfs_groupmember() local
731 if (ksid && ksidlist) { in zfs_groupmember()
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c938 ksiddomain_rele(ksiddomain_t *ksid) in ksiddomain_rele() argument
940 spa_strfree(ksid->kd_name); in ksiddomain_rele()
941 umem_free(ksid, sizeof (ksiddomain_t)); in ksiddomain_rele()