/linux-3.4.99/fs/xfs/ |
D | kmem.h | 30 #define KM_SLEEP 0x0001u macro 45 BUG_ON(flags & ~(KM_SLEEP|KM_NOSLEEP|KM_NOFS|KM_MAYFAIL)); in kmem_flags_convert()
|
D | xfs_extfree_item.c | 249 efip = kmem_zalloc(size, KM_SLEEP); in xfs_efi_init() 251 efip = kmem_zone_zalloc(xfs_efi_zone, KM_SLEEP); in xfs_efi_init() 509 efdp = kmem_zalloc(size, KM_SLEEP); in xfs_efd_init() 511 efdp = kmem_zone_zalloc(xfs_efd_zone, KM_SLEEP); in xfs_efd_init()
|
D | xfs_log_cil.c | 44 cil = kmem_zalloc(sizeof(*cil), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init() 48 ctx = kmem_zalloc(sizeof(*ctx), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init() 105 KM_SLEEP|KM_NOFS); in xlog_cil_ticket_alloc() 195 KM_SLEEP); in xlog_cil_prepare_log_vecs() 209 KM_SLEEP|KM_NOFS); in xlog_cil_prepare_log_vecs() 452 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS); in xlog_cil_push()
|
D | xfs_mru_cache.c | 357 if (!(mru = kmem_zalloc(sizeof(*mru), KM_SLEEP))) in xfs_mru_cache_create() 362 mru->lists = kmem_zalloc(mru->grp_count * sizeof(*mru->lists), KM_SLEEP); in xfs_mru_cache_create() 451 elem = kmem_zone_zalloc(xfs_mru_elem_zone, KM_SLEEP); in xfs_mru_cache_insert()
|
D | xfs_trans_inode.c | 165 (char*)kmem_alloc(iip->ili_root_size, KM_SLEEP); in xfs_trans_inode_broot_debug()
|
D | xfs_error.c | 110 xfs_etest_fsname[i] = kmem_alloc(len + 1, KM_SLEEP); in xfs_errortag_add()
|
D | xfs_buf_item.c | 710 KM_SLEEP); in xfs_buf_item_init() 728 bip->bli_orig = (char *)kmem_alloc(XFS_BUF_COUNT(bp), KM_SLEEP); in xfs_buf_item_init() 730 bip->bli_logged = (char *)kmem_zalloc(XFS_BUF_COUNT(bp) / NBBY, KM_SLEEP); in xfs_buf_item_init()
|
D | xfs_dir2_sf.c | 252 hdr = kmem_alloc(mp->m_dirblksize, KM_SLEEP); in xfs_dir2_block_to_sf() 531 buf = kmem_alloc(old_isize, KM_SLEEP); in xfs_dir2_sf_addname_hard() 1209 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino4() 1284 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino8()
|
D | xfs_ialloc_btree.c | 241 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_inobt_init_cursor()
|
D | xfs_itable.c | 73 buf = kmem_alloc(sizeof(*buf), KM_SLEEP | KM_MAYFAIL); in xfs_bulkstat_one_int() 632 buffer = kmem_alloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers()
|
D | xfs_inode.c | 410 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP | KM_NOFS); in xfs_iformat() 490 ifp->if_u1.if_data = kmem_alloc(real_size, KM_SLEEP | KM_NOFS); in xfs_iformat_local() 616 ifp->if_broot = kmem_alloc(size, KM_SLEEP | KM_NOFS); in xfs_iformat_btree() 1813 ifp->if_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc() 1829 KM_SLEEP | KM_NOFS); in xfs_iroot_realloc() 1855 new_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc() 1960 KM_SLEEP | KM_NOFS); in xfs_idata_realloc() 1971 KM_SLEEP | KM_NOFS); in xfs_idata_realloc() 1976 KM_SLEEP | KM_NOFS); in xfs_idata_realloc()
|
D | xfs_log_recover.c | 1447 trans = kmem_zalloc(sizeof(xlog_recover_t), KM_SLEEP); in xlog_recover_new_tid() 1462 item = kmem_zalloc(sizeof(xlog_recover_item_t), KM_SLEEP); in xlog_recover_add_item() 1492 ptr = kmem_realloc(old_ptr, len+old_len, old_len, KM_SLEEP); in xlog_recover_add_to_cont_trans() 1540 ptr = kmem_alloc(len, KM_SLEEP); in xlog_recover_add_to_trans() 1567 KM_SLEEP); in xlog_recover_add_to_trans() 1669 bcp = kmem_alloc(sizeof(struct xfs_buf_cancel), KM_SLEEP); in xlog_recover_buffer_pass1() 2204 in_f = kmem_alloc(sizeof(xfs_inode_log_format_t), KM_SLEEP); in xlog_recover_inode_pass2() 3593 KM_SLEEP); in xlog_do_log_recovery()
|
D | xfs_dquot_item.c | 523 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
|
D | xfs_trans.c | 581 return _xfs_trans_alloc(mp, type, KM_SLEEP); in xfs_trans_alloc() 633 ntp = kmem_zone_zalloc(xfs_trans_zone, KM_SLEEP); in xfs_trans_dup() 1166 lidp = kmem_zone_zalloc(xfs_log_item_desc_zone, KM_SLEEP | KM_NOFS); in xfs_trans_add_item()
|
D | xfs_inode_item.c | 148 ext_buffer = kmem_alloc(XFS_IFORK_SIZE(ip, whichfork), KM_SLEEP); in xfs_inode_item_format_extents() 736 iip = ip->i_itemp = kmem_zone_zalloc(xfs_ili_zone, KM_SLEEP); in xfs_inode_item_init()
|
D | xfs_da_btree.c | 1626 mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); in xfs_da_grow_inode_int() 2011 mapp = kmem_alloc(sizeof(*mapp) * nfsb, KM_SLEEP); in xfs_da_do_buf() 2048 bplist = kmem_alloc(sizeof(*bplist) * nmap, KM_SLEEP); in xfs_da_do_buf() 2289 dabuf->data = kmem_alloc(BBTOB(dabuf->bbcount), KM_SLEEP); in xfs_da_buf_make() 2400 bplist = kmem_alloc(nbuf * sizeof(*bplist), KM_SLEEP); in xfs_da_brelse() 2426 bplist = kmem_alloc(nbuf * sizeof(*bplist), KM_SLEEP); in xfs_da_binval()
|
D | xfs_attr_leaf.c | 493 tmpbuffer = kmem_alloc(size, KM_SLEEP); in xfs_attr_shortform_to_leaf() 655 sbp = sbuf = kmem_alloc(sbsize, KM_SLEEP | KM_NOFS); in xfs_attr_shortform_list() 791 tmpbuffer = kmem_alloc(XFS_LBSIZE(dp->i_mount), KM_SLEEP); in xfs_attr_leaf_to_shortform() 1219 tmpbuffer = kmem_alloc(XFS_LBSIZE(mp), KM_SLEEP); in xfs_attr_leaf_compact() 1880 tmpbuffer = kmem_alloc(state->blocksize, KM_SLEEP); in xfs_attr_leaf_unbalance() 2421 args.value = kmem_alloc(valuelen, KM_SLEEP | KM_NOFS); in xfs_attr_leaf_list_int() 2904 list = (xfs_attr_inactive_list_t *)kmem_alloc(size, KM_SLEEP); in xfs_attr_leaf_inactive()
|
D | xfs_alloc_btree.c | 351 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_allocbt_init_cursor()
|
D | xfs_iget.c | 70 ip = kmem_zone_alloc(xfs_inode_zone, KM_SLEEP); in xfs_inode_alloc()
|
D | xfs_fsops.c | 653 tp = _xfs_trans_alloc(mp, XFS_TRANS_DUMMY1, KM_SLEEP); in xfs_fs_log_dummy()
|
D | xfs_trans_dquot.c | 878 tp->t_dqinfo = kmem_zone_zalloc(xfs_qm_dqtrxzone, KM_SLEEP); in xfs_trans_alloc_dqinfo()
|
D | xfs_buf.c | 64 (((flags) & XBF_DONT_BLOCK) ? KM_NOFS : KM_SLEEP) 1527 btp = kmem_zalloc(sizeof(*btp), KM_SLEEP); in xfs_alloc_buftarg()
|
D | xfs_qm.c | 625 qinf = mp->m_quotainfo = kmem_zalloc(sizeof(xfs_quotainfo_t), KM_SLEEP); in xfs_qm_init_quotainfo() 929 map = kmem_alloc(XFS_DQITER_MAP_SIZE * sizeof(*map), KM_SLEEP); in xfs_qm_dqiterate()
|
D | xfs_bmap_btree.c | 769 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_bmbt_init_cursor()
|
D | xfs_dquot.c | 497 dqp = kmem_zone_zalloc(xfs_qm_dqzone, KM_SLEEP); in xfs_qm_dqread()
|