Lines Matching refs:fsperm
4695 fs_perm_t *fsperm = &node->fspn_fsperm; in fs_perm_set_fini() local
4696 fs_perm_fini(fsperm); in fs_perm_set_fini()
4716 who_perm_init(who_perm_t *who_perm, fs_perm_t *fsperm, in who_perm_init() argument
4720 pool = fsperm->fsp_set->fsps_deleg_perm_avl_pool; in who_perm_init()
4730 who_perm->who_fsperm = fsperm; in who_perm_init()
4751 fs_perm_init(fs_perm_t *fsperm, fs_perm_set_t *fspset, const char *fsname) in fs_perm_init() argument
4756 bzero(fsperm, sizeof (fs_perm_t)); in fs_perm_init()
4758 if ((fsperm->fsp_sc_avl = uu_avl_create(nset_pool, NULL, UU_DEFAULT)) in fs_perm_init()
4762 if ((fsperm->fsp_uge_avl = uu_avl_create(who_pool, NULL, UU_DEFAULT)) in fs_perm_init()
4766 fsperm->fsp_set = fspset; in fs_perm_init()
4767 fsperm->fsp_name = fsname; in fs_perm_init()
4771 fs_perm_fini(fs_perm_t *fsperm) in fs_perm_fini() argument
4773 who_perm_node_t *node = uu_avl_first(fsperm->fsp_sc_avl); in fs_perm_fini()
4775 who_perm_node_t *next_node = uu_avl_next(fsperm->fsp_sc_avl, in fs_perm_fini()
4779 uu_avl_remove(fsperm->fsp_sc_avl, node); in fs_perm_fini()
4784 node = uu_avl_first(fsperm->fsp_uge_avl); in fs_perm_fini()
4786 who_perm_node_t *next_node = uu_avl_next(fsperm->fsp_uge_avl, in fs_perm_fini()
4790 uu_avl_remove(fsperm->fsp_uge_avl, node); in fs_perm_fini()
4795 uu_avl_destroy(fsperm->fsp_sc_avl); in fs_perm_fini()
4796 uu_avl_destroy(fsperm->fsp_uge_avl); in fs_perm_fini()
4858 parse_fs_perm(fs_perm_t *fsperm, nvlist_t *nvl) in parse_fs_perm() argument
4861 fs_perm_set_t *fspset = fsperm->fsp_set; in parse_fs_perm()
4885 avl = fsperm->fsp_sc_avl; in parse_fs_perm()
4894 avl = fsperm->fsp_uge_avl; in parse_fs_perm()
4909 who_perm_init(who_perm, fsperm, perm_type, perm_name); in parse_fs_perm()
4913 if (avl == fsperm->fsp_uge_avl) { in parse_fs_perm()
4968 fs_perm_t *fsperm = NULL; in parse_fs_perm_set() local
4973 fsperm = &node->fspn_fsperm; in parse_fs_perm_set()
4981 fs_perm_init(fsperm, fspset, fsname); in parse_fs_perm_set()
4986 (void) parse_fs_perm(fsperm, nvl2); in parse_fs_perm_set()