Searched refs:cur_perm (Results 1 – 3 of 3) sorted by relevance
1253 class_perm_node_t *cur_perm, *new_perm, *tail_perm = NULL; in copy_avrule_list() local1276 cur_perm = cur->perms; in copy_avrule_list()1278 while (cur_perm) { in copy_avrule_list()1286 module->map[SYM_CLASSES][cur_perm->tclass - 1]; in copy_avrule_list()1292 module->perm_map_len[cur_perm->tclass - 1]; in copy_avrule_list()1294 if (!(cur_perm->data & (UINT32_C(1) << i))) in copy_avrule_list()1299 perm_map[cur_perm->tclass - 1][i] - in copy_avrule_list()1304 module->map[SYM_TYPES][cur_perm->data - 1]; in copy_avrule_list()1314 cur_perm = cur_perm->next; in copy_avrule_list()
2615 class_perm_node_t *cur_perm, *new_perm, *tail_perm; in copy_neverallow() local2649 cur_perm = source_rule->perms; in copy_neverallow()2651 while (cur_perm) { in copy_neverallow()2657 new_perm->tclass = cur_perm->tclass; in copy_neverallow()2661 new_perm->data = cur_perm->data; in copy_neverallow()2669 cur_perm = cur_perm->next; in copy_neverallow()2700 cur_perm = avrule->perms; in copy_neverallow()2701 while (cur_perm) { in copy_neverallow()2702 tail_perm = cur_perm->next; in copy_neverallow()2703 free(cur_perm); in copy_neverallow()[all …]
210 std::vector<int> cur_perm; in PostTransposeFusion() local211 if (GetTransposePerm(cnode, &cur_perm) != lite::RET_OK) { in PostTransposeFusion()226 …if ((cur_perm == kNH2NC && post_trans_perm == kNC2NH) || (cur_perm == kNC2NH && post_trans_perm ==… in PostTransposeFusion()