Home
last modified time | relevance | path

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

12

/Linux-v4.19/fs/xfs/libxfs/
Dxfs_inode_fork.c99 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP | KM_NOFS); in xfs_iformat_fork()
152 ifp->if_u1.if_data = kmem_alloc(real_size, KM_SLEEP | KM_NOFS); in xfs_init_local_fork()
307 ifp->if_broot = kmem_alloc(size, KM_SLEEP | KM_NOFS); in xfs_iformat_btree()
372 ifp->if_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc()
387 KM_SLEEP | KM_NOFS); in xfs_iroot_realloc()
413 new_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc()
497 roundup(new_size, 4), KM_SLEEP | KM_NOFS); in xfs_idata_realloc()
688 KM_SLEEP | KM_NOFS); in xfs_ifork_init_cow()
Dxfs_dir2.c117 KM_SLEEP | KM_MAYFAIL); in xfs_da_mount()
119 KM_SLEEP | KM_MAYFAIL); in xfs_da_mount()
224 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_init()
261 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_createname()
360 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_lookup()
429 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_removename()
490 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_replace()
Dxfs_dir2_sf.c170 dst = kmem_alloc(mp->m_sb.sb_inodesize, KM_SLEEP); in xfs_dir2_block_to_sf()
442 buf = kmem_alloc(old_isize, KM_SLEEP); in xfs_dir2_sf_addname_hard()
1102 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino4()
1175 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino8()
Dxfs_defer.c507 KM_SLEEP | KM_NOFS); in xfs_defer_add()
Dxfs_refcount.c1194 KM_SLEEP | KM_NOFS); in __xfs_refcount_add()
1607 rr = kmem_alloc(sizeof(struct xfs_refcount_recovery), KM_SLEEP); in xfs_refcount_recover_extent()
/Linux-v4.19/fs/xfs/
Dkmem.h19 #define KM_SLEEP ((__force xfs_km_flags_t)0x0001u) macro
35 BUG_ON(flags & ~(KM_SLEEP|KM_NOSLEEP|KM_NOFS|KM_MAYFAIL|KM_ZERO)); in kmem_flags_convert()
Dxfs_extfree_item.c220 efip = kmem_zalloc(size, KM_SLEEP); in xfs_efi_init()
222 efip = kmem_zone_zalloc(xfs_efi_zone, KM_SLEEP); in xfs_efi_init()
469 efdp = kmem_zalloc(size, KM_SLEEP); in xfs_efd_init()
471 efdp = kmem_zone_zalloc(xfs_efd_zone, KM_SLEEP); in xfs_efd_init()
Dxfs_refcount_item.c206 KM_SLEEP); in xfs_cui_init()
208 cuip = kmem_zone_zalloc(xfs_cui_zone, KM_SLEEP); in xfs_cui_init()
369 cudp = kmem_zone_zalloc(xfs_cud_zone, KM_SLEEP); in xfs_cud_init()
Dxfs_rmap_item.c204 ruip = kmem_zalloc(xfs_rui_log_item_sizeof(nextents), KM_SLEEP); in xfs_rui_init()
206 ruip = kmem_zone_zalloc(xfs_rui_zone, KM_SLEEP); in xfs_rui_init()
390 rudp = kmem_zone_zalloc(xfs_rud_zone, KM_SLEEP); in xfs_rud_init()
Dxfs_acl.c140 xfs_acl = kmem_zalloc_large(len, KM_SLEEP); in xfs_get_acl()
185 xfs_acl = kmem_zalloc_large(len, KM_SLEEP); in __xfs_set_acl()
Dxfs_log_cil.c44 KM_SLEEP|KM_NOFS); in xlog_cil_ticket_alloc()
192 lv = kmem_alloc_large(buf_size, KM_SLEEP | KM_NOFS); in xlog_cil_alloc_shadow_bufs()
647 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS); in xlog_cil_push()
1158 cil = kmem_zalloc(sizeof(*cil), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init()
1162 ctx = kmem_zalloc(sizeof(*ctx), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init()
Dxfs_mru_cache.c336 if (!(mru = kmem_zalloc(sizeof(*mru), KM_SLEEP))) in xfs_mru_cache_create()
341 mru->lists = kmem_zalloc(mru->grp_count * sizeof(*mru->lists), KM_SLEEP); in xfs_mru_cache_create()
Dxfs_bmap_item.c203 buip = kmem_zone_zalloc(xfs_bui_zone, KM_SLEEP); in xfs_bui_init()
364 budp = kmem_zone_zalloc(xfs_bud_zone, KM_SLEEP); in xfs_bud_init()
Dxfs_itable.c47 buf = kmem_zalloc(sizeof(*buf), KM_SLEEP | KM_MAYFAIL); in xfs_bulkstat_one_int()
367 irbuf = kmem_zalloc_large(PAGE_SIZE * 4, KM_SLEEP); in xfs_bulkstat()
562 buffer = kmem_zalloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers()
Dxfs_icreate_item.c159 icp = kmem_zone_zalloc(xfs_icreate_zone, KM_SLEEP); in xfs_icreate_log()
Dxfs_dquot_item.c456 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
Dxfs_attr_inactive.c155 list = kmem_alloc(size, KM_SLEEP); in xfs_attr3_leaf_inactive()
Dxfs_error.c212 KM_SLEEP | KM_MAYFAIL); in xfs_errortag_init()
Dxfs_buf_item.c707 KM_SLEEP); in xfs_buf_item_get_format()
752 bip = kmem_zone_zalloc(xfs_buf_item_zone, KM_SLEEP); in xfs_buf_item_init()
Dxfs_trans.c94 ntp = kmem_zone_zalloc(xfs_trans_zone, KM_SLEEP); in xfs_trans_dup()
268 (flags & XFS_TRANS_NOFS) ? KM_NOFS : KM_SLEEP); in xfs_trans_alloc()
Dxfs_extent_busy.c36 new = kmem_zalloc(sizeof(struct xfs_extent_busy), KM_SLEEP); in xfs_extent_busy_insert()
Dxfs_log_recover.c2043 bcp = kmem_alloc(sizeof(struct xfs_buf_cancel), KM_SLEEP); in xlog_recover_buffer_pass1()
3011 in_f = kmem_alloc(sizeof(struct xfs_inode_log_format), KM_SLEEP); in xlog_recover_inode_pass2()
4243 item = kmem_zalloc(sizeof(xlog_recover_item_t), KM_SLEEP); in xlog_recover_add_item()
4283 ptr = kmem_realloc(old_ptr, len + old_len, KM_SLEEP); in xlog_recover_add_to_cont_trans()
4343 ptr = kmem_alloc(len, KM_SLEEP); in xlog_recover_add_to_trans()
4371 KM_SLEEP); in xlog_recover_add_to_trans()
4505 trans = kmem_zalloc(sizeof(struct xlog_recover), KM_SLEEP); in xlog_recover_ophdr_to_trans()
5617 KM_SLEEP); in xlog_do_log_recovery()
Dxfs_attr_list.c117 sbp = sbuf = kmem_alloc(sbsize, KM_SLEEP | KM_NOFS); in xfs_attr_shortform_list()
/Linux-v4.19/fs/xfs/scrub/
Dsymlink.c33 sc->buf = kmem_zalloc_large(XFS_SYMLINK_MAXLEN + 1, KM_SLEEP); in xchk_setup_symlink()
Dattr.c49 sc->buf = kmem_zalloc_large(sz, KM_SLEEP); in xchk_setup_xattr()

12