Lines Matching defs:tr
2347 struct role_trans *tr = NULL;
2436 for (tr = policydbp->role_tr; tr;
2437 tr = tr->next) {
2438 if (tr->role == (i + 1) &&
2439 tr->type == (j + 1) &&
2440 tr->tclass == (k + 1)) {
2451 tr = malloc(sizeof(struct role_trans));
2452 if (!tr) {
2456 memset(tr, 0, sizeof(struct role_trans));
2457 tr->role = i + 1;
2458 tr->type = j + 1;
2459 tr->tclass = k + 1;
2460 tr->new_role = role->s.value;
2461 tr->next = policydbp->role_tr;
2462 policydbp->role_tr = tr;