Home
last modified time | relevance | path

Searched refs:kmem_alloc (Results 1 – 25 of 120) sorted by relevance

12345

/f-stack/freebsd/contrib/openzfs/module/icp/core/
H A Dkcf_prov_tabs.c223 dst->co_mac_ops = kmem_alloc(sizeof (crypto_mac_ops_t), in allocate_ops_v1()
227 dst->co_sign_ops = kmem_alloc(sizeof (crypto_sign_ops_t), in allocate_ops_v1()
235 dst->co_dual_ops = kmem_alloc(sizeof (crypto_dual_ops_t), in allocate_ops_v1()
239 dst->co_dual_cipher_mac_ops = kmem_alloc( in allocate_ops_v1()
243 dst->co_random_ops = kmem_alloc( in allocate_ops_v1()
264 dst->co_key_ops = kmem_alloc(sizeof (crypto_key_ops_t), in allocate_ops_v1()
268 dst->co_provider_ops = kmem_alloc( in allocate_ops_v1()
272 dst->co_ctx_ops = kmem_alloc(sizeof (crypto_ctx_ops_t), in allocate_ops_v1()
280 dst->co_mech_ops = kmem_alloc(sizeof (crypto_mech_ops_t), in allocate_ops_v2()
289 kmem_alloc(sizeof (crypto_nostore_key_ops_t), KM_SLEEP); in allocate_ops_v3()
[all …]
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dsid.h47 kd = kmem_alloc(sizeof (*kd), KM_SLEEP); in ksid_lookupdomain()
49 kd->kd_name = kmem_alloc(len, KM_SLEEP); in ksid_lookupdomain()
H A Dkmem.h92 #define kmem_alloc(size, kmflags) zfs_kmem_alloc((size), (kmflags)) macro
/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-thread.c91 tp = kmem_alloc(sizeof (thread_priv_t), KM_PUSHPAGE); in __thread_create()
98 tp->tp_name = kmem_alloc(tp->tp_name_size, KM_PUSHPAGE); in __thread_create()
H A Dspl-xdr.c411 *arrp = kmem_alloc(size * elsize, KM_NOSLEEP); in xdr_dec_array()
468 *sp = kmem_alloc(size + 1, KM_NOSLEEP); in xdr_dec_string()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_ctldir.c725 snapname = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in zfsctl_snapshot_path_objset()
829 to = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in zfsctl_snapdir_rename()
830 from = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in zfsctl_snapdir_rename()
831 real = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in zfsctl_snapdir_rename()
832 fsname = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in zfsctl_snapdir_rename()
907 snapname = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in zfsctl_snapdir_remove()
908 real = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in zfsctl_snapdir_remove()
954 dsname = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in zfsctl_snapdir_mkdir()
1164 mnt = kmem_alloc(MAXPATHLEN, KM_SLEEP); in zfsctl_snapdir_vget()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_fuid.c126 packed = kmem_alloc(fuid_size, KM_SLEEP); in zfs_fuid_table_load()
144 domnode = kmem_alloc(sizeof (fuid_domain_t), KM_SLEEP); in zfs_fuid_table_load()
251 fuids = kmem_alloc(numnodes * sizeof (void *), KM_SLEEP); in zfs_fuid_sync()
267 packed = kmem_alloc(nvsize, KM_SLEEP); in zfs_fuid_sync()
336 domnode = kmem_alloc(sizeof (fuid_domain_t), KM_SLEEP); in zfs_fuid_find_by_domain()
476 fuid_domain = kmem_alloc(sizeof (zfs_fuid_domain_t), KM_SLEEP); in zfs_fuid_node_add()
490 fuid = kmem_alloc(sizeof (zfs_fuid_t), KM_SLEEP); in zfs_fuid_node_add()
H A Dpathname.c74 pnp->pn_buf = kmem_alloc(sz, KM_SLEEP); in pn_alloc_sz()
H A Ddsl_deleg.c329 zc = kmem_alloc(sizeof (zap_cursor_t), KM_SLEEP); in dsl_deleg_get()
330 za = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP); in dsl_deleg_get()
331 basezc = kmem_alloc(sizeof (zap_cursor_t), KM_SLEEP); in dsl_deleg_get()
332 baseza = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP); in dsl_deleg_get()
333 source = kmem_alloc(ZFS_MAX_DATASET_NAME_LEN, KM_SLEEP); in dsl_deleg_get()
501 permnode = kmem_alloc(sizeof (perm_set_t), KM_SLEEP); in dsl_load_sets()
H A Dzfeature.c185 zc = kmem_alloc(sizeof (zap_cursor_t), KM_SLEEP); in spa_features_check()
186 za = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP); in spa_features_check()
187 buf = kmem_alloc(MAXPATHLEN, KM_SLEEP); in spa_features_check()
H A Dzfs_rlock.c245 proxy = kmem_alloc(sizeof (zfs_locked_range_t), KM_SLEEP); in zfs_rangelock_proxify()
274 rear = kmem_alloc(sizeof (zfs_locked_range_t), KM_SLEEP); in zfs_rangelock_split()
299 lr = kmem_alloc(sizeof (zfs_locked_range_t), KM_SLEEP); in zfs_rangelock_new_proxy()
489 new = kmem_alloc(sizeof (zfs_locked_range_t), KM_SLEEP); in zfs_rangelock_enter_impl()
H A Dbplist.c48 bplist_entry_t *bpe = kmem_alloc(sizeof (*bpe), KM_SLEEP); in bplist_append()
H A Dobjlist.c25 objlist_t *list = kmem_alloc(sizeof (*list), KM_SLEEP); in objlist_create()
H A Dunique.c78 unique_t *un = kmem_alloc(sizeof (unique_t), KM_SLEEP); in unique_insert()
H A Dzcp_get.c166 buf = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP); in zcp_get_user_prop()
230 char *strval = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP); in get_special_prop()
459 char *strval = kmem_alloc(ZAP_MAXVALUELEN, KM_SLEEP); in get_zap_prop()
613 domain_val = kmem_alloc(domain_len + 1, KM_SLEEP); in parse_userquota_prop()
H A Dzfs_onexit.c161 ap = kmem_alloc(sizeof (zfs_onexit_action_node_t), KM_SLEEP); in zfs_onexit_add_cb()
H A Dspace_reftree.c91 sr = kmem_alloc(sizeof (*sr), KM_SLEEP); in space_reftree_add_node()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_kmem.c167 cache = kmem_alloc(sizeof (*cache), KM_SLEEP); in kmem_cache_create()
201 p = kmem_alloc(cache->kc_size, flags); in kmem_cache_alloc()
294 msg = kmem_alloc(vsnprintf(NULL, 0, fmt, adx) + 1, KM_SLEEP); in kmem_vasprintf()
H A Dspl_misc.c72 buf = kmem_alloc(strlen(s) + 1, KM_SLEEP); in kmem_strdup()
H A Dspl_string.c93 buf = kmem_alloc(size, KM_SLEEP); in kmem_asprintf()
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/
H A Dkmem.h38 #define kmem_alloc(size, flags) malloc(size) macro
/f-stack/freebsd/contrib/openzfs/lib/libnvpair/
H A Dnvpair_alloc_system.c36 return (kmem_alloc(size, (int)(uintptr_t)nva->nva_arg)); in nv_alloc_sys()
/f-stack/freebsd/contrib/openzfs/module/nvpair/
H A Dnvpair_alloc_spl.c46 return (kmem_alloc(size, KM_NOSLEEP)); in nv_alloc_nosleep_spl()
/f-stack/freebsd/contrib/openzfs/module/icp/io/
H A Dskein_mod.c355 digest_tmp = kmem_alloc(CRYPTO_BITS2BYTES( in skein_digest_final_uio()
408 SKEIN_CTX_LVALUE(ctx) = kmem_alloc(sizeof (*SKEIN_CTX(ctx)), in skein_digest_init()
619 SKEIN_CTX_LVALUE(ctx) = kmem_alloc(sizeof (*SKEIN_CTX(ctx)), in skein_mac_init()
700 ctx_tmpl = kmem_alloc(sizeof (*ctx_tmpl), crypto_kmflag(req)); in skein_create_ctx_template()
/f-stack/freebsd/contrib/openzfs/module/icp/api/
H A Dkcf_ctxops.c92 if ((ctx_tmpl = (kcf_ctx_template_t *)kmem_alloc( in crypto_create_ctx_template()

12345