Home
last modified time | relevance | path

Searched refs:cpu_ctx (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dcap_util.c608 cu_cpc_ctx_t *cpu_ctx; in cu_cpc_program() local
664 cpu_ctx = &cu_cpu_info->cu_cpc_ctx; in cu_cpc_program()
665 ASSERT(cpu_ctx != NULL); in cu_cpc_program()
666 ASSERT(cpu_ctx->nctx >= 0); in cu_cpc_program()
668 ASSERT(cpu_ctx->ctx_ptr_array == NULL || cpu_ctx->ctx_ptr_array_sz > 0); in cu_cpc_program()
669 ASSERT(cpu_ctx->nctx <= cpu_ctx->ctx_ptr_array_sz); in cu_cpc_program()
670 if (cpu_ctx->nctx <= 0 || cpu_ctx->ctx_ptr_array == NULL || in cu_cpc_program()
671 cpu_ctx->ctx_ptr_array_sz <= 0) { in cu_cpc_program()
685 cpu_ctx->cur_index = (cpu_ctx->cur_index + 1) % cpu_ctx->nctx; in cu_cpc_program()
687 ctx = cpu_ctx->ctx_ptr_array[cpu_ctx->cur_index]; in cu_cpc_program()
[all …]