Searched refs:kmem_alloc (Results 1 – 20 of 20) sorted by relevance
/linux-4.4.14/fs/xfs/ |
D | kmem.h | 63 extern void *kmem_alloc(size_t, xfs_km_flags_t); 77 return kmem_alloc(size, flags | KM_ZERO); in kmem_zalloc()
|
D | kmem.c | 46 kmem_alloc(size_t size, xfs_km_flags_t flags) in kmem_alloc() function 101 new = kmem_alloc(newsize, flags); in kmem_realloc()
|
D | xfs_error.c | 80 xfs_etest_fsname[i] = kmem_alloc(len + 1, KM_SLEEP); in xfs_errortag_add()
|
D | xfs_itable.c | 68 buf = kmem_alloc(sizeof(*buf), KM_SLEEP | KM_MAYFAIL); in xfs_bulkstat_one_int() 578 buffer = kmem_alloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers()
|
D | xfs_attr_list.c | 135 sbp = sbuf = kmem_alloc(sbsize, KM_SLEEP | KM_NOFS); in xfs_attr_shortform_list() 454 args.value = kmem_alloc(valuelen, KM_SLEEP | KM_NOFS); in xfs_attr3_leaf_list_int()
|
D | xfs_filestream.c | 260 item = kmem_alloc(sizeof(*item), KM_MAYFAIL); in xfs_filestream_pick_ag()
|
D | xfs_attr_inactive.c | 166 list = kmem_alloc(size, KM_SLEEP); in xfs_attr3_leaf_inactive()
|
D | xfs_buf.c | 225 bp->b_pages = kmem_alloc(sizeof(struct page *) * in _xfs_buf_get_pages() 304 bp->b_addr = kmem_alloc(size, KM_NOFS); in xfs_buf_allocate_memory()
|
D | xfs_bmap_util.c | 639 map = kmem_alloc(subnex * sizeof(*map), KM_MAYFAIL | KM_NOFS); in xfs_getbmap() 1723 tempifp = kmem_alloc(sizeof(xfs_ifork_t), KM_MAYFAIL); in xfs_swap_extents()
|
D | xfs_rtalloc.c | 961 nmp = kmem_alloc(sizeof(*nmp), KM_SLEEP); in xfs_growfs_rt()
|
D | xfs_log_recover.c | 1608 bcp = kmem_alloc(sizeof(struct xfs_buf_cancel), KM_SLEEP); in xlog_recover_buffer_pass1() 2532 in_f = kmem_alloc(sizeof(xfs_inode_log_format_t), KM_SLEEP); in xlog_recover_inode_pass2() 3518 ptr = kmem_alloc(len, KM_SLEEP); in xlog_recover_add_to_trans()
|
D | xfs_qm.c | 963 map = kmem_alloc(XFS_DQITER_MAP_SIZE * sizeof(*map), KM_SLEEP); in xfs_qm_dqiterate()
|
D | xfs_inode.c | 3199 ilist = kmem_alloc(ilist_size, KM_MAYFAIL|KM_NOFS); in xfs_iflush_cluster()
|
/linux-4.4.14/include/trace/events/ |
D | kmem.h | 11 DECLARE_EVENT_CLASS(kmem_alloc, 45 DEFINE_EVENT(kmem_alloc, kmalloc, 53 DEFINE_EVENT(kmem_alloc, kmem_cache_alloc,
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 275 ifp->if_u1.if_data = kmem_alloc(real_size, KM_SLEEP | KM_NOFS); in xfs_iformat_local() 402 ifp->if_broot = kmem_alloc(size, KM_SLEEP | KM_NOFS); in xfs_iformat_btree() 503 ifp->if_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc() 545 new_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc() 651 ifp->if_u1.if_data = kmem_alloc(real_size, in xfs_idata_realloc() 667 ifp->if_u1.if_data = kmem_alloc(real_size, in xfs_idata_realloc() 1077 nex2_ep = (xfs_bmbt_rec_t *) kmem_alloc(byte_diff, KM_NOFS); in xfs_iext_add_indirect_multi() 1433 ifp->if_u1.if_extents = kmem_alloc(new_size, KM_NOFS); in xfs_iext_inline_to_direct() 1709 erp = kmem_alloc(sizeof(xfs_ext_irec_t), KM_NOFS); in xfs_iext_irec_init() 1712 ifp->if_u1.if_extents = kmem_alloc(XFS_IEXT_BUFSZ, KM_NOFS); in xfs_iext_irec_init() [all …]
|
D | xfs_dir2_sf.c | 184 dst = kmem_alloc(mp->m_sb.sb_inodesize, KM_SLEEP); in xfs_dir2_block_to_sf() 463 buf = kmem_alloc(old_isize, KM_SLEEP); in xfs_dir2_sf_addname_hard() 1021 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino4() 1097 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino8()
|
D | xfs_dir2.c | 339 args->value = kmem_alloc(len, KM_NOFS | KM_MAYFAIL); in xfs_dir_cilookup_result()
|
D | xfs_attr_leaf.c | 757 tmpbuffer = kmem_alloc(size, KM_SLEEP); in xfs_attr_shortform_to_leaf() 889 tmpbuffer = kmem_alloc(args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_to_shortform() 1354 tmpbuffer = kmem_alloc(args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_compact()
|
D | xfs_dir2_block.c | 1101 sfp = kmem_alloc(ifp->if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block()
|
D | xfs_da_btree.c | 2049 mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); in xfs_da_grow_inode_int()
|