Lines Matching refs:KM_SLEEP
7819 dtrace_hash_t *hash = kmem_zalloc(sizeof (dtrace_hash_t), KM_SLEEP); in dtrace_hash_create()
7830 sizeof (dtrace_hashbucket_t *), KM_SLEEP); in dtrace_hash_create()
7867 new_tab = kmem_zalloc(new_size * sizeof (void *), KM_SLEEP); in dtrace_hash_resize()
7907 bucket = kmem_zalloc(sizeof (dtrace_hashbucket_t), KM_SLEEP); in dtrace_hash_add()
8055 s = kmem_zalloc(sizeof(dtrace_string_t) + bufsize, KM_SLEEP); in dtrace_strref()
8691 provider = kmem_zalloc(sizeof (dtrace_provider_t), KM_SLEEP); in dtrace_register()
9086 probes = kmem_zalloc(nsize, KM_SLEEP); in dtrace_probe_create()
9566 meta = kmem_zalloc(sizeof (dtrace_meta_t), KM_SLEEP); in dtrace_meta_register()
10561 tlocals = kmem_zalloc(nsz, KM_SLEEP); in dtrace_difo_init()
10612 statics = kmem_zalloc(newsize, KM_SLEEP); in dtrace_difo_init()
10624 svar = kmem_zalloc(sizeof (dtrace_statvar_t), KM_SLEEP); in dtrace_difo_init()
10629 kmem_zalloc(dsize, KM_SLEEP); in dtrace_difo_init()
10651 new = kmem_zalloc(sizeof (dtrace_difo_t), KM_SLEEP); in dtrace_difo_duplicate()
10655 new->dtdo_buf = kmem_alloc(sz, KM_SLEEP); in dtrace_difo_duplicate()
10661 new->dtdo_strtab = kmem_alloc(dp->dtdo_strlen, KM_SLEEP); in dtrace_difo_duplicate()
10669 new->dtdo_inttab = kmem_alloc(sz, KM_SLEEP); in dtrace_difo_duplicate()
10677 new->dtdo_vartab = kmem_alloc(sz, KM_SLEEP); in dtrace_difo_duplicate()
10784 fmt = kmem_zalloc(sizeof(*fmt) + bufsize, KM_SLEEP); in dtrace_format_new()
10823 new = kmem_alloc((ndx + 1) * sizeof (*state->dts_formats), KM_SLEEP); in dtrace_format_add()
10895 pred = kmem_zalloc(sizeof (dtrace_predicate_t), KM_SLEEP); in dtrace_predicate_create()
10957 act = kmem_zalloc(sizeof (dtrace_actdesc_t), KM_SLEEP); in dtrace_actdesc_create()
11012 ecb = kmem_zalloc(sizeof (dtrace_ecb_t), KM_SLEEP); in dtrace_ecb_add()
11036 ecbs = kmem_zalloc(necbs * sizeof (*ecbs), KM_SLEEP); in dtrace_ecb_add()
11218 agg = kmem_zalloc(sizeof (dtrace_aggregation_t), KM_SLEEP); in dtrace_ecb_aggregation_create()
11367 aggs = kmem_zalloc(naggs * sizeof (*aggs), KM_SLEEP); in dtrace_ecb_aggregation_create()
11616 action = kmem_zalloc(sizeof (dtrace_action_t), KM_SLEEP); in dtrace_ecb_action_add()
12482 enab = kmem_zalloc(sizeof (dtrace_enabling_t), KM_SLEEP); in dtrace_enabling_create()
12520 ndesc = kmem_zalloc(nsize, KM_SLEEP); in dtrace_enabling_add()
12540 new = kmem_zalloc(sizeof (dtrace_ecbdesc_t), KM_SLEEP); in dtrace_enabling_addlike()
12991 dof = kmem_zalloc_aligned(len, 8, KM_SLEEP); in dtrace_dof_create()
13069 dof = kmem_alloc_aligned(hdr.dofh_loadsz, 8, KM_SLEEP); in dtrace_dof_copyin()
13113 dof = kmem_alloc_aligned(hdr.dofh_loadsz, 8, KM_SLEEP); in dtrace_dof_copyin_from_proc()
13144 dof = kmem_alloc_aligned(len, 8, KM_SLEEP); in dtrace_dof_property()
13349 dp = kmem_zalloc(sizeof (dtrace_difo_t), KM_SLEEP); in dtrace_dof_difo()
13403 *bufp = kmem_alloc(subsec->dofs_size, KM_SLEEP); in dtrace_dof_difo()
13563 fmt = kmem_alloc(i + 1, KM_SLEEP); in dtrace_dof_actdesc()
13636 ep = kmem_zalloc(sizeof (dtrace_ecbdesc_t), KM_SLEEP); in dtrace_dof_ecbdesc()
14165 state->dts_buffer = kmem_zalloc(bufsize, KM_SLEEP); in dtrace_state_create()
14166 state->dts_aggbuffer = kmem_zalloc(bufsize, KM_SLEEP); in dtrace_state_create()
14174 state->dts_rstate = kmem_zalloc(NCPU * sizeof(uint64_t*), KM_SLEEP); in dtrace_state_create()
14175 state->dts_rstate[0] = kmem_zalloc(2 * sizeof(uint64_t), KM_SLEEP); in dtrace_state_create()
14178 state->dts_rstate[cpu_it] = kmem_zalloc(2 * sizeof(uint64_t), KM_SLEEP); in dtrace_state_create()
15444 helper = kmem_zalloc(sizeof (dtrace_helper_action_t), KM_SLEEP); in dtrace_helper_action_add()
15464 (helper->dtha_nactions = nactions), KM_SLEEP); in dtrace_helper_action_add()
15575 hprov = kmem_zalloc(sizeof (dtrace_helper_provider_t), KM_SLEEP); in dtrace_helper_provider_add()
15597 sizeof (dtrace_helper_provider_t *), KM_SLEEP); in dtrace_helper_provider_add()
16050 dof_ioctl_data_t* merged_dofs = kmem_alloc(merged_dofs_size, KM_SLEEP); in dtrace_lazy_dofs_add()
16127 removed_dofs = kmem_alloc(removed_dofs_size, KM_SLEEP); in dtrace_lazy_dofs_remove()
16321 child_dofs = kmem_alloc(parent_dofs_size, KM_SLEEP); in dtrace_lazy_dofs_duplicate()
16358 help = kmem_zalloc(sizeof (dtrace_helpers_t), KM_SLEEP); in dtrace_helpers_create()
16360 DTRACE_NHELPER_ACTIONS, KM_SLEEP); in dtrace_helpers_create()
16490 KM_SLEEP); in dtrace_helpers_duplicate()
16500 new->dtha_actions = kmem_alloc(sz, KM_SLEEP); in dtrace_helpers_duplicate()
16528 sizeof (dtrace_helper_provider_t *), KM_SLEEP); in dtrace_helpers_duplicate()
16845 ctl = kmem_alloc(sizeof(struct modctl), KM_SLEEP); in dtrace_module_loaded()
17251 range = kmem_zalloc(nsize, KM_SLEEP); in dtrace_toxrange_add()
17309 KM_SLEEP); in dtrace_attach()
17383 kmem_zalloc(dtrace_helptrace_bufsize, KM_SLEEP); in dtrace_attach()
17710 if ((multi_dof = kmem_alloc(dof_ioctl_data_size, KM_SLEEP)) == NULL) in dtrace_ioctl_helper()
17911 buf = kmem_alloc(size, KM_SLEEP); in dtrace_ioctl()
18002 buf = kmem_alloc(size, KM_SLEEP); in dtrace_ioctl()
18705 if ((uuids_list = kmem_alloc(module_uuids_list_size, KM_SLEEP)) == NULL) in dtrace_ioctl()
18821 if ((module_symbols = kmem_alloc(module_symbols_size, KM_SLEEP)) == NULL) in dtrace_ioctl()
19334 cpu_core = (cpu_core_t *)kmem_zalloc( ncpu * sizeof(cpu_core_t), KM_SLEEP ); in dtrace_init()
19339 cpu_list = (dtrace_cpu_t *)kmem_zalloc( ncpu * sizeof(dtrace_cpu_t), KM_SLEEP ); in dtrace_init()