Searched refs:cks (Results 1 – 1 of 1) sorted by relevance
841 kcpc_set_t *ks = ctx->kc_set, *cks; in kcpc_ctx_clone() local850 cks = kmem_zalloc(sizeof (*cks), KM_SLEEP); in kcpc_ctx_clone()851 cks->ks_state &= ~KCPC_SET_BOUND; in kcpc_ctx_clone()852 cctx->kc_set = cks; in kcpc_ctx_clone()853 cks->ks_flags = ks->ks_flags; in kcpc_ctx_clone()854 cks->ks_nreqs = ks->ks_nreqs; in kcpc_ctx_clone()855 cks->ks_req = kmem_alloc(cks->ks_nreqs * in kcpc_ctx_clone()857 cks->ks_data = kmem_alloc(cks->ks_nreqs * sizeof (uint64_t), in kcpc_ctx_clone()859 cks->ks_ctx = cctx; in kcpc_ctx_clone()861 for (i = 0; i < cks->ks_nreqs; i++) { in kcpc_ctx_clone()[all …]