Home
last modified time | relevance | path

Searched refs:KM_MAYFAIL (Results 1 – 12 of 12) sorted by relevance

/linux-4.1.27/fs/xfs/
Dkmem.c54 if (ptr || (flags & (KM_MAYFAIL|KM_NOSLEEP))) in kmem_alloc()
71 ptr = kmem_zalloc(size, flags | KM_MAYFAIL); in kmem_zalloc_large()
119 if (ptr || (flags & (KM_MAYFAIL|KM_NOSLEEP))) in kmem_zone_alloc()
Dkmem.h34 #define KM_MAYFAIL ((__force xfs_km_flags_t)0x0008u) macro
47 BUG_ON(flags & ~(KM_SLEEP|KM_NOSLEEP|KM_NOFS|KM_MAYFAIL|KM_ZERO)); in kmem_flags_convert()
Dxfs_log_cil.c955 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_filestream.c259 item = kmem_alloc(sizeof(*item), KM_MAYFAIL); in xfs_filestream_pick_ag()
Dxfs_extent_busy.c48 new = kmem_zalloc(sizeof(struct xfs_extent_busy), KM_MAYFAIL); in xfs_extent_busy_insert()
Dxfs_trans_ail.c762 ailp = kmem_zalloc(sizeof(struct xfs_ail), KM_MAYFAIL); in xfs_trans_ail_init()
Dxfs_itable.c68 buf = kmem_alloc(sizeof(*buf), KM_SLEEP | KM_MAYFAIL); in xfs_bulkstat_one_int()
Dxfs_bmap_util.c613 map = kmem_alloc(subnex * sizeof(*map), KM_MAYFAIL | KM_NOFS); in xfs_getbmap()
1683 tempifp = kmem_alloc(sizeof(xfs_ifork_t), KM_MAYFAIL); in xfs_swap_extents()
Dxfs_log.c455 KM_SLEEP | KM_MAYFAIL); in xfs_log_reserve()
1338 log = kmem_zalloc(sizeof(struct xlog), KM_MAYFAIL); in xlog_alloc_log()
1428 *iclogp = kmem_zalloc(sizeof(xlog_in_core_t), KM_MAYFAIL); in xlog_alloc_log()
Dxfs_mount.c197 pag = kmem_zalloc(sizeof(*pag), KM_MAYFAIL); in xfs_initialize_perag()
Dxfs_inode.c3215 ilist = kmem_alloc(ilist_size, KM_MAYFAIL|KM_NOFS); in xfs_iflush_cluster()
/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()
339 args->value = kmem_alloc(len, KM_NOFS | KM_MAYFAIL); in xfs_dir_cilookup_result()