Searched refs:ra (Results 1 – 2 of 2) sorted by relevance
767 struct role_allow *ra, *lra = NULL; in policydb_destroy() local822 for (ra = p->role_allow; ra; ra = ra->next) { in policydb_destroy()825 lra = ra; in policydb_destroy()2261 struct role_allow *ra, *lra; in policydb_read() local2466 ra = kzalloc(sizeof(*ra), GFP_KERNEL); in policydb_read()2467 if (!ra) in policydb_read()2470 lra->next = ra; in policydb_read()2472 p->role_allow = ra; in policydb_read()2478 ra->role = le32_to_cpu(buf[0]); in policydb_read()2479 ra->new_role = le32_to_cpu(buf[1]); in policydb_read()[all …]
621 struct role_allow *ra; in context_struct_compute_av() local700 for (ra = policydb->role_allow; ra; ra = ra->next) { in context_struct_compute_av()701 if (scontext->role == ra->role && in context_struct_compute_av()702 tcontext->role == ra->new_role) in context_struct_compute_av()705 if (!ra) in context_struct_compute_av()