Home
last modified time | relevance | path

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

/linux-4.19.296/fs/xfs/ !
Dkmem.c17 kmem_alloc(size_t size, xfs_km_flags_t flags) in kmem_alloc() function
43 ptr = kmem_alloc(size, flags | KM_MAYFAIL); in kmem_alloc_large()
Dkmem.h61 extern void *kmem_alloc(size_t, xfs_km_flags_t);
73 return kmem_alloc(size, flags | KM_ZERO); in kmem_zalloc()
Dxfs_filestream.c253 item = kmem_alloc(sizeof(*item), KM_MAYFAIL); in xfs_filestream_pick_ag()
Dxfs_attr_inactive.c155 list = kmem_alloc(size, KM_SLEEP); in xfs_attr3_leaf_inactive()
Dxfs_attr_list.c117 sbp = sbuf = kmem_alloc(sbsize, KM_SLEEP | KM_NOFS); in xfs_attr_shortform_list()
Dxfs_buf.c292 bp->b_pages = kmem_alloc(sizeof(struct page *) * in _xfs_buf_get_pages()
371 bp->b_addr = kmem_alloc(size, KM_NOFS); in xfs_buf_allocate_memory()
Dxfs_rtalloc.c954 nmp = kmem_alloc(sizeof(*nmp), KM_SLEEP); in xfs_growfs_rt()
Dxfs_log_recover.c2043 bcp = kmem_alloc(sizeof(struct xfs_buf_cancel), KM_SLEEP); in xlog_recover_buffer_pass1()
3011 in_f = kmem_alloc(sizeof(struct xfs_inode_log_format), KM_SLEEP); in xlog_recover_inode_pass2()
4343 ptr = kmem_alloc(len, KM_SLEEP); in xlog_recover_add_to_trans()
Dxfs_qm.c985 map = kmem_alloc(XFS_DQITER_MAP_SIZE * sizeof(*map), KM_SLEEP); in xfs_qm_reset_dqcounts_buf()
Dxfs_inode.c3170 cilist = kmem_alloc(cilist_size, KM_MAYFAIL|KM_NOFS); in xfs_iflush_cluster()
/linux-4.19.296/include/trace/events/ !
Dkmem.h12 DECLARE_EVENT_CLASS(kmem_alloc,
46 DEFINE_EVENT(kmem_alloc, kmalloc,
54 DEFINE_EVENT(kmem_alloc, kmem_cache_alloc,
/linux-4.19.296/fs/xfs/scrub/ !
Dbitmap.c33 bmr = kmem_alloc(sizeof(struct xfs_bitmap_range), KM_MAYFAIL); in xfs_bitmap_set()
189 new_br = kmem_alloc(sizeof(struct xfs_bitmap_range), in xfs_bitmap_disunion()
Drefcount.c138 frag = kmem_alloc(sizeof(struct xchk_refcnt_frag), in xchk_refcountbt_rmap_check()
Dbtree.c430 co = kmem_alloc(sizeof(struct check_owner), in xchk_btree_check_owner()
/linux-4.19.296/fs/xfs/libxfs/ !
Dxfs_inode_fork.c152 ifp->if_u1.if_data = kmem_alloc(real_size, KM_SLEEP | KM_NOFS); in xfs_init_local_fork()
307 ifp->if_broot = kmem_alloc(size, KM_SLEEP | KM_NOFS); in xfs_iformat_btree()
372 ifp->if_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc()
413 new_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc()
Dxfs_dir2_sf.c170 dst = kmem_alloc(mp->m_sb.sb_inodesize, KM_SLEEP); in xfs_dir2_block_to_sf()
442 buf = kmem_alloc(old_isize, KM_SLEEP); in xfs_dir2_sf_addname_hard()
1102 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino4()
1175 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino8()
Dxfs_defer.c510 dfp = kmem_alloc(sizeof(struct xfs_defer_pending), in xfs_defer_add()
Dxfs_dir2.c321 args->value = kmem_alloc(len, KM_NOFS | KM_MAYFAIL); in xfs_dir_cilookup_result()
Dxfs_refcount.c1193 ri = kmem_alloc(sizeof(struct xfs_refcount_intent), in __xfs_refcount_add()
1607 rr = kmem_alloc(sizeof(struct xfs_refcount_recovery), KM_SLEEP); in xfs_refcount_recover_extent()
Dxfs_attr_leaf.c797 tmpbuffer = kmem_alloc(size, KM_SLEEP); in xfs_attr_shortform_to_leaf()
1002 tmpbuffer = kmem_alloc(args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_to_shortform()
1467 tmpbuffer = kmem_alloc(args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_compact()
Dxfs_dir2_block.c1098 sfp = kmem_alloc(ifp->if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block()
Dxfs_da_btree.c2083 mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); in xfs_da_grow_inode_int()
Dxfs_rmap.c2297 ri = kmem_alloc(sizeof(struct xfs_rmap_intent), KM_SLEEP | KM_NOFS); in __xfs_rmap_add()
Dxfs_bmap.c6039 bi = kmem_alloc(sizeof(struct xfs_bmap_intent), KM_SLEEP | KM_NOFS); in __xfs_bmap_add()