Searched refs:gfp_mask (Results 1 – 9 of 9) sorted by relevance
/external/kernel-headers/original/linux/ |
D | gfp.h | 108 static inline struct page *alloc_pages_node(int nid, gfp_t gfp_mask, in alloc_pages_node() argument 118 return __alloc_pages(gfp_mask, order, in alloc_pages_node() 119 NODE_DATA(nid)->node_zonelists + gfp_zone(gfp_mask)); in alloc_pages_node() 123 extern struct page *alloc_pages_current(gfp_t gfp_mask, unsigned order); 126 alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() argument 131 return alloc_pages_current(gfp_mask, order); in alloc_pages() 133 extern struct page *alloc_page_vma(gfp_t gfp_mask, 136 #define alloc_pages(gfp_mask, order) \ argument 137 alloc_pages_node(numa_node_id(), gfp_mask, order) 138 #define alloc_page_vma(gfp_mask, vma, addr) alloc_pages(gfp_mask, 0) argument [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 | vmalloc.h | 44 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot); 45 extern void *__vmalloc_area(struct vm_struct *area, gfp_t gfp_mask, 47 extern void *__vmalloc_node(unsigned long size, gfp_t gfp_mask,
|
D | pagemap.h | 78 unsigned long index, gfp_t gfp_mask); 110 unsigned long index, gfp_t gfp_mask); 112 unsigned long index, gfp_t gfp_mask);
|
D | textsearch.h | 163 gfp_t gfp_mask) in alloc_ts_config() argument 167 conf = kmalloc(TS_PRIV_ALIGN(sizeof(*conf)) + payload, gfp_mask); in alloc_ts_config()
|
D | skbuff.h | 355 gfp_t gfp_mask); 358 gfp_t gfp_mask); 1102 gfp_t gfp_mask) in __dev_alloc_skb() argument 1104 struct sk_buff *skb = alloc_skb(length + NET_SKB_PAD, gfp_mask); in __dev_alloc_skb() 1128 unsigned int length, gfp_t gfp_mask);
|
D | swap.h | 158 extern void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, int order);
|
D | audit.h | 664 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, 667 extern struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type);
|
D | mm.h | 793 typedef int (*shrinker_t)(int nr_to_scan, gfp_t gfp_mask); 1063 unsigned long shrink_slab(unsigned long scanned, gfp_t gfp_mask,
|