/fs/xfs/ |
D | kmem.h | 31 #define KM_SLEEP ((__force xfs_km_flags_t)0x0001u) macro 46 BUG_ON(flags & ~(KM_SLEEP|KM_NOSLEEP|KM_NOFS|KM_MAYFAIL)); in kmem_flags_convert()
|
D | xfs_extfree_item.c | 228 efip = kmem_zalloc(size, KM_SLEEP); in xfs_efi_init() 230 efip = kmem_zone_zalloc(xfs_efi_zone, KM_SLEEP); in xfs_efi_init() 482 efdp = kmem_zalloc(size, KM_SLEEP); in xfs_efd_init() 484 efdp = kmem_zone_zalloc(xfs_efd_zone, KM_SLEEP); in xfs_efd_init()
|
D | xfs_log_cil.c | 52 KM_SLEEP|KM_NOFS); in xlog_cil_ticket_alloc() 142 KM_SLEEP|KM_NOFS); in xlog_cil_prepare_log_vecs() 156 KM_SLEEP|KM_NOFS); in xlog_cil_prepare_log_vecs() 397 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS); in xlog_cil_push() 837 cil = kmem_zalloc(sizeof(*cil), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init() 841 ctx = kmem_zalloc(sizeof(*ctx), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init()
|
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_buf_item.c | 650 KM_SLEEP); in xfs_buf_item_get_format() 695 bip = kmem_zone_zalloc(xfs_buf_item_zone, KM_SLEEP); in xfs_buf_item_init() 732 bip->bli_orig = kmem_alloc(BBTOB(bp->b_length), KM_SLEEP); in xfs_buf_item_init() 734 bip->bli_logged = kmem_zalloc(BBTOB(bp->b_length) / NBBY, KM_SLEEP); in xfs_buf_item_init()
|
D | xfs_error.c | 109 xfs_etest_fsname[i] = kmem_alloc(len + 1, KM_SLEEP); in xfs_errortag_add()
|
D | xfs_dir2_sf.c | 251 hdr = kmem_alloc(mp->m_dirblksize, KM_SLEEP); in xfs_dir2_block_to_sf() 530 buf = kmem_alloc(old_isize, KM_SLEEP); in xfs_dir2_sf_addname_hard() 1208 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino4() 1283 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino8()
|
D | xfs_itable.c | 73 buf = kmem_alloc(sizeof(*buf), KM_SLEEP | KM_MAYFAIL); in xfs_bulkstat_one_int() 633 buffer = kmem_alloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers()
|
D | xfs_inode.c | 615 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP | KM_NOFS); in xfs_iformat() 695 ifp->if_u1.if_data = kmem_alloc(real_size, KM_SLEEP | KM_NOFS); in xfs_iformat_local() 822 ifp->if_broot = kmem_alloc(size, KM_SLEEP | KM_NOFS); in xfs_iformat_btree() 2141 ifp->if_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc() 2157 KM_SLEEP | KM_NOFS); in xfs_iroot_realloc() 2183 new_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc() 2289 KM_SLEEP | KM_NOFS); in xfs_idata_realloc() 2300 KM_SLEEP | KM_NOFS); in xfs_idata_realloc() 2305 KM_SLEEP | KM_NOFS); in xfs_idata_realloc()
|
D | xfs_log_recover.c | 1470 trans = kmem_zalloc(sizeof(xlog_recover_t), KM_SLEEP); in xlog_recover_new_tid() 1485 item = kmem_zalloc(sizeof(xlog_recover_item_t), KM_SLEEP); in xlog_recover_add_item() 1515 ptr = kmem_realloc(old_ptr, len+old_len, old_len, KM_SLEEP); in xlog_recover_add_to_cont_trans() 1563 ptr = kmem_alloc(len, KM_SLEEP); in xlog_recover_add_to_trans() 1590 KM_SLEEP); in xlog_recover_add_to_trans() 1743 bcp = kmem_alloc(sizeof(struct xfs_buf_cancel), KM_SLEEP); in xlog_recover_buffer_pass1() 2521 in_f = kmem_alloc(sizeof(xfs_inode_log_format_t), KM_SLEEP); in xlog_recover_inode_pass2() 3925 KM_SLEEP); in xlog_do_log_recovery()
|
D | xfs_inode_item.c | 146 ext_buffer = kmem_alloc(XFS_IFORK_SIZE(ip, whichfork), KM_SLEEP); in xfs_inode_item_format_extents() 651 iip = ip->i_itemp = kmem_zone_zalloc(xfs_ili_zone, KM_SLEEP); in xfs_inode_item_init()
|
D | xfs_dquot_item.c | 449 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
|
D | xfs_trans.c | 694 tp = _xfs_trans_alloc(mp, type, KM_SLEEP); in xfs_trans_alloc() 751 ntp = kmem_zone_zalloc(xfs_trans_zone, KM_SLEEP); in xfs_trans_dup() 1288 lidp = kmem_zone_zalloc(xfs_log_item_desc_zone, KM_SLEEP | KM_NOFS); in xfs_trans_add_item()
|
D | xfs_ialloc_btree.c | 332 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_inobt_init_cursor()
|
D | xfs_attr_leaf.c | 687 tmpbuffer = kmem_alloc(size, KM_SLEEP); in xfs_attr_shortform_to_leaf() 847 sbp = sbuf = kmem_alloc(sbsize, KM_SLEEP | KM_NOFS); in xfs_attr_shortform_list() 991 tmpbuffer = kmem_alloc(XFS_LBSIZE(dp->i_mount), KM_SLEEP); in xfs_attr3_leaf_to_shortform() 1460 tmpbuffer = kmem_alloc(XFS_LBSIZE(mp), KM_SLEEP); in xfs_attr3_leaf_compact() 2194 tmp_leaf = kmem_zalloc(state->blocksize, KM_SLEEP); in xfs_attr3_leaf_unbalance() 2735 args.value = kmem_alloc(valuelen, KM_SLEEP | KM_NOFS); in xfs_attr3_leaf_list_int() 3248 list = kmem_alloc(size, KM_SLEEP); in xfs_attr3_leaf_inactive()
|
D | xfs_alloc_btree.c | 467 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_allocbt_init_cursor()
|
D | xfs_ioctl.c | 425 kbuf = kmem_zalloc(al_hreq.buflen, KM_SLEEP | KM_MAYFAIL); in xfs_attrlist_by_handle() 464 kbuf = kmem_zalloc(*len, KM_SLEEP | KM_MAYFAIL); in xfs_attrmulti_attr_get()
|
D | xfs_trans_dquot.c | 878 tp->t_dqinfo = kmem_zone_zalloc(xfs_qm_dqtrxzone, KM_SLEEP); in xfs_trans_alloc_dqinfo()
|
D | xfs_qm.c | 649 qinf = mp->m_quotainfo = kmem_zalloc(sizeof(xfs_quotainfo_t), KM_SLEEP); in xfs_qm_init_quotainfo() 979 map = kmem_alloc(XFS_DQITER_MAP_SIZE * sizeof(*map), KM_SLEEP); in xfs_qm_dqiterate()
|
D | xfs_da_btree.c | 2072 mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); in xfs_da_grow_inode_int() 2469 KM_SLEEP | KM_NOFS); in xfs_buf_map_from_irec() 2526 KM_SLEEP | KM_NOFS); in xfs_dabuf_map()
|
D | xfs_ioctl32.c | 376 kbuf = kmem_zalloc(al_hreq.buflen, KM_SLEEP | KM_MAYFAIL); in xfs_compat_attrlist_by_handle()
|
D | xfs_fsops.c | 741 tp = _xfs_trans_alloc(mp, XFS_TRANS_DUMMY1, KM_SLEEP); in xfs_fs_log_dummy()
|
D | xfs_bmap_btree.c | 875 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_bmbt_init_cursor()
|
D | xfs_icache.c | 62 ip = kmem_zone_alloc(xfs_inode_zone, KM_SLEEP); in xfs_inode_alloc()
|
D | xfs_mount.c | 162 KM_SLEEP); in xfs_uuid_mount() 1700 tp = _xfs_trans_alloc(mp, XFS_TRANS_SB_COUNT, KM_SLEEP); in xfs_log_sbcount()
|