Searched refs:type_attr_map_array (Results 1 – 3 of 3) sorted by relevance
300 struct ebitmap *type_attr_map_array; member
849 if (p->type_attr_map_array) { in policydb_destroy()851 ebitmap_destroy(&p->type_attr_map_array[i]); in policydb_destroy()852 kvfree(p->type_attr_map_array); in policydb_destroy()2681 p->type_attr_map_array = kvcalloc(p->p_types.nprim, in policydb_read()2682 sizeof(*p->type_attr_map_array), in policydb_read()2684 if (!p->type_attr_map_array) in policydb_read()2689 ebitmap_init(&p->type_attr_map_array[i]); in policydb_read()2692 struct ebitmap *e = &p->type_attr_map_array[i]; in policydb_read()3733 struct ebitmap *e = &p->type_attr_map_array[i]; in policydb_write()
649 sattr = &policydb->type_attr_map_array[scontext->type - 1]; in context_struct_compute_av()650 tattr = &policydb->type_attr_map_array[tcontext->type - 1]; in context_struct_compute_av()1060 sattr = &policydb->type_attr_map_array[scontext->type - 1]; in security_compute_xperms_decision()1061 tattr = &policydb->type_attr_map_array[tcontext->type - 1]; in security_compute_xperms_decision()