Lines Matching refs:xpd_node
181 struct avc_xperms_decision_node *xpd_node; in avc_xperms_decision_lookup() local
183 list_for_each_entry(xpd_node, &xp_node->xpd_head, xpd_list) { in avc_xperms_decision_lookup()
184 if (xpd_node->xpd.driver == driver && in avc_xperms_decision_lookup()
185 xpd_node->xpd.base_perm == base_perm) in avc_xperms_decision_lookup()
186 return &xpd_node->xpd; in avc_xperms_decision_lookup()
220 static void avc_xperms_decision_free(struct avc_xperms_decision_node *xpd_node) in avc_xperms_decision_free() argument
224 xpd = &xpd_node->xpd; in avc_xperms_decision_free()
231 kmem_cache_free(avc_xperms_decision_cachep, xpd_node); in avc_xperms_decision_free()
236 struct avc_xperms_decision_node *xpd_node, *tmp; in avc_xperms_free() local
241 list_for_each_entry_safe(xpd_node, tmp, &xp_node->xpd_head, xpd_list) { in avc_xperms_free()
242 list_del(&xpd_node->xpd_list); in avc_xperms_free()
243 avc_xperms_decision_free(xpd_node); in avc_xperms_free()
292 struct avc_xperms_decision_node *xpd_node; in avc_xperms_decision_alloc() local
295 xpd_node = kmem_cache_zalloc(avc_xperms_decision_cachep, in avc_xperms_decision_alloc()
297 if (!xpd_node) in avc_xperms_decision_alloc()
300 xpd = &xpd_node->xpd; in avc_xperms_decision_alloc()
319 return xpd_node; in avc_xperms_decision_alloc()
321 avc_xperms_decision_free(xpd_node); in avc_xperms_decision_alloc()