Home
last modified time | relevance | path

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

12

/fs/xfs/
Dkmem.h31 #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()
Dxfs_extfree_item.c228 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()
Dxfs_log_cil.c52 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()
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_buf_item.c650 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()
Dxfs_error.c109 xfs_etest_fsname[i] = kmem_alloc(len + 1, KM_SLEEP); in xfs_errortag_add()
Dxfs_dir2_sf.c251 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()
Dxfs_itable.c73 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()
Dxfs_inode.c615 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()
Dxfs_log_recover.c1470 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()
Dxfs_inode_item.c146 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()
Dxfs_dquot_item.c449 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
Dxfs_trans.c694 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()
Dxfs_ialloc_btree.c332 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_inobt_init_cursor()
Dxfs_attr_leaf.c687 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()
Dxfs_alloc_btree.c467 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_allocbt_init_cursor()
Dxfs_ioctl.c425 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()
Dxfs_trans_dquot.c878 tp->t_dqinfo = kmem_zone_zalloc(xfs_qm_dqtrxzone, KM_SLEEP); in xfs_trans_alloc_dqinfo()
Dxfs_qm.c649 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()
Dxfs_da_btree.c2072 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()
Dxfs_ioctl32.c376 kbuf = kmem_zalloc(al_hreq.buflen, KM_SLEEP | KM_MAYFAIL); in xfs_compat_attrlist_by_handle()
Dxfs_fsops.c741 tp = _xfs_trans_alloc(mp, XFS_TRANS_DUMMY1, KM_SLEEP); in xfs_fs_log_dummy()
Dxfs_bmap_btree.c875 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_bmbt_init_cursor()
Dxfs_icache.c62 ip = kmem_zone_alloc(xfs_inode_zone, KM_SLEEP); in xfs_inode_alloc()
Dxfs_mount.c162 KM_SLEEP); in xfs_uuid_mount()
1700 tp = _xfs_trans_alloc(mp, XFS_TRANS_SB_COUNT, KM_SLEEP); in xfs_log_sbcount()

12