Lines Matching refs:xpd_node
188 struct avc_xperms_decision_node *xpd_node; in avc_xperms_decision_lookup() local
190 list_for_each_entry(xpd_node, &xp_node->xpd_head, xpd_list) { in avc_xperms_decision_lookup()
191 if (xpd_node->xpd.driver == driver) in avc_xperms_decision_lookup()
192 return &xpd_node->xpd; in avc_xperms_decision_lookup()
225 static void avc_xperms_decision_free(struct avc_xperms_decision_node *xpd_node) in avc_xperms_decision_free() argument
229 xpd = &xpd_node->xpd; in avc_xperms_decision_free()
236 kmem_cache_free(avc_xperms_decision_cachep, xpd_node); in avc_xperms_decision_free()
241 struct avc_xperms_decision_node *xpd_node, *tmp; in avc_xperms_free() local
246 list_for_each_entry_safe(xpd_node, tmp, &xp_node->xpd_head, xpd_list) { in avc_xperms_free()
247 list_del(&xpd_node->xpd_list); in avc_xperms_free()
248 avc_xperms_decision_free(xpd_node); in avc_xperms_free()
295 struct avc_xperms_decision_node *xpd_node; in avc_xperms_decision_alloc() local
298 xpd_node = kmem_cache_zalloc(avc_xperms_decision_cachep, in avc_xperms_decision_alloc()
300 if (!xpd_node) in avc_xperms_decision_alloc()
303 xpd = &xpd_node->xpd; in avc_xperms_decision_alloc()
322 return xpd_node; in avc_xperms_decision_alloc()
324 avc_xperms_decision_free(xpd_node); in avc_xperms_decision_alloc()