Lines Matching refs:KM_SLEEP
7796 dtrace_hash_t *hash = kmem_zalloc(sizeof (dtrace_hash_t), KM_SLEEP); in dtrace_hash_create()
7807 sizeof (dtrace_hashbucket_t *), KM_SLEEP); in dtrace_hash_create()
7844 new_tab = kmem_zalloc(new_size * sizeof (void *), KM_SLEEP); in dtrace_hash_resize()
7884 bucket = kmem_zalloc(sizeof (dtrace_hashbucket_t), KM_SLEEP); in dtrace_hash_add()
8032 s = kmem_zalloc(sizeof(dtrace_string_t) + bufsize, KM_SLEEP); in dtrace_strref()
8668 provider = kmem_zalloc(sizeof (dtrace_provider_t), KM_SLEEP); in dtrace_register()
9063 probes = kmem_zalloc(nsize, KM_SLEEP); in dtrace_probe_create()
9543 meta = kmem_zalloc(sizeof (dtrace_meta_t), KM_SLEEP); in dtrace_meta_register()
10538 tlocals = kmem_zalloc(nsz, KM_SLEEP); in dtrace_difo_init()
10589 statics = kmem_zalloc(newsize, KM_SLEEP); in dtrace_difo_init()
10601 svar = kmem_zalloc(sizeof (dtrace_statvar_t), KM_SLEEP); in dtrace_difo_init()
10606 kmem_zalloc(dsize, KM_SLEEP); in dtrace_difo_init()
10628 new = kmem_zalloc(sizeof (dtrace_difo_t), KM_SLEEP); in dtrace_difo_duplicate()
10632 new->dtdo_buf = kmem_alloc(sz, KM_SLEEP); in dtrace_difo_duplicate()
10638 new->dtdo_strtab = kmem_alloc(dp->dtdo_strlen, KM_SLEEP); in dtrace_difo_duplicate()
10646 new->dtdo_inttab = kmem_alloc(sz, KM_SLEEP); in dtrace_difo_duplicate()
10654 new->dtdo_vartab = kmem_alloc(sz, KM_SLEEP); in dtrace_difo_duplicate()
10761 fmt = kmem_zalloc(sizeof(*fmt) + bufsize, KM_SLEEP); in dtrace_format_new()
10800 new = kmem_alloc((ndx + 1) * sizeof (*state->dts_formats), KM_SLEEP); in dtrace_format_add()
10872 pred = kmem_zalloc(sizeof (dtrace_predicate_t), KM_SLEEP); in dtrace_predicate_create()
10934 act = kmem_zalloc(sizeof (dtrace_actdesc_t), KM_SLEEP); in dtrace_actdesc_create()
10989 ecb = kmem_zalloc(sizeof (dtrace_ecb_t), KM_SLEEP); in dtrace_ecb_add()
11013 ecbs = kmem_zalloc(necbs * sizeof (*ecbs), KM_SLEEP); in dtrace_ecb_add()
11195 agg = kmem_zalloc(sizeof (dtrace_aggregation_t), KM_SLEEP); in dtrace_ecb_aggregation_create()
11344 aggs = kmem_zalloc(naggs * sizeof (*aggs), KM_SLEEP); in dtrace_ecb_aggregation_create()
11593 action = kmem_zalloc(sizeof (dtrace_action_t), KM_SLEEP); in dtrace_ecb_action_add()
12459 enab = kmem_zalloc(sizeof (dtrace_enabling_t), KM_SLEEP); in dtrace_enabling_create()
12497 ndesc = kmem_zalloc(nsize, KM_SLEEP); in dtrace_enabling_add()
12517 new = kmem_zalloc(sizeof (dtrace_ecbdesc_t), KM_SLEEP); in dtrace_enabling_addlike()
12968 dof = kmem_zalloc_aligned(len, 8, KM_SLEEP); in dtrace_dof_create()
13046 dof = kmem_alloc_aligned(hdr.dofh_loadsz, 8, KM_SLEEP); in dtrace_dof_copyin()
13090 dof = kmem_alloc_aligned(hdr.dofh_loadsz, 8, KM_SLEEP); in dtrace_dof_copyin_from_proc()
13121 dof = kmem_alloc_aligned(len, 8, KM_SLEEP); in dtrace_dof_property()
13326 dp = kmem_zalloc(sizeof (dtrace_difo_t), KM_SLEEP); in dtrace_dof_difo()
13380 *bufp = kmem_alloc(subsec->dofs_size, KM_SLEEP); in dtrace_dof_difo()
13540 fmt = kmem_alloc(i + 1, KM_SLEEP); in dtrace_dof_actdesc()
13613 ep = kmem_zalloc(sizeof (dtrace_ecbdesc_t), KM_SLEEP); in dtrace_dof_ecbdesc()
14142 state->dts_buffer = kmem_zalloc(bufsize, KM_SLEEP); in dtrace_state_create()
14143 state->dts_aggbuffer = kmem_zalloc(bufsize, KM_SLEEP); in dtrace_state_create()
14151 state->dts_rstate = kmem_zalloc(NCPU * sizeof(uint64_t*), KM_SLEEP); in dtrace_state_create()
14152 state->dts_rstate[0] = kmem_zalloc(2 * sizeof(uint64_t), KM_SLEEP); in dtrace_state_create()
14155 state->dts_rstate[cpu_it] = kmem_zalloc(2 * sizeof(uint64_t), KM_SLEEP); in dtrace_state_create()
15421 helper = kmem_zalloc(sizeof (dtrace_helper_action_t), KM_SLEEP); in dtrace_helper_action_add()
15441 (helper->dtha_nactions = nactions), KM_SLEEP); in dtrace_helper_action_add()
15552 hprov = kmem_zalloc(sizeof (dtrace_helper_provider_t), KM_SLEEP); in dtrace_helper_provider_add()
15574 sizeof (dtrace_helper_provider_t *), KM_SLEEP); in dtrace_helper_provider_add()
16027 dof_ioctl_data_t* merged_dofs = kmem_alloc(merged_dofs_size, KM_SLEEP); in dtrace_lazy_dofs_add()
16104 removed_dofs = kmem_alloc(removed_dofs_size, KM_SLEEP); in dtrace_lazy_dofs_remove()
16298 child_dofs = kmem_alloc(parent_dofs_size, KM_SLEEP); in dtrace_lazy_dofs_duplicate()
16335 help = kmem_zalloc(sizeof (dtrace_helpers_t), KM_SLEEP); in dtrace_helpers_create()
16337 DTRACE_NHELPER_ACTIONS, KM_SLEEP); in dtrace_helpers_create()
16467 KM_SLEEP); in dtrace_helpers_duplicate()
16477 new->dtha_actions = kmem_alloc(sz, KM_SLEEP); in dtrace_helpers_duplicate()
16505 sizeof (dtrace_helper_provider_t *), KM_SLEEP); in dtrace_helpers_duplicate()
16822 ctl = kmem_alloc(sizeof(struct modctl), KM_SLEEP); in dtrace_module_loaded()
17228 range = kmem_zalloc(nsize, KM_SLEEP); in dtrace_toxrange_add()
17286 KM_SLEEP); in dtrace_attach()
17360 kmem_zalloc(dtrace_helptrace_bufsize, KM_SLEEP); in dtrace_attach()
17683 if ((multi_dof = kmem_alloc(dof_ioctl_data_size, KM_SLEEP)) == NULL) in dtrace_ioctl_helper()
17884 buf = kmem_alloc(size, KM_SLEEP); in dtrace_ioctl()
17975 buf = kmem_alloc(size, KM_SLEEP); in dtrace_ioctl()
18678 if ((uuids_list = kmem_alloc(module_uuids_list_size, KM_SLEEP)) == NULL) in dtrace_ioctl()
18794 if ((module_symbols = kmem_alloc(module_symbols_size, KM_SLEEP)) == NULL) in dtrace_ioctl()
19310 cpu_core = (cpu_core_t *)kmem_zalloc( ncpu * sizeof(cpu_core_t), KM_SLEEP ); in dtrace_init()
19315 cpu_list = (dtrace_cpu_t *)kmem_zalloc( ncpu * sizeof(dtrace_cpu_t), KM_SLEEP ); in dtrace_init()