Lines Matching refs:kmem_flags
84 int set_flags, int kmem_flags);
811 kcpc_ctx_alloc(int kmem_flags) in kcpc_ctx_alloc() argument
816 ctx = (kcpc_ctx_t *)kmem_zalloc(sizeof (kcpc_ctx_t), kmem_flags); in kcpc_ctx_alloc()
1868 kcpc_cpu_ctx_create(cpu_t *cp, kcpc_request_list_t *req_list, int kmem_flags, in kcpc_cpu_ctx_create() argument
1887 ctx_ptrs = kmem_zalloc(nctx_ptrs * sizeof (kcpc_ctx_t *), kmem_flags); in kcpc_cpu_ctx_create()
1904 ctx = kcpc_ctx_alloc(kmem_flags); in kcpc_cpu_ctx_create()
1905 set = kcpc_set_create(reqs, nreqs, 0, kmem_flags); in kcpc_cpu_ctx_create()
1925 set = kcpc_set_create(reqs, 1, 0, kmem_flags); in kcpc_cpu_ctx_create()
1948 kmem_flags); in kcpc_cpu_ctx_create()
2007 kmem_flags); in kcpc_cpu_ctx_create()
2249 kcpc_reqs_init(int nreqs, int kmem_flags) in kcpc_reqs_init() argument
2257 req_list = kmem_zalloc(sizeof (kcpc_request_list_t), kmem_flags); in kcpc_reqs_init()
2261 reqs = kmem_zalloc(nreqs * sizeof (kcpc_request_t), kmem_flags); in kcpc_reqs_init()
2279 uint_t flags, uint_t nattrs, kcpc_attr_t *attr, void *ptr, int kmem_flags) in kcpc_reqs_add() argument
2297 cpc_ncounters) * sizeof (kcpc_request_t), kmem_flags); in kcpc_reqs_add()
2373 kcpc_set_create(kcpc_request_t *reqs, int nreqs, int set_flags, int kmem_flags) in kcpc_set_create() argument
2381 set = kmem_zalloc(sizeof (kcpc_set_t), kmem_flags); in kcpc_set_create()
2398 set->ks_nreqs, kmem_flags); in kcpc_set_create()