Searched refs:nctx_ptrs (Results 1 – 1 of 1) sorted by relevance
1900 int nctx_ptrs; in kcpc_cpu_ctx_create() local1913 nctx_ptrs = (nreqs + cpc_ncounters - 1) / cpc_ncounters; in kcpc_cpu_ctx_create()1914 ctx_ptrs = kmem_zalloc(nctx_ptrs * sizeof (kcpc_ctx_t *), kmem_flags); in kcpc_cpu_ctx_create()2022 if (nctx >= nctx_ptrs) { in kcpc_cpu_ctx_create()2031 new_cnt = nctx_ptrs + in kcpc_cpu_ctx_create()2042 nctx_ptrs * sizeof (kcpc_ctx_t *)); in kcpc_cpu_ctx_create()2048 kmem_free(ctx_ptrs, nctx_ptrs * sizeof (kcpc_ctx_t *)); in kcpc_cpu_ctx_create()2050 nctx_ptrs = new_cnt; in kcpc_cpu_ctx_create()2058 kmem_free(ctx_ptrs, nctx_ptrs * sizeof (kcpc_ctx_t *)); in kcpc_cpu_ctx_create()2065 *ctx_ptr_array_sz = nctx_ptrs * sizeof (kcpc_ctx_t *); in kcpc_cpu_ctx_create()