Searched refs:ksid (Results 1 – 4 of 4) sorted by relevance
54 ksiddomain_rele(ksiddomain_t *ksid) in ksiddomain_rele() argument56 kmem_free(ksid->kd_name, strlen(ksid->kd_name) + 1); in ksiddomain_rele()57 kmem_free(ksid, sizeof (ksiddomain_t)); in ksiddomain_rele()
56 struct ksid;176 extern void crsetsid(cred_t *, struct ksid *, int);179 extern struct ksid *crgetsid(const cred_t *, int);
519 ksid_t *ksid; in zfs_fuid_create_cred() local526 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() local731 if (ksid && ksidlist) { in zfs_groupmember()
938 ksiddomain_rele(ksiddomain_t *ksid) in ksiddomain_rele() argument940 spa_strfree(ksid->kd_name); in ksiddomain_rele()941 umem_free(ksid, sizeof (ksiddomain_t)); in ksiddomain_rele()