Home
last modified time | relevance | path

Searched refs:KM_SLEEP (Results 1 – 25 of 32) sorted by relevance

12

/linux-3.4.99/fs/xfs/
Dkmem.h30 #define KM_SLEEP 0x0001u macro
45 BUG_ON(flags & ~(KM_SLEEP|KM_NOSLEEP|KM_NOFS|KM_MAYFAIL)); in kmem_flags_convert()
Dxfs_extfree_item.c249 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()
Dxfs_log_cil.c44 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()
Dxfs_mru_cache.c357 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()
Dxfs_trans_inode.c165 (char*)kmem_alloc(iip->ili_root_size, KM_SLEEP); in xfs_trans_inode_broot_debug()
Dxfs_error.c110 xfs_etest_fsname[i] = kmem_alloc(len + 1, KM_SLEEP); in xfs_errortag_add()
Dxfs_buf_item.c710 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()
Dxfs_dir2_sf.c252 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()
Dxfs_ialloc_btree.c241 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_inobt_init_cursor()
Dxfs_itable.c73 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()
Dxfs_inode.c410 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()
Dxfs_log_recover.c1447 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()
Dxfs_dquot_item.c523 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
Dxfs_trans.c581 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()
Dxfs_inode_item.c148 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()
Dxfs_da_btree.c1626 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()
Dxfs_attr_leaf.c493 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()
Dxfs_alloc_btree.c351 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_allocbt_init_cursor()
Dxfs_iget.c70 ip = kmem_zone_alloc(xfs_inode_zone, KM_SLEEP); in xfs_inode_alloc()
Dxfs_fsops.c653 tp = _xfs_trans_alloc(mp, XFS_TRANS_DUMMY1, KM_SLEEP); in xfs_fs_log_dummy()
Dxfs_trans_dquot.c878 tp->t_dqinfo = kmem_zone_zalloc(xfs_qm_dqtrxzone, KM_SLEEP); in xfs_trans_alloc_dqinfo()
Dxfs_buf.c64 (((flags) & XBF_DONT_BLOCK) ? KM_NOFS : KM_SLEEP)
1527 btp = kmem_zalloc(sizeof(*btp), KM_SLEEP); in xfs_alloc_buftarg()
Dxfs_qm.c625 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()
Dxfs_bmap_btree.c769 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_bmbt_init_cursor()
Dxfs_dquot.c497 dqp = kmem_zone_zalloc(xfs_qm_dqzone, KM_SLEEP); in xfs_qm_dqread()

12