Lines Matching refs:xpd_node
190 struct avc_xperms_decision_node *xpd_node; in avc_xperms_decision_lookup() local
192 list_for_each_entry(xpd_node, &xp_node->xpd_head, xpd_list) { in avc_xperms_decision_lookup()
193 if (xpd_node->xpd.driver == driver) in avc_xperms_decision_lookup()
194 return &xpd_node->xpd; in avc_xperms_decision_lookup()
227 static void avc_xperms_decision_free(struct avc_xperms_decision_node *xpd_node) in avc_xperms_decision_free() argument
231 xpd = &xpd_node->xpd; in avc_xperms_decision_free()
238 kmem_cache_free(avc_xperms_decision_cachep, xpd_node); in avc_xperms_decision_free()
243 struct avc_xperms_decision_node *xpd_node, *tmp; in avc_xperms_free() local
248 list_for_each_entry_safe(xpd_node, tmp, &xp_node->xpd_head, xpd_list) { in avc_xperms_free()
249 list_del(&xpd_node->xpd_list); in avc_xperms_free()
250 avc_xperms_decision_free(xpd_node); in avc_xperms_free()
297 struct avc_xperms_decision_node *xpd_node; in avc_xperms_decision_alloc() local
300 xpd_node = kmem_cache_zalloc(avc_xperms_decision_cachep, in avc_xperms_decision_alloc()
302 if (!xpd_node) in avc_xperms_decision_alloc()
305 xpd = &xpd_node->xpd; in avc_xperms_decision_alloc()
324 return xpd_node; in avc_xperms_decision_alloc()
326 avc_xperms_decision_free(xpd_node); in avc_xperms_decision_alloc()