Home
last modified time | relevance | path

Searched refs:__GFP_WAIT (Results 1 – 25 of 53) sorted by relevance

123

/linux-2.6.39/include/linux/
Dgfp.h69 #define __GFP_WAIT ((__force gfp_t)___GFP_WAIT) /* Can wait and reschedule? */ macro
102 #define GFP_NOIO (__GFP_WAIT)
103 #define GFP_NOFS (__GFP_WAIT | __GFP_IO)
104 #define GFP_KERNEL (__GFP_WAIT | __GFP_IO | __GFP_FS)
105 #define GFP_TEMPORARY (__GFP_WAIT | __GFP_IO | __GFP_FS | \
107 #define GFP_USER (__GFP_WAIT | __GFP_IO | __GFP_FS | __GFP_HARDWALL)
108 #define GFP_HIGHUSER (__GFP_WAIT | __GFP_IO | __GFP_FS | __GFP_HARDWALL | \
110 #define GFP_HIGHUSER_MOVABLE (__GFP_WAIT | __GFP_IO | __GFP_FS | \
128 #define GFP_RECLAIM_MASK (__GFP_WAIT|__GFP_HIGH|__GFP_IO|__GFP_FS|\
133 #define GFP_BOOT_MASK (__GFP_BITS_MASK & ~(__GFP_WAIT|__GFP_IO|__GFP_FS))
Dskbuff.h754 might_sleep_if(pri & __GFP_WAIT); in skb_share_check()
786 might_sleep_if(pri & __GFP_WAIT); in skb_unshare()
/linux-2.6.39/mm/
Dmempool.c209 might_sleep_if(gfp_mask & __GFP_WAIT); in mempool_alloc()
215 gfp_temp = gfp_mask & ~(__GFP_WAIT|__GFP_IO); in mempool_alloc()
232 if (!(gfp_mask & __GFP_WAIT)) in mempool_alloc()
Dfailslab.c23 if (failslab.ignore_gfp_wait && (gfpflags & __GFP_WAIT)) in should_failslab()
Ddmapool.c314 might_sleep_if(mem_flags & __GFP_WAIT); in dma_pool_alloc()
324 if (mem_flags & __GFP_WAIT) { in dma_pool_alloc()
Dslab.c2839 if (local_flags & __GFP_WAIT) in cache_grow()
2869 if (local_flags & __GFP_WAIT) in cache_grow()
2883 if (local_flags & __GFP_WAIT) in cache_grow()
3102 might_sleep_if(flags & __GFP_WAIT); in cache_alloc_debugcheck_before()
3281 if (local_flags & __GFP_WAIT) in fallback_alloc()
3285 if (local_flags & __GFP_WAIT) in fallback_alloc()
/linux-2.6.39/include/trace/events/
Dgfpflags.h23 {(unsigned long)__GFP_WAIT, "GFP_WAIT"}, \
/linux-2.6.39/drivers/ide/
Dide-pm.c21 rq = blk_get_request(drive->queue, READ, __GFP_WAIT); in generic_ide_suspend()
61 rq = blk_get_request(drive->queue, READ, __GFP_WAIT); in generic_ide_resume()
Dide-ioctls.c127 rq = blk_get_request(drive->queue, READ, __GFP_WAIT); in ide_cmd_ioctl()
223 rq = blk_get_request(drive->queue, READ, __GFP_WAIT); in generic_drive_reset()
Dide-devsets.c168 rq = blk_get_request(q, READ, __GFP_WAIT); in ide_devset_execute()
Dide-park.c34 rq = blk_get_request(q, READ, __GFP_WAIT); in issue_park_cmd()
Dide-taskfile.c433 rq = blk_get_request(drive->queue, rw, __GFP_WAIT); in ide_raw_taskfile()
444 nsect * SECTOR_SIZE, __GFP_WAIT); in ide_raw_taskfile()
Dide-cd_ioctl.c306 rq = blk_get_request(drive->queue, READ, __GFP_WAIT); in ide_cdrom_reset()
/linux-2.6.39/fs/xfs/linux-2.6/
Dkmem.h121 return ((gfp_mask & __GFP_WAIT) && (gfp_mask & __GFP_FS)); in kmem_shake_allow()
/linux-2.6.39/fs/nilfs2/
Dmdt.h73 #define NILFS_MDT_GFP (__GFP_WAIT | __GFP_IO | __GFP_HIGHMEM)
/linux-2.6.39/kernel/power/
Dblock_io.c34 bio = bio_alloc(__GFP_WAIT | __GFP_HIGH, 1); in submit()
Dswap.c253 src = (void *)__get_free_page(__GFP_WAIT | __GFP_HIGH); in write_page()
443 page = (void *)__get_free_page(__GFP_WAIT | __GFP_HIGH); in save_image_lzo()
643 handle->cur = (struct swap_map_page *)get_zeroed_page(__GFP_WAIT | __GFP_HIGH); in get_swap_reader()
765 page[i] = (void *)__get_free_page(__GFP_WAIT | __GFP_HIGH); in load_image_lzo()
/linux-2.6.39/block/
Dscsi_ioctl.c459 rq = blk_get_request(q, in_len ? WRITE : READ, __GFP_WAIT); in sg_scsi_ioctl()
505 if (bytes && blk_rq_map_kern(q, rq, buffer, bytes, __GFP_WAIT)) { in sg_scsi_ioctl()
545 rq = blk_get_request(q, WRITE, __GFP_WAIT); in __blk_send_generic()
/linux-2.6.39/Documentation/vm/
Dbalance3 Memory balancing is needed for non __GFP_WAIT as well as for non
6 There are two reasons to be requesting non __GFP_WAIT allocations:
/linux-2.6.39/lib/
Dscatterlist.c288 gfp_mask &= ~__GFP_WAIT; in __sg_alloc_table()
/linux-2.6.39/fs/fscache/
Dcookie.c108 INIT_RADIX_TREE(&cookie->stores, GFP_NOFS & ~__GFP_WAIT); in __fscache_acquire_cookie()
/linux-2.6.39/drivers/block/
Dosdblk.c275 gfpmask &= ~__GFP_WAIT; in bio_chain_clone()
/linux-2.6.39/kernel/
Daudit.c1154 if (gfp_mask & __GFP_WAIT) in audit_log_start()
1162 if (gfp_mask & __GFP_WAIT && audit_backlog_wait_time in audit_log_start()
/linux-2.6.39/fs/
Dbio.c210 gfp_t __gfp_mask = gfp_mask & ~(__GFP_WAIT | __GFP_IO); in bvec_alloc_bs()
224 if (unlikely(!bvl && (gfp_mask & __GFP_WAIT))) { in bvec_alloc_bs()
/linux-2.6.39/fs/btrfs/
Dextent_io.c477 if (!prealloc && (mask & __GFP_WAIT)) { in clear_extent_bit()
595 if (mask & __GFP_WAIT) in clear_extent_bit()
726 if (!prealloc && (mask & __GFP_WAIT)) { in set_extent_bit()
895 if (mask & __GFP_WAIT) in set_extent_bit()
984 if (err == -EEXIST && (mask & __GFP_WAIT)) { in lock_extent_bits()
2895 if ((mask & __GFP_WAIT) && in try_release_extent_mapping()

123