Lines Matching refs:kmem_flags
87 int set_flags, int kmem_flags);
813 kcpc_ctx_alloc(int kmem_flags) in kcpc_ctx_alloc() argument
818 ctx = (kcpc_ctx_t *)kmem_zalloc(sizeof (kcpc_ctx_t), kmem_flags); in kcpc_ctx_alloc()
1895 kcpc_cpu_ctx_create(cpu_t *cp, kcpc_request_list_t *req_list, int kmem_flags, in kcpc_cpu_ctx_create() argument
1914 ctx_ptrs = kmem_zalloc(nctx_ptrs * sizeof (kcpc_ctx_t *), kmem_flags); in kcpc_cpu_ctx_create()
1931 ctx = kcpc_ctx_alloc(kmem_flags); in kcpc_cpu_ctx_create()
1932 set = kcpc_set_create(reqs, nreqs, 0, kmem_flags); in kcpc_cpu_ctx_create()
1952 set = kcpc_set_create(reqs, 1, 0, kmem_flags); in kcpc_cpu_ctx_create()
1975 kmem_flags); in kcpc_cpu_ctx_create()
2034 kmem_flags); in kcpc_cpu_ctx_create()
2276 kcpc_reqs_init(int nreqs, int kmem_flags) in kcpc_reqs_init() argument
2284 req_list = kmem_zalloc(sizeof (kcpc_request_list_t), kmem_flags); in kcpc_reqs_init()
2288 reqs = kmem_zalloc(nreqs * sizeof (kcpc_request_t), kmem_flags); in kcpc_reqs_init()
2306 uint_t flags, uint_t nattrs, kcpc_attr_t *attr, void *ptr, int kmem_flags) in kcpc_reqs_add() argument
2324 cpc_ncounters) * sizeof (kcpc_request_t), kmem_flags); in kcpc_reqs_add()
2400 kcpc_set_create(kcpc_request_t *reqs, int nreqs, int set_flags, int kmem_flags) in kcpc_set_create() argument
2408 set = kmem_zalloc(sizeof (kcpc_set_t), kmem_flags); in kcpc_set_create()
2425 set->ks_nreqs, kmem_flags); in kcpc_set_create()