Home
last modified time | relevance | path

Searched refs:kmem_alloc (Results 1 - 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/fs/xfs/
H A Dkmem.c12 kmem_alloc(size_t size, xfs_km_flags_t flags) in kmem_alloc() function
75 ptr = kmem_alloc(size, flags | KM_MAYFAIL); in kmem_alloc_io()
91 ptr = kmem_alloc(size, flags | KM_MAYFAIL); in kmem_alloc_large()
H A Dkmem.h59 extern void *kmem_alloc(size_t, xfs_km_flags_t);
71 return kmem_alloc(size, flags | KM_ZERO); in kmem_zalloc()
H A Dxfs_filestream.c219 item = kmem_alloc(sizeof(*item), KM_MAYFAIL); in xfs_filestream_pick_ag()
H A Dxfs_inode_item_recover.c219 in_f = kmem_alloc(sizeof(struct xfs_inode_log_format), 0); in xlog_recover_inode_commit_pass2()
H A Dxfs_iwalk.c158 iwag->recs = kmem_alloc(size, KM_MAYFAIL); in xfs_iwalk_alloc()
H A Dxfs_attr_list.c113 sbp = sbuf = kmem_alloc(sbsize, KM_NOFS); in xfs_attr_shortform_list()
/kernel/linux/linux-6.6/fs/xfs/
H A Dkmem.h59 extern void *kmem_alloc(size_t, xfs_km_flags_t);
69 return kmem_alloc(size, flags | KM_ZERO); in kmem_zalloc()
H A Dkmem.c11 kmem_alloc(size_t size, xfs_km_flags_t flags) in kmem_alloc() function
H A Dxfs_filestream.c316 item = kmem_alloc(sizeof(*item), KM_MAYFAIL); in xfs_filestream_create_association()
H A Dxfs_iwalk.c163 iwag->recs = kmem_alloc(size, KM_MAYFAIL); in xfs_iwalk_alloc()
H A Dxfs_inode_item_recover.c294 in_f = kmem_alloc(sizeof(struct xfs_inode_log_format), 0); in xlog_recover_inode_commit_pass2()
H A Dxfs_attr_list.c113 sbp = sbuf = kmem_alloc(sbsize, KM_NOFS); in xfs_attr_shortform_list()
/kernel/linux/linux-5.10/include/trace/events/
H A Dkmem.h12 DECLARE_EVENT_CLASS(kmem_alloc,
46 DEFINE_EVENT(kmem_alloc, kmalloc,
54 DEFINE_EVENT(kmem_alloc, kmem_cache_alloc,
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dbitmap.c28 bmr = kmem_alloc(sizeof(struct xbitmap_range), KM_MAYFAIL); in xbitmap_set()
184 new_br = kmem_alloc(sizeof(struct xbitmap_range), in xbitmap_disunion()
H A Drefcount.c128 frag = kmem_alloc(sizeof(struct xchk_refcnt_frag), in xchk_refcountbt_rmap_check()
H A Dbtree.c432 co = kmem_alloc(sizeof(struct check_owner), in xchk_btree_check_owner()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_inode_fork.c52 ifp->if_u1.if_data = kmem_alloc(real_size, KM_NOFS); in xfs_init_local_fork()
78 * kmem_alloc() or memcpy() below. in xfs_iformat_local()
117 * we just bail out rather than crash in kmem_alloc() or memcpy() below. in xfs_iformat_extents()
206 ifp->if_broot = kmem_alloc(size, KM_NOFS); in xfs_iformat_btree()
375 ifp->if_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
416 new_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
465 * use kmem_realloc() or kmem_alloc() to adjust the size of the buffer
H A Dxfs_btree_staging.c142 nops = kmem_alloc(sizeof(struct xfs_btree_ops), KM_NOFS); in xfs_btree_stage_afakeroot()
223 nops = kmem_alloc(sizeof(struct xfs_btree_ops), KM_NOFS); in xfs_btree_stage_ifakeroot()
H A Dxfs_dir2_sf.c279 sfp = kmem_alloc(mp->m_sb.sb_inodesize, 0); in xfs_dir2_block_to_sf()
533 buf = kmem_alloc(old_isize, 0); in xfs_dir2_sf_addname_hard()
1181 buf = kmem_alloc(oldsize, 0); in xfs_dir2_sf_toino4()
1254 buf = kmem_alloc(oldsize, 0); in xfs_dir2_sf_toino8()
H A Dxfs_defer.c576 dfp = kmem_alloc(sizeof(struct xfs_defer_pending), in xfs_defer_add()
H A Dxfs_refcount.c1244 ri = kmem_alloc(sizeof(struct xfs_refcount_intent), in __xfs_refcount_add()
1673 rr = kmem_alloc(sizeof(struct xfs_refcount_recovery), 0); in xfs_refcount_recover_extent()
H A Dxfs_dir2.c323 args->value = kmem_alloc(len, KM_NOFS | KM_MAYFAIL); in xfs_dir_cilookup_result()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_inode_fork.c53 ifp->if_u1.if_data = kmem_alloc(mem_size, KM_NOFS); in xfs_init_local_fork()
77 * kmem_alloc() or memcpy() below. in xfs_iformat_local()
116 * we just bail out rather than crash in kmem_alloc() or memcpy() below. in xfs_iformat_extents()
205 ifp->if_broot = kmem_alloc(size, KM_NOFS); in xfs_iformat_btree()
400 ifp->if_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
441 new_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
489 * use kmem_realloc() or kmem_alloc() to adjust the size of the buffer
H A Dxfs_btree_staging.c142 nops = kmem_alloc(sizeof(struct xfs_btree_ops), KM_NOFS); in xfs_btree_stage_afakeroot()
223 nops = kmem_alloc(sizeof(struct xfs_btree_ops), KM_NOFS); in xfs_btree_stage_ifakeroot()
H A Dxfs_dir2_sf.c279 sfp = kmem_alloc(mp->m_sb.sb_inodesize, 0); in xfs_dir2_block_to_sf()
533 buf = kmem_alloc(old_isize, 0); in xfs_dir2_sf_addname_hard()
1177 buf = kmem_alloc(oldsize, 0); in xfs_dir2_sf_toino4()
1250 buf = kmem_alloc(oldsize, 0); in xfs_dir2_sf_toino8()

Completed in 31 milliseconds

12