Home
last modified time | relevance | path

Searched refs:kmem_cache_alloc (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-13.1/sys/cddl/compat/opensolaris/sys/
H A Dkmem.h74 void *kmem_cache_alloc(kmem_cache_t *cache, int flags);
/freebsd-13.1/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dkmem.h80 void *kmem_cache_alloc(kmem_cache_t *cache, int flags);
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Drefcount.c136 ref = kmem_cache_alloc(reference_cache, KM_SLEEP); in zfs_refcount_add_many()
176 kmem_cache_alloc(reference_history_cache, in zfs_refcount_remove_many()
H A Dddt.c636 dde = kmem_cache_alloc(ddt_entry_cache, KM_SLEEP); in ddt_alloc()
788 ddt = kmem_cache_alloc(ddt_cache, KM_SLEEP); in ddt_table_alloc()
883 dde = kmem_cache_alloc(ddt_entry_cache, KM_SLEEP); in ddt_class_contains()
H A Dlz4.c1052 return (kmem_cache_alloc(lz4_cache, flags)); in lz4_alloc()
H A Dbtree.c739 zfs_btree_leaf_t *new_leaf = kmem_cache_alloc(zfs_btree_leaf_cache, in zfs_btree_insert_into_leaf()
1009 zfs_btree_leaf_t *leaf = kmem_cache_alloc(zfs_btree_leaf_cache, in zfs_btree_add_idx()
H A Darc.c1716 hdr = kmem_cache_alloc(hdr_l2only_cache, KM_SLEEP); in arc_buf_alloc_l2only()
2747 buf = *ret = kmem_cache_alloc(buf_cache, KM_PUSHPAGE); in arc_buf_alloc_impl()
3277 hdr = kmem_cache_alloc(hdr_full_crypt_cache, KM_PUSHPAGE); in arc_hdr_alloc()
3279 hdr = kmem_cache_alloc(hdr_full_cache, KM_PUSHPAGE); in arc_hdr_alloc()
3337 nhdr = kmem_cache_alloc(new, KM_PUSHPAGE); in arc_hdr_realloc()
3460 nhdr = kmem_cache_alloc(ncache, KM_PUSHPAGE); in arc_hdr_realloc_crypt()
4172 markers[i] = kmem_cache_alloc(hdr_full_cache, KM_SLEEP); in arc_state_alloc_markers()
9432 head = kmem_cache_alloc(hdr_l2only_cache, KM_PUSHPAGE); in l2arc_write_buffers()
H A Dzio.c327 return (kmem_cache_alloc(zio_buf_cache[c], KM_PUSHPAGE)); in zio_buf_alloc()
343 return (kmem_cache_alloc(zio_data_buf_cache[c], KM_PUSHPAGE)); in zio_data_buf_alloc()
629 zio_link_t *zl = kmem_cache_alloc(zio_link_cache, KM_SLEEP); in zio_add_child()
824 zio = kmem_cache_alloc(zio_cache, KM_SLEEP); in zio_create()
H A Dzil.c554 lwb = kmem_cache_alloc(zil_lwb_cache, KM_SLEEP); in zil_alloc_lwb()
2783 zil_commit_waiter_t *zcw = kmem_cache_alloc(zil_zcw_cache, KM_SLEEP); in zil_alloc_commit_waiter()
H A Dsa.c1410 handle = kmem_cache_alloc(sa_cache, KM_SLEEP); in sa_handle_get_from_db()
H A Ddnode.c449 dn = kmem_cache_alloc(dnode_cache, KM_SLEEP); in dnode_create()
H A Ddsl_scan.c345 return (kmem_cache_alloc(sio_cache[nr_dvas - 1], KM_SLEEP)); in sio_alloc()
/freebsd-13.1/sys/contrib/openzfs/module/icp/os/
H A Dmodhash.c577 entry = kmem_cache_alloc(mh_e_cache, hash->mh_sleep); in i_mod_hash_insert_nosync()
653 *handlep = kmem_cache_alloc(mh_e_cache, hash->mh_sleep); in mod_hash_reserve()
665 *handlep = kmem_cache_alloc(mh_e_cache, KM_NOSLEEP); in mod_hash_reserve_nosleep()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-zlib.c75 return (kmem_cache_alloc(zlib_workspace_cache, flags & ~(__GFP_FS))); in zlib_workspace_alloc()
H A Dspl-kmem-cache.c41 #undef kmem_cache_alloc
1244 obj = kmem_cache_alloc(slc, kmem_flags_convert(flags)); in spl_kmem_cache_alloc()
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dabd_os.c195 kmem_cache_alloc(abd_chunk_cache, KM_PUSHPAGE); in abd_alloc_chunks()
252 abd_zero_buf = kmem_cache_alloc(abd_chunk_cache, KM_PUSHPAGE); in abd_alloc_zero_scatter()
H A Dzfs_znode.c242 return (kmem_cache_alloc(znode_cache, flags)); in zfs_znode_alloc_kmem()
/freebsd-13.1/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkmem_cache.h204 #define kmem_cache_alloc(skc, flags) spl_kmem_cache_alloc(skc, flags) macro
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dslab.h66 #define kmem_cache_alloc(...) lkpi_kmem_cache_alloc(__VA_ARGS__) macro
/freebsd-13.1/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_kmem.c194 kmem_cache_alloc(kmem_cache_t *cache, int flags) in kmem_cache_alloc() function
/freebsd-13.1/sys/contrib/openzfs/module/icp/core/
H A Dkcf_sched.c92 kcf_ctx = kmem_cache_alloc(kcf_context_cache, in kcf_new_ctx()
132 arptr = kmem_cache_alloc(kcf_areq_cache, KM_NOSLEEP); in kcf_areqnode_alloc()
640 sreq = kmem_cache_alloc(kcf_sreq_cache, KM_SLEEP); in kcf_submit_request()
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c275 zh_new = kmem_cache_alloc(znode_hold_cache, KM_SLEEP); in zfs_znode_hold_enter()
369 zp = kmem_cache_alloc(znode_cache, KM_SLEEP); in zfs_inode_alloc()
1906 rootzp = kmem_cache_alloc(znode_cache, KM_SLEEP); in zfs_create_fs()
H A Dabd_os.c208 abd_t *abd = kmem_cache_alloc(abd_cache, KM_PUSHPAGE); in abd_alloc_struct_impl()
/freebsd-13.1/sys/cddl/contrib/opensolaris/common/lz4/
H A Dlz4.c853 void *ctx = kmem_cache_alloc(lz4_ctx_cache, KM_NOSLEEP); in real_LZ4_compress()
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h423 #define kmem_cache_alloc(_c, _f) umem_cache_alloc(_c, _f)

12