Home
last modified time | relevance | path

Searched refs:kmem_zalloc (Results 1 – 25 of 122) sorted by relevance

12345

/freebsd-14.2/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dsid.h46 kd = kmem_zalloc(sizeof (ksiddomain_t), KM_SLEEP); in ksid_lookupdomain()
47 kd->kd_name = kmem_zalloc(len + 1, KM_SLEEP); in ksid_lookupdomain()
H A Dkmem.h185 #define kmem_zalloc(sz, fl) spl_kmem_zalloc((sz), (fl), __func__, __LINE__) macro
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-shrinker.c60 shrinker = kmem_zalloc(sizeof (struct shrinker), KM_SLEEP); in spl_register_shrinker()
64 kmem_zalloc(sizeof (struct spl_shrinker_wrap), KM_SLEEP); in spl_register_shrinker()
/freebsd-14.2/sys/contrib/openzfs/module/zfs/
H A Ddmu_redact.c213 struct objnode *obj = kmem_zalloc(sizeof (*obj), KM_SLEEP); in zfs_get_deleteq()
287 record = kmem_zalloc(sizeof (struct redact_record), in redact_cb()
319 record = kmem_zalloc(sizeof (struct redact_record), KM_SLEEP); in redact_cb()
376 data = kmem_zalloc(sizeof (*data), KM_SLEEP); in redact_traverse_thread()
740 record = kmem_zalloc(sizeof (struct redact_record), in perform_thread_merge()
749 redact_nodes = kmem_zalloc(num_threads * in perform_thread_merge()
790 record = kmem_zalloc(sizeof (struct redact_record), in perform_thread_merge()
844 struct redact_record *rec = kmem_zalloc(sizeof (*rec), KM_SLEEP); in redact_merge_thread()
1014 newredactbook = kmem_zalloc(sizeof (char) * ZFS_MAX_DATASET_NAME_LEN, in dmu_redact_snap()
1033 args = kmem_zalloc(numsnaps * sizeof (*args), KM_SLEEP); in dmu_redact_snap()
[all …]
H A Dspa_errlog.c214 new = kmem_zalloc(sizeof (spa_error_entry_t), KM_SLEEP); in spa_log_error()
376 uint64_t *snap_obj_array = kmem_zalloc(snap_count * sizeof (uint64_t), in check_filesystem()
435 zc = kmem_zalloc(sizeof (zap_cursor_t), KM_SLEEP); in check_filesystem()
436 za = kmem_zalloc(sizeof (zap_attribute_t), KM_SLEEP); in check_filesystem()
464 clones_t *ct = kmem_zalloc(sizeof (*ct), KM_SLEEP); in check_filesystem()
604 new = kmem_zalloc(sizeof (spa_error_entry_t), KM_SLEEP); in spa_add_healed_error()
656 new = kmem_zalloc(sizeof (spa_error_entry_t), KM_SLEEP); in spa_add_healed_error()
964 zc = kmem_zalloc(sizeof (zap_cursor_t), KM_SLEEP); in process_error_log()
965 za = kmem_zalloc(sizeof (zap_attribute_t), KM_SLEEP); in process_error_log()
1002 head_ds_cursor = kmem_zalloc(sizeof (zap_cursor_t), KM_SLEEP); in process_error_log()
[all …]
H A Dspa_config.c210 temp = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in spa_config_write()
532 ddh = kmem_zalloc(sizeof (ddt_histogram_t), KM_SLEEP); in spa_config_generate()
539 ddo = kmem_zalloc(sizeof (ddt_object_t), KM_SLEEP); in spa_config_generate()
546 dds = kmem_zalloc(sizeof (ddt_stat_t), KM_SLEEP); in spa_config_generate()
H A Dsa.c413 tb = kmem_zalloc(sizeof (sa_lot_t), KM_SLEEP); in sa_add_layout_entry()
848 kmem_zalloc(count * sizeof (sa_attr_type_t), KM_SLEEP); in sa_attr_table_setup()
932 kmem_zalloc(strlen(za.za_name) +1, KM_SLEEP); in sa_attr_table_setup()
957 kmem_zalloc(strlen(sa_legacy_attrs[i].sa_name) +1, in sa_attr_table_setup()
976 kmem_zalloc(strlen(reg_attrs[i].sa_name) + 1, KM_SLEEP); in sa_attr_table_setup()
1014 sa = kmem_zalloc(sizeof (sa_os_t), KM_SLEEP); in sa_setup()
1061 lot_attrs = kmem_zalloc(sizeof (sa_attr_type_t) * in sa_setup()
1555 bulk = kmem_zalloc(sizeof (sa_bulk_attr_t) * ZPL_END, KM_SLEEP); in sa_add_projid()
1556 attrs = kmem_zalloc(sizeof (sa_bulk_attr_t) * ZPL_END, KM_SLEEP); in sa_add_projid()
1747 idx_tab = kmem_zalloc(sizeof (sa_idx_tab_t), KM_SLEEP); in sa_find_idx_tab()
[all …]
H A Dskein_zfs.c82 Skein_512_Ctxt_t *ctx = kmem_zalloc(sizeof (*ctx), KM_SLEEP); in abd_checksum_skein_tmpl_init()
H A Dobjlist.c75 objlist_node_t *node = kmem_zalloc(sizeof (*node), KM_SLEEP); in objlist_insert()
H A Dblake3_zfs.c103 ctx = kmem_zalloc(sizeof (*ctx), KM_SLEEP); in abd_checksum_blake3_tmpl_init()
H A Dedonr_zfs.c100 ctx = kmem_zalloc(sizeof (*ctx), KM_SLEEP); in abd_checksum_edonr_tmpl_init()
H A Dzfs_onexit.c78 zo = *zop = kmem_zalloc(sizeof (zfs_onexit_t), KM_SLEEP); in zfs_onexit_init()
H A Dlzjb.c61 lempel = kmem_zalloc(LEMPEL_SIZE * sizeof (uint16_t), KM_SLEEP); in lzjb_compress()
H A Dfm.c123 ev = kmem_zalloc(sizeof (zevent_t), KM_SLEEP); in zfs_zevent_alloc()
465 ze = *zep = kmem_zalloc(sizeof (zfs_zevent_t), KM_SLEEP); in zfs_zevent_init()
514 nv_alloc_t *nvhdl = kmem_zalloc(sizeof (nv_alloc_t), KM_SLEEP); in fm_nva_xcreate()
556 nvhdl = kmem_zalloc(sizeof (nv_alloc_t), KM_SLEEP); in fm_nvlist_create()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_inode.c155 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_create()
212 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_mknod()
268 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_tmpfile()
359 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_mkdir()
506 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_setattr()
575 wo_vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_rename2()
625 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_symlink()
685 iov.iov_base = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in zpl_get_link_common()
H A Dzfs_sysfs.c182 zkobj->zko_attr_list = kmem_zalloc(ATTR_TABLE_SIZE(attr_cnt), in zfs_kobj_init()
189 kmem_zalloc(DEFAULT_ATTR_SIZE(attr_cnt), KM_SLEEP); in zfs_kobj_init()
206 zkobj->zko_children = kmem_zalloc(CHILD_TABLE_SIZE(child_cnt), in zfs_kobj_init()
H A Dzfs_debug.c139 zfs_dbgmsg_t *zdm = kmem_zalloc(size, KM_SLEEP); in __zfs_dbgmsg()
/freebsd-14.2/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dccompile.h100 #define vmem_zalloc kmem_zalloc
101 #define vmem_alloc kmem_zalloc
H A Dkmem.h100 #define kmem_zalloc(size, kmflags) \ macro
/freebsd-14.2/sys/cddl/dev/profile/
H A Dprofile.c305 prof = kmem_zalloc(sizeof (profile_probe_t), KM_SLEEP); in profile_create()
477 pcpu = kmem_zalloc(sizeof (profile_probe_percpu_t), KM_SLEEP); in profile_online()
553 prof->prof_pcpus = kmem_zalloc((mp_maxid + 1) * sizeof(pcpu), KM_SLEEP); in profile_enable_omni()
555 pcpu = kmem_zalloc(sizeof(profile_probe_percpu_t), KM_SLEEP); in profile_enable_omni()
/freebsd-14.2/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Dfasttrap.c1483 new_fprc = kmem_zalloc(sizeof (fasttrap_proc_t), KM_SLEEP); in fasttrap_proc_lookup()
1663 new_fp = kmem_zalloc(sizeof (fasttrap_provider_t), KM_SLEEP); in fasttrap_provider_lookup()
1919 pp = kmem_zalloc(sizeof (fasttrap_probe_t), KM_SLEEP); in fasttrap_add_probe()
1927 tp = kmem_zalloc(sizeof (fasttrap_tracepoint_t), in fasttrap_add_probe()
1968 pp = kmem_zalloc(offsetof(fasttrap_probe_t, in fasttrap_add_probe()
1978 tp = kmem_zalloc(sizeof (fasttrap_tracepoint_t), in fasttrap_add_probe()
2162 tp = kmem_zalloc(sizeof (fasttrap_tracepoint_t), KM_SLEEP); in fasttrap_meta_create_probe()
2181 tp = kmem_zalloc(sizeof (fasttrap_tracepoint_t), KM_SLEEP); in fasttrap_meta_create_probe()
2435 fasttrap_tpoints.fth_table = kmem_zalloc(fasttrap_tpoints.fth_nent * in fasttrap_load()
2453 fasttrap_provs.fth_table = kmem_zalloc(fasttrap_provs.fth_nent * in fasttrap_load()
[all …]
/freebsd-14.2/sys/cddl/compat/opensolaris/sys/
H A Dkmem.h85 #define kmem_zalloc(size, kmflags) zfs_kmem_alloc((size), (kmflags) | M_ZERO) macro
/freebsd-14.2/sys/contrib/openzfs/include/os/linux/kernel/linux/
H A Dvfs_compat.h60 bdi = kmem_zalloc(sizeof (struct backing_dev_info), KM_SLEEP); in zpl_bdi_setup()
87 bdi = kmem_zalloc(sizeof (struct backing_dev_info), KM_SLEEP); in zpl_bdi_setup()
/freebsd-14.2/sys/contrib/openzfs/module/icp/algs/modes/
H A Decb.c122 if ((ecb_ctx = kmem_zalloc(sizeof (ecb_ctx_t), kmflag)) == NULL) in ecb_alloc_ctx()
/freebsd-14.2/sys/contrib/openzfs/module/icp/core/
H A Dkcf_prov_tabs.c205 kmem_zalloc(sizeof (kcf_provider_desc_t), KM_SLEEP); in kcf_alloc_provider_desc()

12345