Lines Matching refs:xpd_node
180 struct avc_xperms_decision_node *xpd_node; in avc_xperms_decision_lookup() local
182 list_for_each_entry(xpd_node, &xp_node->xpd_head, xpd_list) { in avc_xperms_decision_lookup()
183 if (xpd_node->xpd.driver == driver) in avc_xperms_decision_lookup()
184 return &xpd_node->xpd; in avc_xperms_decision_lookup()
217 static void avc_xperms_decision_free(struct avc_xperms_decision_node *xpd_node) in avc_xperms_decision_free() argument
221 xpd = &xpd_node->xpd; in avc_xperms_decision_free()
228 kmem_cache_free(avc_xperms_decision_cachep, xpd_node); in avc_xperms_decision_free()
233 struct avc_xperms_decision_node *xpd_node, *tmp; in avc_xperms_free() local
238 list_for_each_entry_safe(xpd_node, tmp, &xp_node->xpd_head, xpd_list) { in avc_xperms_free()
239 list_del(&xpd_node->xpd_list); in avc_xperms_free()
240 avc_xperms_decision_free(xpd_node); in avc_xperms_free()
287 struct avc_xperms_decision_node *xpd_node; in avc_xperms_decision_alloc() local
290 xpd_node = kmem_cache_zalloc(avc_xperms_decision_cachep, in avc_xperms_decision_alloc()
292 if (!xpd_node) in avc_xperms_decision_alloc()
295 xpd = &xpd_node->xpd; in avc_xperms_decision_alloc()
314 return xpd_node; in avc_xperms_decision_alloc()
316 avc_xperms_decision_free(xpd_node); in avc_xperms_decision_alloc()