| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | sid.h | 46 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 D | kmem.h | 178 #define kmem_zalloc(sz, fl) spl_kmem_zalloc((sz), (fl), __func__, __LINE__) macro
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | dmu_redact.c | 212 struct objnode *obj = kmem_zalloc(sizeof (*obj), KM_SLEEP); in zfs_get_deleteq() 286 record = kmem_zalloc(sizeof (struct redact_record), in redact_cb() 318 record = kmem_zalloc(sizeof (struct redact_record), KM_SLEEP); in redact_cb() 375 data = kmem_zalloc(sizeof (*data), KM_SLEEP); in redact_traverse_thread() 739 record = kmem_zalloc(sizeof (struct redact_record), in perform_thread_merge() 749 redact_nodes = kmem_zalloc(num_threads * in perform_thread_merge() 791 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 D | spa_config.c | 207 temp = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in spa_config_write() 512 ddh = kmem_zalloc(sizeof (ddt_histogram_t), KM_SLEEP); in spa_config_generate() 519 ddo = kmem_zalloc(sizeof (ddt_object_t), KM_SLEEP); in spa_config_generate() 526 dds = kmem_zalloc(sizeof (ddt_stat_t), KM_SLEEP); in spa_config_generate()
|
| H A D | skein_zfs.c | 85 ctx = kmem_zalloc(sizeof (*ctx), KM_SLEEP); in abd_checksum_skein_tmpl_init()
|
| H A D | objlist.c | 75 objlist_node_t *node = kmem_zalloc(sizeof (*node), KM_SLEEP); in objlist_insert()
|
| H A D | sa.c | 414 tb = kmem_zalloc(sizeof (sa_lot_t), KM_SLEEP); in sa_add_layout_entry() 849 kmem_zalloc(count * sizeof (sa_attr_type_t), KM_SLEEP); in sa_attr_table_setup() 933 kmem_zalloc(strlen(za.za_name) +1, KM_SLEEP); in sa_attr_table_setup() 958 kmem_zalloc(strlen(sa_legacy_attrs[i].sa_name) +1, in sa_attr_table_setup() 977 kmem_zalloc(strlen(reg_attrs[i].sa_name) + 1, KM_SLEEP); in sa_attr_table_setup() 1015 sa = kmem_zalloc(sizeof (sa_os_t), KM_SLEEP); in sa_setup() 1062 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() 1746 idx_tab = kmem_zalloc(sizeof (sa_idx_tab_t), KM_SLEEP); in sa_find_idx_tab() [all …]
|
| H A D | edonr_zfs.c | 102 ctx = kmem_zalloc(sizeof (*ctx), KM_SLEEP); in abd_checksum_edonr_tmpl_init()
|
| H A D | zfs_onexit.c | 78 zo = *zop = kmem_zalloc(sizeof (zfs_onexit_t), KM_SLEEP); in zfs_onexit_init()
|
| H A D | lzjb.c | 61 lempel = kmem_zalloc(LEMPEL_SIZE * sizeof (uint16_t), KM_SLEEP); in lzjb_compress()
|
| H A D | zfs_fm.c | 540 spare_paths = kmem_zalloc(sizeof (char *) * spare_count, in zfs_ereport_start() 542 spare_guids = kmem_zalloc(sizeof (uint64_t) * spare_count, in zfs_ereport_start() 802 zfs_ecksum_info_t *eip = kmem_zalloc(sizeof (*eip), KM_SLEEP); in annotate_ecksum() 1101 report = kmem_zalloc(sizeof (*report), KM_SLEEP); in zfs_ereport_start_checksum() 1110 report->zcr_ckinfo = kmem_zalloc(sizeof (*info), KM_SLEEP); in zfs_ereport_start_checksum()
|
| H A D | dmu_send.c | 1523 kmem_zalloc(sizeof (struct send_range), KM_SLEEP); in send_merge_thread() 1580 range = kmem_zalloc(sizeof (*range), KM_SLEEP); in send_merge_thread() 2005 dmu_replay_record_t *drr = kmem_zalloc(sizeof (dmu_replay_record_t), in create_begin_record() 2197 dmu_sendstatus_t *dssp = kmem_zalloc(sizeof (*dssp), KM_SLEEP); in setup_send_progress() 2418 from_arg = kmem_zalloc(sizeof (*from_arg), KM_SLEEP); in dmu_send_impl() 2419 to_arg = kmem_zalloc(sizeof (*to_arg), KM_SLEEP); in dmu_send_impl() 2420 rlt_arg = kmem_zalloc(sizeof (*rlt_arg), KM_SLEEP); in dmu_send_impl() 2421 smt_arg = kmem_zalloc(sizeof (*smt_arg), KM_SLEEP); in dmu_send_impl() 2422 srt_arg = kmem_zalloc(sizeof (*srt_arg), KM_SLEEP); in dmu_send_impl() 2684 dspp.fromredactsnaps = kmem_zalloc(size, KM_SLEEP); in dmu_send_obj() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | kmod_core.c | 145 zc = kmem_zalloc(sizeof (zfs_cmd_t), KM_SLEEP); in zfsdev_ioctl() 155 zcl = kmem_zalloc(sizeof (zfs_cmd_legacy_t), KM_SLEEP); in zfsdev_ioctl() 224 zs = kmem_zalloc(sizeof (zfsdev_state_t), KM_SLEEP); in zfs_ctldev_init()
|
| H A D | zfs_debug.c | 160 zdm = kmem_zalloc(size, KM_SLEEP); in __zfs_dbgmsg()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zpl_inode.c | 140 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_create() 183 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_mknod() 220 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_tmpfile() 290 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_mkdir() 375 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_setattr() 443 vap = kmem_zalloc(sizeof (vattr_t), KM_SLEEP); in zpl_symlink() 500 iov.iov_base = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in zpl_get_link_common()
|
| H A D | zfs_ioctl_os.c | 110 zs = kmem_zalloc(sizeof (zfsdev_state_t), KM_SLEEP); in zfsdev_state_init() 190 zc = kmem_zalloc(sizeof (zfs_cmd_t), KM_SLEEP); in zfsdev_ioctl()
|
| H A D | zfs_sysfs.c | 172 zkobj->zko_attr_list = kmem_zalloc(ATTR_TABLE_SIZE(attr_cnt), in zfs_kobj_init() 178 zkobj->zko_default_attrs = kmem_zalloc(DEFAULT_ATTR_SIZE(attr_cnt), in zfs_kobj_init() 191 zkobj->zko_children = kmem_zalloc(CHILD_TABLE_SIZE(child_cnt), in zfs_kobj_init()
|
| H A D | zfs_debug.c | 137 zfs_dbgmsg_t *zdm = kmem_zalloc(size, KM_SLEEP); in __zfs_dbgmsg()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/core/ |
| H A D | kcf_prov_tabs.c | 87 prov_tab = kmem_zalloc(prov_tab_max * sizeof (kcf_provider_desc_t *), in kcf_prov_tab_init() 307 desc = kmem_zalloc(sizeof (kcf_provider_desc_t), KM_SLEEP); in kcf_alloc_provider_desc() 333 desc->pd_ops_vector = kmem_zalloc(sizeof (crypto_ops_t), KM_SLEEP); in kcf_alloc_provider_desc() 344 desc->pd_mechanisms = kmem_zalloc(sizeof (crypto_mech_info_t) * in kcf_alloc_provider_desc() 535 p = kmem_zalloc(n, KM_SLEEP); in kcf_get_slot_list()
|
| H A D | kcf_mech_tabs.c | 442 prov_mech = kmem_zalloc(sizeof (kcf_prov_mech_desc_t), KM_SLEEP); in kcf_add_mech_provider() 478 mil = kmem_zalloc(sizeof (*mil), KM_SLEEP); in kcf_add_mech_provider() 479 mil2 = kmem_zalloc(sizeof (*mil2), KM_SLEEP); in kcf_add_mech_provider()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | ccompile.h | 195 #define vmem_zalloc kmem_zalloc 196 #define vmem_alloc kmem_zalloc
|
| H A D | kmem.h | 93 #define kmem_zalloc(size, kmflags) \ macro
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/kernel/linux/ |
| H A D | vfs_compat.h | 60 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()
|
| /f-stack/freebsd/contrib/openzfs/module/icp/algs/modes/ |
| H A D | ecb.c | 123 if ((ecb_ctx = kmem_zalloc(sizeof (ecb_ctx_t), kmflag)) == NULL) in ecb_alloc_ctx()
|
| /f-stack/freebsd/contrib/openzfs/module/zstd/ |
| H A D | zfs_zstd.c | 658 kmem_zalloc(ZSTD_POOL_MAX * sizeof (struct zstd_pool), KM_SLEEP); in zstd_mempool_init() 660 kmem_zalloc(ZSTD_POOL_MAX * sizeof (struct zstd_pool), KM_SLEEP); in zstd_mempool_init()
|