Searched refs:nctx_ptrs (Results 1 – 1 of 1) sorted by relevance
1873 int nctx_ptrs; in kcpc_cpu_ctx_create() local1886 nctx_ptrs = (nreqs + cpc_ncounters - 1) / cpc_ncounters; in kcpc_cpu_ctx_create()1887 ctx_ptrs = kmem_zalloc(nctx_ptrs * sizeof (kcpc_ctx_t *), kmem_flags); in kcpc_cpu_ctx_create()1995 if (nctx >= nctx_ptrs) { in kcpc_cpu_ctx_create()2004 new_cnt = nctx_ptrs + in kcpc_cpu_ctx_create()2015 nctx_ptrs * sizeof (kcpc_ctx_t *)); in kcpc_cpu_ctx_create()2021 kmem_free(ctx_ptrs, nctx_ptrs * sizeof (kcpc_ctx_t *)); in kcpc_cpu_ctx_create()2023 nctx_ptrs = new_cnt; in kcpc_cpu_ctx_create()2031 kmem_free(ctx_ptrs, nctx_ptrs * sizeof (kcpc_ctx_t *)); in kcpc_cpu_ctx_create()2038 *ctx_ptr_array_sz = nctx_ptrs * sizeof (kcpc_ctx_t *); in kcpc_cpu_ctx_create()