Home
last modified time | relevance | path

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

/linux-4.1.27/fs/xfs/
Dkmem.h63 extern void *kmem_alloc(size_t, xfs_km_flags_t);
77 return kmem_alloc(size, flags | KM_ZERO); in kmem_zalloc()
Dkmem.c46 kmem_alloc(size_t size, xfs_km_flags_t flags) in kmem_alloc() function
100 new = kmem_alloc(newsize, flags); in kmem_realloc()
Dxfs_error.c80 xfs_etest_fsname[i] = kmem_alloc(len + 1, KM_SLEEP); in xfs_errortag_add()
Dxfs_itable.c68 buf = kmem_alloc(sizeof(*buf), KM_SLEEP | KM_MAYFAIL); in xfs_bulkstat_one_int()
573 buffer = kmem_alloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers()
Dxfs_attr_list.c135 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()
Dxfs_filestream.c259 item = kmem_alloc(sizeof(*item), KM_MAYFAIL); in xfs_filestream_pick_ag()
Dxfs_attr_inactive.c166 list = kmem_alloc(size, KM_SLEEP); in xfs_attr3_leaf_inactive()
Dxfs_buf.c225 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()
Dxfs_bmap_util.c613 map = kmem_alloc(subnex * sizeof(*map), KM_MAYFAIL | KM_NOFS); in xfs_getbmap()
1683 tempifp = kmem_alloc(sizeof(xfs_ifork_t), KM_MAYFAIL); in xfs_swap_extents()
Dxfs_rtalloc.c964 nmp = kmem_alloc(sizeof(*nmp), KM_SLEEP); in xfs_growfs_rt()
Dxfs_log_recover.c1608 bcp = kmem_alloc(sizeof(struct xfs_buf_cancel), KM_SLEEP); in xlog_recover_buffer_pass1()
2523 in_f = kmem_alloc(sizeof(xfs_inode_log_format_t), KM_SLEEP); in xlog_recover_inode_pass2()
3446 ptr = kmem_alloc(len, KM_SLEEP); in xlog_recover_add_to_trans()
Dxfs_qm.c964 map = kmem_alloc(XFS_DQITER_MAP_SIZE * sizeof(*map), KM_SLEEP); in xfs_qm_dqiterate()
Dxfs_inode.c3215 ilist = kmem_alloc(ilist_size, KM_MAYFAIL|KM_NOFS); in xfs_iflush_cluster()
/linux-4.1.27/include/trace/events/
Dkmem.h11 DECLARE_EVENT_CLASS(kmem_alloc,
45 DEFINE_EVENT(kmem_alloc, kmalloc,
53 DEFINE_EVENT(kmem_alloc, kmem_cache_alloc,
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_inode_fork.c275 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 …]
Dxfs_dir2_sf.c184 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()
Dxfs_dir2.c339 args->value = kmem_alloc(len, KM_NOFS | KM_MAYFAIL); in xfs_dir_cilookup_result()
Dxfs_attr_leaf.c753 tmpbuffer = kmem_alloc(size, KM_SLEEP); in xfs_attr_shortform_to_leaf()
885 tmpbuffer = kmem_alloc(args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_to_shortform()
1350 tmpbuffer = kmem_alloc(args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_compact()
Dxfs_dir2_block.c1097 sfp = kmem_alloc(ifp->if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block()
Dxfs_da_btree.c2038 mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); in xfs_da_grow_inode_int()