/include/linux/ |
D | gfp.h | 171 __alloc_pages_internal(gfp_t gfp_mask, unsigned int order, 175 __alloc_pages(gfp_t gfp_mask, unsigned int order, in __alloc_pages() argument 178 return __alloc_pages_internal(gfp_mask, order, zonelist, NULL); in __alloc_pages() 182 __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order, in __alloc_pages_nodemask() argument 185 return __alloc_pages_internal(gfp_mask, order, zonelist, nodemask); in __alloc_pages_nodemask() 189 static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, in alloc_pages_node() argument 199 return __alloc_pages(gfp_mask, order, node_zonelist(nid, gfp_mask)); in alloc_pages_node() 203 extern struct page *alloc_pages_current(gfp_t gfp_mask, unsigned order); 206 alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() argument 211 return alloc_pages_current(gfp_mask, order); in alloc_pages() [all …]
|
D | mempool.h | 11 typedef void * (mempool_alloc_t)(gfp_t gfp_mask, void *pool_data); 31 extern int mempool_resize(mempool_t *pool, int new_min_nr, gfp_t gfp_mask); 33 extern void * mempool_alloc(mempool_t *pool, gfp_t gfp_mask); 40 void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data); 53 void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data); 54 void *mempool_kzalloc(gfp_t gfp_mask, void *pool_data); 71 void *mempool_alloc_pages(gfp_t gfp_mask, void *pool_data);
|
D | cpuset.h | 32 extern int __cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask); 33 extern int __cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask); 35 static int inline cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_softwall() argument 38 __cpuset_zone_allowed_softwall(z, gfp_mask); in cpuset_zone_allowed_softwall() 41 static int inline cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_hardwall() argument 44 __cpuset_zone_allowed_hardwall(z, gfp_mask); in cpuset_zone_allowed_hardwall() 115 static inline int cpuset_zone_allowed_softwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_softwall() argument 120 static inline int cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_hardwall() argument
|
D | kmod.h | 46 char **envp, gfp_t gfp_mask); 73 gfp_t gfp_mask = (wait == UMH_NO_WAIT) ? GFP_ATOMIC : GFP_KERNEL; in call_usermodehelper() local 75 info = call_usermodehelper_setup(path, argv, envp, gfp_mask); in call_usermodehelper() 86 gfp_t gfp_mask = (wait == UMH_NO_WAIT) ? GFP_ATOMIC : GFP_KERNEL; in call_usermodehelper_keys() local 88 info = call_usermodehelper_setup(path, argv, envp, gfp_mask); in call_usermodehelper_keys()
|
D | memcontrol.h | 41 gfp_t gfp_mask); 50 gfp_t gfp_mask); 60 struct mm_struct *mm, gfp_t gfp_mask); 68 extern void mem_cgroup_out_of_memory(struct mem_cgroup *mem, gfp_t gfp_mask); 125 struct mm_struct *mm, gfp_t gfp_mask) in mem_cgroup_newpage_charge() argument 131 struct mm_struct *mm, gfp_t gfp_mask) in mem_cgroup_cache_charge() argument 137 struct page *page, gfp_t gfp_mask, struct mem_cgroup **ptr) in mem_cgroup_try_charge_swapin() argument 160 struct mm_struct *mm, gfp_t gfp_mask) in mem_cgroup_shrink_usage() argument
|
D | radix-tree.h | 63 gfp_t gfp_mask; member 69 .gfp_mask = (mask), \ 79 (root)->gfp_mask = (mask); \ 170 int radix_tree_preload(gfp_t gfp_mask);
|
D | vmalloc.h | 59 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot); 60 extern void *__vmalloc_area(struct vm_struct *area, gfp_t gfp_mask, 93 gfp_t gfp_mask);
|
D | prio_heap.h | 32 extern int heap_init(struct ptr_heap *heap, size_t size, gfp_t gfp_mask,
|
D | oom.h | 29 extern void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, int order);
|
D | textsearch.h | 161 gfp_t gfp_mask) in alloc_ts_config() argument 165 conf = kzalloc(TS_PRIV_ALIGN(sizeof(*conf)) + payload, gfp_mask); in alloc_ts_config()
|
D | kfifo.h | 36 gfp_t gfp_mask, spinlock_t *lock); 37 extern struct kfifo *kfifo_alloc(unsigned int size, gfp_t gfp_mask,
|
D | mISDNif.h | 508 mI_alloc_skb(unsigned int len, gfp_t gfp_mask) in mI_alloc_skb() argument 512 skb = alloc_skb(len + MISDN_HEADER_LEN, gfp_mask); in mI_alloc_skb() 519 _alloc_mISDN_skb(u_int prim, u_int id, u_int len, void *dp, gfp_t gfp_mask) in _alloc_mISDN_skb() argument 521 struct sk_buff *skb = mI_alloc_skb(len, gfp_mask); in _alloc_mISDN_skb() 536 u_int id, u_int len, void *dp, gfp_t gfp_mask) in _queue_data() argument 542 skb = _alloc_mISDN_skb(prim, id, len, dp, gfp_mask); in _queue_data()
|
D | idr.h | 104 int idr_pre_get(struct idr *idp, gfp_t gfp_mask); 137 int ida_pre_get(struct ida *ida, gfp_t gfp_mask);
|
D | pagemap.h | 236 pgoff_t index, gfp_t gfp_mask); 434 pgoff_t index, gfp_t gfp_mask); 436 pgoff_t index, gfp_t gfp_mask); 445 struct address_space *mapping, pgoff_t offset, gfp_t gfp_mask) in add_to_page_cache() argument 450 error = add_to_page_cache_locked(page, mapping, offset, gfp_mask); in add_to_page_cache()
|
D | swap.h | 215 gfp_t gfp_mask); 217 gfp_t gfp_mask, bool noswap, 379 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead() argument 396 gfp_t gfp_mask) in add_to_swap_cache() argument
|
D | suspend.h | 231 extern unsigned long get_safe_page(gfp_t gfp_mask);
|
D | writeback.h | 105 void throttle_vm_writeout(gfp_t gfp_mask);
|
D | skbuff.h | 399 gfp_t gfp_mask); 402 gfp_t gfp_mask); 1383 gfp_t gfp_mask) in __dev_alloc_skb() argument 1385 struct sk_buff *skb = alloc_skb(length + NET_SKB_PAD, gfp_mask); in __dev_alloc_skb() 1394 unsigned int length, gfp_t gfp_mask); 1415 extern struct page *__netdev_alloc_page(struct net_device *dev, gfp_t gfp_mask);
|
D | audit.h | 569 extern void audit_log(struct audit_context *ctx, gfp_t gfp_mask, 573 extern struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type);
|
D | mm.h | 828 extern int try_to_release_page(struct page * page, gfp_t gfp_mask); 878 int (*shrink)(int nr_to_scan, gfp_t gfp_mask); 1294 unsigned long shrink_slab(unsigned long scanned, gfp_t gfp_mask,
|
/include/scsi/ |
D | scsi_cmnd.h | 145 extern int scsi_init_io(struct scsi_cmnd *cmd, gfp_t gfp_mask); 151 struct scsi_cmnd *scsi_allocate_command(gfp_t gfp_mask); 152 void scsi_free_command(gfp_t gfp_mask, struct scsi_cmnd *cmd);
|
/include/rdma/ |
D | ib_sa.h | 278 int timeout_ms, gfp_t gfp_mask, 290 int timeout_ms, gfp_t gfp_mask, 336 ib_sa_comp_mask comp_mask, gfp_t gfp_mask,
|
D | ib_mad.h | 618 gfp_t gfp_mask);
|
/include/net/ |
D | sch_generic.h | 542 static inline struct sk_buff *skb_act_clone(struct sk_buff *skb, gfp_t gfp_mask) in skb_act_clone() argument 544 struct sk_buff *n = skb_clone(skb, gfp_mask); in skb_act_clone()
|