Searched refs:ncontext (Results 1 – 2 of 2) sorted by relevance
/external/igt-gpu-tools/tests/i915/ |
D | gem_exec_balancer.c | 1168 unsigned int ncontext = 0; in smoketest() local 1184 ncontext += 128; in smoketest() 1185 contexts = realloc(contexts, sizeof(*contexts) * ncontext); in smoketest() 1188 for (unsigned int n = ncontext - 128; n < ncontext; n++) { in smoketest() 1195 igt_debug("Created %d virtual engines (one per context)\n", ncontext); in smoketest() 1196 igt_require(ncontext); in smoketest() 1198 contexts = realloc(contexts, sizeof(*contexts) * ncontext * 4); in smoketest() 1200 memcpy(contexts + ncontext, contexts, ncontext * sizeof(*contexts)); in smoketest() 1201 ncontext *= 2; in smoketest() 1202 memcpy(contexts + ncontext, contexts, ncontext * sizeof(*contexts)); in smoketest() [all …]
|
/external/selinux/libsepol/src/ |
D | services.c | 1022 context_struct_t *ncontext; in sepol_validate_transition() local 1039 ncontext = sepol_sidtab_search(sidtab, newsid); in sepol_validate_transition() 1040 if (!ncontext) { in sepol_validate_transition() 1053 if (!constraint_expr_eval_reason(ocontext, ncontext, tcontext, in sepol_validate_transition() 1075 context_struct_t *ncontext; in sepol_validate_transition_reason_buffer() local 1092 ncontext = sepol_sidtab_search(sidtab, newsid); in sepol_validate_transition_reason_buffer() 1093 if (!ncontext) { in sepol_validate_transition_reason_buffer() 1116 if (!constraint_expr_eval_reason(ocontext, ncontext, tcontext, in sepol_validate_transition_reason_buffer()
|