Home
last modified time | relevance | path

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

/linux-4.1.27/fs/xfs/
Dkmem.h31 #define KM_SLEEP ((__force xfs_km_flags_t)0x0001u) macro
47 BUG_ON(flags & ~(KM_SLEEP|KM_NOSLEEP|KM_NOFS|KM_MAYFAIL|KM_ZERO)); in kmem_flags_convert()
Dxfs_extfree_item.c235 efip = kmem_zalloc(size, KM_SLEEP); in xfs_efi_init()
237 efip = kmem_zone_zalloc(xfs_efi_zone, KM_SLEEP); in xfs_efi_init()
496 efdp = kmem_zalloc(size, KM_SLEEP); in xfs_efd_init()
498 efdp = kmem_zone_zalloc(xfs_efd_zone, KM_SLEEP); in xfs_efd_init()
Dxfs_log_cil.c53 KM_SLEEP|KM_NOFS); in xlog_cil_ticket_alloc()
242 lv = kmem_zalloc(buf_size, KM_SLEEP|KM_NOFS); in xlog_cil_insert_format_items()
445 new_ctx = kmem_zalloc(sizeof(*new_ctx), KM_SLEEP|KM_NOFS); in xlog_cil_push()
955 cil = kmem_zalloc(sizeof(*cil), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init()
959 ctx = kmem_zalloc(sizeof(*ctx), KM_SLEEP|KM_MAYFAIL); in xlog_cil_init()
Dxfs_acl.c149 xfs_acl = kmem_zalloc_large(len, KM_SLEEP); in xfs_get_acl()
201 xfs_acl = kmem_zalloc_large(len, KM_SLEEP); in __xfs_set_acl()
Dxfs_mru_cache.c346 if (!(mru = kmem_zalloc(sizeof(*mru), KM_SLEEP))) in xfs_mru_cache_create()
351 mru->lists = kmem_zalloc(mru->grp_count * sizeof(*mru->lists), KM_SLEEP); in xfs_mru_cache_create()
Dxfs_icreate_item.c171 icp = kmem_zone_zalloc(xfs_icreate_zone, KM_SLEEP); in xfs_icreate_log()
Dxfs_error.c80 xfs_etest_fsname[i] = kmem_alloc(len + 1, KM_SLEEP); in xfs_errortag_add()
Dxfs_trans.c65 tp = _xfs_trans_alloc(mp, type, KM_SLEEP); in xfs_trans_alloc()
122 ntp = kmem_zone_zalloc(xfs_trans_zone, KM_SLEEP); in xfs_trans_dup()
711 lidp = kmem_zone_zalloc(xfs_log_item_desc_zone, KM_SLEEP | KM_NOFS); in xfs_trans_add_item()
Dxfs_itable.c68 buf = kmem_alloc(sizeof(*buf), KM_SLEEP | KM_MAYFAIL); in xfs_bulkstat_one_int()
573 buffer = kmem_alloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers()
Dxfs_attr_list.c135 sbp = sbuf = kmem_alloc(sbsize, KM_SLEEP | KM_NOFS); in xfs_attr_shortform_list()
454 args.value = kmem_alloc(valuelen, KM_SLEEP | KM_NOFS); in xfs_attr3_leaf_list_int()
Dxfs_dquot_item.c435 qf = kmem_zalloc(sizeof(struct xfs_qoff_logitem), KM_SLEEP); in xfs_qm_qoff_logitem_init()
Dxfs_buf_item.c730 KM_SLEEP); in xfs_buf_item_get_format()
775 bip = kmem_zone_zalloc(xfs_buf_item_zone, KM_SLEEP); in xfs_buf_item_init()
Dxfs_attr_inactive.c166 list = kmem_alloc(size, KM_SLEEP); in xfs_attr3_leaf_inactive()
Dxfs_log_recover.c1608 bcp = kmem_alloc(sizeof(struct xfs_buf_cancel), KM_SLEEP); in xlog_recover_buffer_pass1()
2523 in_f = kmem_alloc(sizeof(xfs_inode_log_format_t), KM_SLEEP); in xlog_recover_inode_pass2()
3368 item = kmem_zalloc(sizeof(xlog_recover_item_t), KM_SLEEP); in xlog_recover_add_item()
3398 ptr = kmem_realloc(old_ptr, len+old_len, old_len, KM_SLEEP); in xlog_recover_add_to_cont_trans()
3446 ptr = kmem_alloc(len, KM_SLEEP); in xlog_recover_add_to_trans()
3474 KM_SLEEP); in xlog_recover_add_to_trans()
3604 trans = kmem_zalloc(sizeof(struct xlog_recover), KM_SLEEP); in xlog_recover_ophdr_to_trans()
4380 KM_SLEEP); in xlog_do_log_recovery()
Dxfs_dir2_readdir.c504 KM_SLEEP | KM_NOFS); in xfs_dir2_leaf_getdents()
Dxfs_inode_item.c566 iip = ip->i_itemp = kmem_zone_zalloc(xfs_ili_zone, KM_SLEEP); in xfs_inode_item_init()
Dxfs_trans_dquot.c876 tp->t_dqinfo = kmem_zone_zalloc(xfs_qm_dqtrxzone, KM_SLEEP); in xfs_trans_alloc_dqinfo()
Dxfs_ioctl32.c373 kbuf = kmem_zalloc_large(al_hreq.buflen, KM_SLEEP); in xfs_compat_attrlist_by_handle()
Dxfs_ioctl.c427 kbuf = kmem_zalloc_large(al_hreq.buflen, KM_SLEEP); in xfs_attrlist_by_handle()
460 kbuf = kmem_zalloc_large(*len, KM_SLEEP); in xfs_attrmulti_attr_get()
Dxfs_qm.c577 qinf = mp->m_quotainfo = kmem_zalloc(sizeof(xfs_quotainfo_t), KM_SLEEP); in xfs_qm_init_quotainfo()
964 map = kmem_alloc(XFS_DQITER_MAP_SIZE * sizeof(*map), KM_SLEEP); in xfs_qm_dqiterate()
Dxfs_dquot.c574 dqp = kmem_zone_zalloc(xfs_qm_dqzone, KM_SLEEP); in xfs_qm_dqread()
Dxfs_mount.c83 KM_SLEEP); in xfs_uuid_mount()
Dxfs_icache.c58 ip = kmem_zone_alloc(xfs_inode_zone, KM_SLEEP); in xfs_inode_alloc()
Dxfs_rtalloc.c964 nmp = kmem_alloc(sizeof(*nmp), KM_SLEEP); in xfs_growfs_rt()
Dxfs_buf.c1690 btp = kmem_zalloc(sizeof(*btp), KM_SLEEP | KM_NOFS); in xfs_alloc_buftarg()
Dxfs_log.c455 KM_SLEEP | KM_MAYFAIL); in xfs_log_reserve()
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_dir2.c117 KM_SLEEP | KM_MAYFAIL); in xfs_da_mount()
119 KM_SLEEP | KM_MAYFAIL); in xfs_da_mount()
239 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_init()
277 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_createname()
377 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_lookup()
446 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_removename()
511 args = kmem_zalloc(sizeof(*args), KM_SLEEP | KM_NOFS); in xfs_dir_replace()
Dxfs_inode_fork.c195 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP | KM_NOFS); in xfs_iformat_fork()
275 ifp->if_u1.if_data = kmem_alloc(real_size, KM_SLEEP | KM_NOFS); in xfs_iformat_local()
402 ifp->if_broot = kmem_alloc(size, KM_SLEEP | KM_NOFS); in xfs_iformat_btree()
503 ifp->if_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc()
519 KM_SLEEP | KM_NOFS); in xfs_iroot_realloc()
545 new_broot = kmem_alloc(new_size, KM_SLEEP | KM_NOFS); in xfs_iroot_realloc()
652 KM_SLEEP | KM_NOFS); in xfs_idata_realloc()
663 KM_SLEEP | KM_NOFS); in xfs_idata_realloc()
668 KM_SLEEP | KM_NOFS); in xfs_idata_realloc()
Dxfs_dir2_sf.c184 dst = kmem_alloc(mp->m_sb.sb_inodesize, KM_SLEEP); in xfs_dir2_block_to_sf()
463 buf = kmem_alloc(old_isize, KM_SLEEP); in xfs_dir2_sf_addname_hard()
1021 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino4()
1097 buf = kmem_alloc(oldsize, KM_SLEEP); in xfs_dir2_sf_toino8()
Dxfs_ialloc_btree.c382 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_inobt_init_cursor()
Dxfs_alloc_btree.c465 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_allocbt_init_cursor()
Dxfs_attr_leaf.c753 tmpbuffer = kmem_alloc(size, KM_SLEEP); in xfs_attr_shortform_to_leaf()
885 tmpbuffer = kmem_alloc(args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_to_shortform()
1350 tmpbuffer = kmem_alloc(args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_compact()
2076 tmp_leaf = kmem_zalloc(state->args->geo->blksize, KM_SLEEP); in xfs_attr3_leaf_unbalance()
Dxfs_da_btree.c2038 mapp = kmem_alloc(sizeof(*mapp) * count, KM_SLEEP); in xfs_da_grow_inode_int()
2422 KM_SLEEP | KM_NOFS); in xfs_buf_map_from_irec()
2481 KM_SLEEP | KM_NOFS); in xfs_dabuf_map()
Dxfs_sb.c792 tp = _xfs_trans_alloc(mp, XFS_TRANS_SB_CHANGE, KM_SLEEP); in xfs_sync_sb()
Dxfs_bmap_btree.c786 cur = kmem_zone_zalloc(xfs_btree_cur_zone, KM_SLEEP); in xfs_bmbt_init_cursor()
Dxfs_dir2_block.c1097 sfp = kmem_alloc(ifp->if_bytes, KM_SLEEP); in xfs_dir2_sf_to_block()
Dxfs_bmap.c594 new = kmem_zone_alloc(xfs_bmap_free_item_zone, KM_SLEEP); in xfs_bmap_add_free()
1175 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP); in xfs_bmap_add_attrfork()