| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | spa_config.c | 186 temp = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in spa_config_write() 506 ddh = kmem_zalloc(sizeof (ddt_histogram_t), KM_SLEEP); in spa_config_generate() 513 ddo = kmem_zalloc(sizeof (ddt_object_t), KM_SLEEP); in spa_config_generate() 520 dds = kmem_zalloc(sizeof (ddt_stat_t), KM_SLEEP); in spa_config_generate()
|
| H A D | sa.c | 407 tb = kmem_zalloc(sizeof (sa_lot_t), KM_SLEEP); in sa_add_layout_entry() 840 kmem_zalloc(count * sizeof (sa_attr_type_t), KM_SLEEP); in sa_attr_table_setup() 899 kmem_zalloc(sizeof (sa_attr_table_t) * sa_attr_count, KM_SLEEP); in sa_attr_table_setup() 924 kmem_zalloc(strlen(za.za_name) +1, KM_SLEEP); in sa_attr_table_setup() 949 kmem_zalloc(strlen(sa_legacy_attrs[i].sa_name) +1, in sa_attr_table_setup() 968 kmem_zalloc(strlen(reg_attrs[i].sa_name) + 1, KM_SLEEP); in sa_attr_table_setup() 1005 sa = kmem_zalloc(sizeof (sa_os_t), KM_SLEEP); in sa_setup() 1052 lot_attrs = kmem_zalloc(sizeof (sa_attr_type_t) * in sa_setup() 1537 idx_tab = kmem_zalloc(sizeof (sa_idx_tab_t), KM_SLEEP); in sa_find_idx_tab() 1539 kmem_zalloc(sizeof (uint32_t) * sa->sa_num_attrs, KM_SLEEP); in sa_find_idx_tab() [all …]
|
| H A D | skein_zfs.c | 88 ctx = kmem_zalloc(sizeof (*ctx), KM_SLEEP); in abd_checksum_skein_tmpl_init()
|
| H A D | edonr_zfs.c | 101 ctx = kmem_zalloc(sizeof (*ctx), KM_SLEEP); in abd_checksum_edonr_tmpl_init()
|
| H A D | zfs_fm.c | 523 zfs_ecksum_info_t *eip = kmem_zalloc(sizeof (*eip), KM_SLEEP); in annotate_ecksum() 694 zio_cksum_report_t *report = kmem_zalloc(sizeof (*report), KM_SLEEP); in zfs_ereport_start_checksum() 703 report->zcr_ckinfo = kmem_zalloc(sizeof (*info), KM_SLEEP); in zfs_ereport_start_checksum()
|
| H A D | vdev_disk.c | 73 dvd = vd->vdev_tsd = kmem_zalloc(sizeof (vdev_disk_t), KM_SLEEP); in vdev_disk_alloc() 521 lcb = kmem_zalloc(sizeof (vdev_disk_ldi_cb_t), KM_SLEEP); in vdev_disk_open() 532 lcb = kmem_zalloc(sizeof (vdev_disk_ldi_cb_t), KM_SLEEP); in vdev_disk_open()
|
| H A D | zthr.c | 228 zthr_t *t = kmem_zalloc(sizeof (*t), KM_SLEEP); in zthr_create_timer()
|
| H A D | zfs_onexit.c | 78 zo = *zop = kmem_zalloc(sizeof (zfs_onexit_t), KM_SLEEP); in zfs_onexit_init()
|
| H A D | spa_misc.c | 699 spa = kmem_zalloc(sizeof (spa_t), KM_SLEEP); in spa_add() 787 spa->spa_alloc_locks = kmem_zalloc(spa->spa_alloc_count * in spa_add() 789 spa->spa_alloc_trees = kmem_zalloc(spa->spa_alloc_count * in spa_add() 803 dp = kmem_zalloc(sizeof (spa_config_dirent_t), KM_SLEEP); in spa_add() 1043 aux = kmem_zalloc(sizeof (spa_aux_t), KM_SLEEP); in spa_aux_add()
|
| H A D | metaslab.c | 298 mc = kmem_zalloc(sizeof (metaslab_class_t), KM_SLEEP); in metaslab_class_create() 304 mc->mc_alloc_slots = kmem_zalloc(spa->spa_alloc_count * in metaslab_class_create() 306 mc->mc_alloc_max_slots = kmem_zalloc(spa->spa_alloc_count * in metaslab_class_create() 430 mc_hist = kmem_zalloc(sizeof (uint64_t) * RANGE_TREE_HISTOGRAM_SIZE, in metaslab_class_histogram_verify() 722 mg = kmem_zalloc(sizeof (metaslab_group_t), KM_SLEEP); in metaslab_group_create() 726 mg->mg_primaries = kmem_zalloc(allocators * sizeof (metaslab_t *), in metaslab_group_create() 728 mg->mg_secondaries = kmem_zalloc(allocators * sizeof (metaslab_t *), in metaslab_group_create() 739 mg->mg_alloc_queue_depth = kmem_zalloc(allocators * sizeof (refcount_t), in metaslab_group_create() 741 mg->mg_cur_max_alloc_queue_depth = kmem_zalloc(allocators * in metaslab_group_create() 922 mg_hist = kmem_zalloc(sizeof (uint64_t) * RANGE_TREE_HISTOGRAM_SIZE, in metaslab_group_histogram_verify() [all …]
|
| H A D | vdev_indirect_births.c | 99 vdev_indirect_births_t *vib = kmem_zalloc(sizeof (*vib), KM_SLEEP); in vdev_indirect_births_open()
|
| H A D | dsl_synctask.c | 158 dsl_sync_task_t *dst = kmem_zalloc(sizeof (*dst), KM_SLEEP); in dsl_sync_task_nowait_common()
|
| H A D | aggsum.c | 89 as->as_buckets = kmem_zalloc(boot_ncpus * sizeof (aggsum_bucket_t), in aggsum_init()
|
| H A D | dmu_send.c | 574 record = kmem_zalloc(sizeof (struct send_block_record), KM_SLEEP); in send_cb() 607 data = kmem_zalloc(sizeof (*data), KM_SLEEP); in send_traverse_thread() 813 drr = kmem_zalloc(sizeof (dmu_replay_record_t), KM_SLEEP); in dmu_send_impl() 881 dsp = kmem_zalloc(sizeof (dmu_sendarg_t), KM_SLEEP); in dmu_send_impl() 2582 ra->next_rrd = kmem_zalloc(sizeof (*ra->next_rrd), KM_SLEEP); in receive_read_payload_and_next_header() 2677 struct receive_objnode *node = kmem_zalloc(sizeof (*node), KM_SLEEP); in objlist_insert() 2728 void *buf = kmem_zalloc(size, KM_SLEEP); in receive_read_record() 2796 void *buf = kmem_zalloc(size, KM_SLEEP); in receive_read_record() 2827 void *buf = kmem_zalloc(drrs->drr_length, KM_SLEEP); in receive_read_record() 3130 ra.next_rrd = kmem_zalloc(sizeof (*ra.next_rrd), KM_SLEEP); in dmu_recv_stream()
|
| H A D | vdev_file.c | 97 vf = vd->vdev_tsd = kmem_zalloc(sizeof (vdev_file_t), KM_SLEEP); in vdev_file_open()
|
| H A D | multilist.c | 82 ml->ml_sublists = kmem_zalloc(sizeof (multilist_sublist_t) * in multilist_create_impl()
|
| H A D | dmu_zfetch.c | 204 zstream_t *zs = kmem_zalloc(sizeof (*zs), KM_SLEEP); in dmu_zfetch_stream_create()
|
| H A D | vdev_initialize.c | 117 uint64_t *guid = kmem_zalloc(sizeof (uint64_t), KM_SLEEP); in vdev_initialize_change_state() 213 uint64_t *guid = kmem_zalloc(sizeof (uint64_t), KM_SLEEP); in vdev_initialize_write()
|
| /freebsd-12.1/sys/cddl/dev/profile/ |
| H A D | profile.c | 339 prof = kmem_zalloc(sizeof (profile_probe_t), KM_SLEEP); in profile_create() 511 pcpu = kmem_zalloc(sizeof (profile_probe_percpu_t), KM_SLEEP); in profile_online() 587 prof->prof_pcpus = kmem_zalloc((mp_maxid + 1) * sizeof(pcpu), KM_SLEEP); in profile_enable_omni() 589 pcpu = kmem_zalloc(sizeof(profile_probe_percpu_t), KM_SLEEP); in profile_enable_omni()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
| H A D | fasttrap.c | 1479 new_fprc = kmem_zalloc(sizeof (fasttrap_proc_t), KM_SLEEP); in fasttrap_proc_lookup() 1659 new_fp = kmem_zalloc(sizeof (fasttrap_provider_t), KM_SLEEP); in fasttrap_provider_lookup() 1915 pp = kmem_zalloc(sizeof (fasttrap_probe_t), KM_SLEEP); in fasttrap_add_probe() 1923 tp = kmem_zalloc(sizeof (fasttrap_tracepoint_t), in fasttrap_add_probe() 1964 pp = kmem_zalloc(offsetof(fasttrap_probe_t, in fasttrap_add_probe() 1974 tp = kmem_zalloc(sizeof (fasttrap_tracepoint_t), in fasttrap_add_probe() 2158 tp = kmem_zalloc(sizeof (fasttrap_tracepoint_t), KM_SLEEP); in fasttrap_meta_create_probe() 2177 tp = kmem_zalloc(sizeof (fasttrap_tracepoint_t), KM_SLEEP); in fasttrap_meta_create_probe() 2433 fasttrap_tpoints.fth_table = kmem_zalloc(fasttrap_tpoints.fth_nent * in fasttrap_load() 2451 fasttrap_provs.fth_table = kmem_zalloc(fasttrap_provs.fth_nent * in fasttrap_load() [all …]
|
| H A D | dtrace.c | 9160 probes = kmem_zalloc(nsize, KM_SLEEP); 10628 tlocals = kmem_zalloc(nsz, KM_SLEEP); 10696 kmem_zalloc(dsize, KM_SLEEP); 10852 fmt = kmem_zalloc(len, KM_SLEEP); 12128 if ((buf->dtb_tomax = kmem_zalloc(size, 12140 if ((buf->dtb_xamot = kmem_zalloc(size, 12208 if ((buf->dtb_tomax = kmem_zalloc(size, 12660 ndesc = kmem_zalloc(nsize, KM_SLEEP); 13192 dof = kmem_zalloc(len, KM_SLEEP); 14988 if ((buf = kmem_zalloc(bufsize, [all …]
|
| /freebsd-12.1/sys/cddl/compat/opensolaris/sys/ |
| H A D | kmem.h | 87 #define kmem_zalloc(size, kmflags) zfs_kmem_alloc((size), (kmflags) | M_ZERO) macro
|
| /freebsd-12.1/sys/cddl/compat/opensolaris/kern/ |
| H A D | opensolaris_sunddi.c | 122 itemp->ssi_data = kmem_zalloc(ss->ss_size, KM_SLEEP); in ddi_soft_state_zalloc()
|
| H A D | opensolaris_kmem.c | 271 return (kmem_zalloc(n * s, KM_NOSLEEP)); in calloc()
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/os/ |
| H A D | fm.c | 558 return (kmem_zalloc(size, KM_SLEEP)); in i_fm_alloc() 584 nv_alloc_t *nvhdl = kmem_zalloc(sizeof (nv_alloc_t), KM_SLEEP); in fm_nva_xcreate() 626 nvhdl = kmem_zalloc(sizeof (nv_alloc_t), KM_SLEEP); in fm_nvlist_create()
|