Home
last modified time | relevance | path

Searched defs:gfp_mask (Results 1 – 25 of 126) sorted by relevance

123456

/linux-3.4.99/include/linux/
Dcpuset.h34 static inline int cpuset_node_allowed_softwall(int node, gfp_t gfp_mask) in cpuset_node_allowed_softwall()
40 static inline int cpuset_node_allowed_hardwall(int node, gfp_t gfp_mask) in cpuset_node_allowed_hardwall()
46 static inline int cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_softwall()
51 static inline int cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_hardwall()
155 static inline int cpuset_node_allowed_softwall(int node, gfp_t gfp_mask) in cpuset_node_allowed_softwall()
160 static inline int cpuset_node_allowed_hardwall(int node, gfp_t gfp_mask) in cpuset_node_allowed_hardwall()
165 static inline int cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_softwall()
170 static inline int cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_hardwall()
Dgfp.h299 __alloc_pages(gfp_t gfp_mask, unsigned int order, in __alloc_pages()
305 static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, in alloc_pages_node()
315 static inline struct page *alloc_pages_exact_node(int nid, gfp_t gfp_mask, in alloc_pages_exact_node()
327 alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages()
335 #define alloc_pages(gfp_mask, order) \ argument
337 #define alloc_pages_vma(gfp_mask, order, vma, addr, node) \ argument
340 #define alloc_page(gfp_mask) alloc_pages(gfp_mask, 0) argument
341 #define alloc_page_vma(gfp_mask, vma, addr) \ argument
343 #define alloc_page_vma_node(gfp_mask, vma, addr, node) \ argument
354 #define __get_free_page(gfp_mask) \ argument
[all …]
Dmemcontrol.h206 struct mm_struct *mm, gfp_t gfp_mask) in mem_cgroup_newpage_charge()
212 struct mm_struct *mm, gfp_t gfp_mask) in mem_cgroup_cache_charge()
218 struct page *page, gfp_t gfp_mask, struct mem_cgroup **memcgp) in mem_cgroup_try_charge_swapin()
307 struct mem_cgroup **memcgp, gfp_t gfp_mask) in mem_cgroup_prepare_migration()
394 gfp_t gfp_mask, in mem_cgroup_soft_limit_reclaim()
Dshrinker.h9 gfp_t gfp_mask; member
/linux-3.4.99/mm/
Doom_kill.c247 gfp_t gfp_mask, nodemask_t *nodemask, in constrained_alloc()
297 gfp_t gfp_mask, nodemask_t *nodemask, in constrained_alloc()
421 static void dump_header(struct task_struct *p, gfp_t gfp_mask, int order, in dump_header()
439 static void oom_kill_process(struct task_struct *p, gfp_t gfp_mask, int order, in oom_kill_process()
535 static void check_panic_on_oom(enum oom_constraint constraint, gfp_t gfp_mask, in check_panic_on_oom()
557 void mem_cgroup_out_of_memory(struct mem_cgroup *memcg, gfp_t gfp_mask, in mem_cgroup_out_of_memory()
604 int try_set_zonelist_oom(struct zonelist *zonelist, gfp_t gfp_mask) in try_set_zonelist_oom()
637 void clear_zonelist_oom(struct zonelist *zonelist, gfp_t gfp_mask) in clear_zonelist_oom()
699 void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, in out_of_memory()
Dmempool.c123 int mempool_resize(mempool_t *pool, int new_min_nr, gfp_t gfp_mask) in mempool_resize()
194 void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask) in mempool_alloc()
322 void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data) in mempool_alloc_slab()
340 void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data) in mempool_kmalloc()
357 void *mempool_alloc_pages(gfp_t gfp_mask, void *pool_data) in mempool_alloc_pages()
Dswap_state.c106 int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp_mask) in add_to_swap_cache()
280 struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, in read_swap_cache_async()
388 struct page *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask, in swapin_readahead()
/linux-3.4.99/drivers/infiniband/hw/amso1100/
Dc2_alloc.c39 static int c2_alloc_mqsp_chunk(struct c2_dev *c2dev, gfp_t gfp_mask, in c2_alloc_mqsp_chunk()
71 int c2_init_mqsp_pool(struct c2_dev *c2dev, gfp_t gfp_mask, in c2_init_mqsp_pool()
90 dma_addr_t *dma_addr, gfp_t gfp_mask) in c2_alloc_mqsp()
/linux-3.4.99/drivers/scsi/
Dscsi.c144 gfp_t gfp_mask; member
171 scsi_pool_alloc_command(struct scsi_host_cmd_pool *pool, gfp_t gfp_mask) in scsi_pool_alloc_command()
217 scsi_host_alloc_command(struct Scsi_Host *shost, gfp_t gfp_mask) in scsi_host_alloc_command()
245 struct scsi_cmnd *__scsi_get_command(struct Scsi_Host *shost, gfp_t gfp_mask) in __scsi_get_command()
284 struct scsi_cmnd *scsi_get_command(struct scsi_device *dev, gfp_t gfp_mask) in scsi_get_command()
359 static struct scsi_host_cmd_pool *scsi_get_host_cmd_pool(gfp_t gfp_mask) in scsi_get_host_cmd_pool()
392 static void scsi_put_host_cmd_pool(gfp_t gfp_mask) in scsi_put_host_cmd_pool()
426 struct scsi_cmnd *scsi_allocate_command(gfp_t gfp_mask) in scsi_allocate_command()
446 void scsi_free_command(gfp_t gfp_mask, struct scsi_cmnd *cmd) in scsi_free_command()
482 const gfp_t gfp_mask = shost->unchecked_isa_dma ? GFP_DMA : GFP_KERNEL; in scsi_setup_command_freelist() local
/linux-3.4.99/block/
Dblk-map.c44 unsigned int len, gfp_t gfp_mask) in __blk_rq_map_user()
112 unsigned long len, gfp_t gfp_mask) in blk_rq_map_user()
192 int iov_count, unsigned int len, gfp_t gfp_mask) in blk_rq_map_user_iov()
292 unsigned int len, gfp_t gfp_mask) in blk_rq_map_kern()
Dblk-lib.c41 sector_t nr_sects, gfp_t gfp_mask, unsigned long flags) in blkdev_issue_discard()
137 sector_t nr_sects, gfp_t gfp_mask) in blkdev_issue_zeroout()
Dblk-core.c470 struct request_queue *blk_alloc_queue(gfp_t gfp_mask) in blk_alloc_queue()
476 struct request_queue *blk_alloc_queue_node(gfp_t gfp_mask, int node_id) in blk_alloc_queue_node()
655 unsigned int flags, gfp_t gfp_mask) in blk_alloc_request()
782 struct bio *bio, gfp_t gfp_mask) in get_request()
978 struct request *blk_get_request(struct request_queue *q, int rw, gfp_t gfp_mask) in blk_get_request()
1029 gfp_t gfp_mask) in blk_make_request()
2654 struct bio_set *bs, gfp_t gfp_mask, in blk_rq_prep_clone()
/linux-3.4.99/fs/
Dbio.c170 struct bio_vec *bvec_alloc_bs(gfp_t gfp_mask, int nr, unsigned long *idx, in bvec_alloc_bs()
277 struct bio *bio_alloc_bioset(gfp_t gfp_mask, int nr_iovecs, struct bio_set *bs) in bio_alloc_bioset()
340 struct bio *bio_alloc(gfp_t gfp_mask, unsigned int nr_iovecs) in bio_alloc()
368 struct bio *bio_kmalloc(gfp_t gfp_mask, unsigned int nr_iovecs) in bio_kmalloc()
471 struct bio *bio_clone(struct bio *bio, gfp_t gfp_mask) in bio_clone()
702 gfp_t gfp_mask) in bio_alloc_map_data()
828 int write_to_vm, gfp_t gfp_mask) in bio_copy_user_iov()
953 int write_to_vm, gfp_t gfp_mask) in bio_copy_user()
967 int write_to_vm, gfp_t gfp_mask) in __bio_map_user_iov()
1090 gfp_t gfp_mask) in bio_map_user()
[all …]
/linux-3.4.99/fs/btrfs/
Dulist.c98 struct ulist *ulist_alloc(unsigned long gfp_mask) in ulist_alloc()
147 unsigned long gfp_mask) in ulist_add()
/linux-3.4.99/net/sunrpc/auth_gss/
Dgss_krb5_mech.c378 context_derive_keys_des3(struct krb5_ctx *ctx, gfp_t gfp_mask) in context_derive_keys_des3()
496 context_derive_keys_new(struct krb5_ctx *ctx, gfp_t gfp_mask) in context_derive_keys_new()
608 gfp_t gfp_mask) in gss_import_v2_context()
682 gfp_t gfp_mask) in gss_import_sec_context_kerberos()
/linux-3.4.99/lib/
Dscatterlist.c117 static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask) in sg_kmalloc()
225 unsigned int max_ents, gfp_t gfp_mask, in __sg_alloc_table()
308 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table()
Dprio_heap.c9 int heap_init(struct ptr_heap *heap, size_t size, gfp_t gfp_mask, in heap_init()
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Dicm.c96 static int mlx4_alloc_icm_pages(struct scatterlist *mem, int order, gfp_t gfp_mask) in mlx4_alloc_icm_pages()
109 int order, gfp_t gfp_mask) in mlx4_alloc_icm_coherent()
123 gfp_t gfp_mask, int coherent) in mlx4_alloc_icm()
/linux-3.4.99/drivers/xen/
Dxencomm.c70 static struct xencomm_desc *xencomm_alloc(gfp_t gfp_mask, in xencomm_alloc()
121 struct xencomm_desc **ret, gfp_t gfp_mask) in xencomm_create()
/linux-3.4.99/fs/ntfs/
Dmalloc.h42 static inline void *__ntfs_malloc(unsigned long size, gfp_t gfp_mask) in __ntfs_malloc()
/linux-3.4.99/drivers/net/wireless/ath/
Dmain.c28 gfp_t gfp_mask) in ath_rxbuf_alloc()
/linux-3.4.99/arch/tile/include/asm/
Dhomecache.h98 #define homecache_alloc_page(gfp_mask, home) \ argument
/linux-3.4.99/drivers/infiniband/core/
Dsa_query.c529 static int alloc_mad(struct ib_sa_query *query, gfp_t gfp_mask) in alloc_mad()
578 static int send_mad(struct ib_sa_query *query, int timeout_ms, gfp_t gfp_mask) in send_mad()
670 int timeout_ms, gfp_t gfp_mask, in ib_sa_path_rec_get()
787 int timeout_ms, gfp_t gfp_mask, in ib_sa_service_rec_query()
884 int timeout_ms, gfp_t gfp_mask, in ib_sa_mcmember_rec_query()
/linux-3.4.99/net/ceph/
Dmsgpool.c10 static void *msgpool_alloc(gfp_t gfp_mask, void *arg) in msgpool_alloc()
/linux-3.4.99/drivers/infiniband/hw/mthca/
Dmthca_memfree.c107 static int mthca_alloc_icm_pages(struct scatterlist *mem, int order, gfp_t gfp_mask) in mthca_alloc_icm_pages()
124 int order, gfp_t gfp_mask) in mthca_alloc_icm_coherent()
138 gfp_t gfp_mask, int coherent) in mthca_alloc_icm()

123456