Home
last modified time | relevance | path

Searched refs:gfp_t (Results 1 – 25 of 29) sorted by relevance

12

/external/kernel-headers/original/linux/
Dgfp.h14 #define __GFP_DMA ((__force gfp_t)0x01u)
15 #define __GFP_HIGHMEM ((__force gfp_t)0x02u)
17 #define __GFP_DMA32 ((__force gfp_t)0x01) /* ZONE_DMA is ZONE_DMA32 */
19 #define __GFP_DMA32 ((__force gfp_t)0x00) /* ZONE_NORMAL is ZONE_DMA32 */
21 #define __GFP_DMA32 ((__force gfp_t)0x04) /* Has own ZONE_DMA32 */
35 #define __GFP_WAIT ((__force gfp_t)0x10u) /* Can wait and reschedule? */
36 #define __GFP_HIGH ((__force gfp_t)0x20u) /* Should access emergency pools? */
37 #define __GFP_IO ((__force gfp_t)0x40u) /* Can start physical IO? */
38 #define __GFP_FS ((__force gfp_t)0x80u) /* Can call down to low-level FS? */
39 #define __GFP_COLD ((__force gfp_t)0x100u) /* Cache-cold page required */
[all …]
Dslab.h65 extern void *kmem_cache_alloc(kmem_cache_t *, gfp_t);
66 extern void *kmem_cache_zalloc(struct kmem_cache *, gfp_t);
70 extern kmem_cache_t *kmem_find_general_cachep(size_t size, gfp_t gfpflags);
80 extern void *__kmalloc(size_t, gfp_t);
84 extern void *__kmalloc_track_caller(size_t, gfp_t, void*);
134 static inline void *kmalloc(size_t size, gfp_t flags) in kmalloc()
157 extern void *__kzalloc(size_t, gfp_t);
164 static inline void *kzalloc(size_t size, gfp_t flags) in kzalloc()
193 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
205 extern void *kmem_cache_alloc_node(kmem_cache_t *, gfp_t flags, int node);
[all …]
Dmempool.h11 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);
Dpagemap.h22 static inline gfp_t mapping_gfp_mask(struct address_space * mapping) in mapping_gfp_mask()
24 return (__force gfp_t)mapping->flags & __GFP_BITS_MASK; in mapping_gfp_mask()
31 static inline void mapping_set_gfp_mask(struct address_space *m, gfp_t mask) in mapping_set_gfp_mask()
78 unsigned long index, gfp_t gfp_mask);
110 unsigned long index, gfp_t gfp_mask);
112 unsigned long index, gfp_t gfp_mask);
Dposix_acl.h74 extern struct posix_acl *posix_acl_alloc(int, gfp_t);
75 extern struct posix_acl *posix_acl_clone(const struct posix_acl *, gfp_t);
78 extern struct posix_acl *posix_acl_from_mode(mode_t, gfp_t);
Dvmalloc.h44 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,
Dswap.h158 extern void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, int order);
184 extern unsigned long try_to_free_pages(struct zone **, gfp_t);
193 extern int zone_reclaim(struct zone *, gfp_t, unsigned int);
196 static inline int zone_reclaim(struct zone *z, gfp_t mask, unsigned int order) in zone_reclaim()
221 extern int add_to_swap(struct page *, gfp_t);
Dtextsearch.h44 struct ts_config * (*init)(const void *, unsigned int, gfp_t);
152 unsigned int, gfp_t, int);
163 gfp_t gfp_mask) in alloc_ts_config()
Dskbuff.h333 gfp_t priority, int fclone);
335 gfp_t priority) in alloc_skb()
341 gfp_t priority) in alloc_skb_fclone()
348 gfp_t priority);
351 gfp_t priority);
353 gfp_t priority);
355 gfp_t gfp_mask);
358 gfp_t gfp_mask);
363 gfp_t priority);
511 gfp_t pri) in skb_share_check()
[all …]
Dblkdev.h107 struct io_context *current_io_context(gfp_t gfp_flags);
108 struct io_context *get_io_context(gfp_t gfp_flags);
371 gfp_t bounce_gfp;
601 extern struct request *blk_get_request(request_queue_t *, int, gfp_t);
618 extern int blk_rq_map_kern(request_queue_t *, struct request *, void *, unsigned int, gfp_t);
731 request_queue_t *blk_alloc_queue(gfp_t);
732 request_queue_t *blk_alloc_queue_node(gfp_t, int);
Dbio.h279 extern struct bio *bio_alloc(gfp_t, int);
280 extern struct bio *bio_alloc_bioset(gfp_t, int, struct bio_set *);
290 extern struct bio *bio_clone(struct bio *, gfp_t);
306 gfp_t);
Delevator.h19 typedef int (elevator_set_req_fn) (request_queue_t *, struct request *, struct bio *, gfp_t);
108 extern int elv_set_request(request_queue_t *, struct request *, struct bio *, gfp_t);
Djbd.h74 extern void * __jbd_kmalloc (const char *where, size_t size, gfp_t flags, int retry);
75 extern void * jbd_slab_alloc(size_t size, gfp_t flags);
909 extern int journal_try_to_free_buffers(journal_t *, struct page *, gfp_t);
954 static inline handle_t *jbd_alloc_handle(gfp_t gfp_flags) in jbd_alloc_handle()
Dstring.h101 extern char *kstrdup(const char *s, gfp_t gfp);
Dusb.h985 extern struct urb *usb_alloc_urb(int iso_packets, gfp_t mem_flags);
989 extern int usb_submit_urb(struct urb *urb, gfp_t mem_flags);
995 gfp_t mem_flags, dma_addr_t *dma);
1097 gfp_t mem_flags
Dnetlink.h188 __u32 group, gfp_t allocation);
190 __u32 pid, __u32 group, gfp_t allocation,
Dloop.h56 gfp_t old_gfp_mask;
Dtypes.h179 typedef unsigned __bitwise__ gfp_t; typedef
Dkobject.h87 extern char * kobject_get_path(struct kobject *, gfp_t);
Dkernel.h122 extern char *kasprintf(gfp_t gfp, const char *fmt, ...)
Datmdev.h471 gfp_t gfp_flags);
/external/kernel-headers/original/asm-mips/
Ddma-mapping.h8 dma_addr_t *dma_handle, gfp_t flag);
14 dma_addr_t *dma_handle, gfp_t flag);
/external/kernel-headers/original/asm-arm/
Ddma-mapping.h73 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp);
120 dma_alloc_writecombine(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp);
/external/kernel-headers/original/asm-x86/
Dswiotlb.h11 dma_addr_t *dma_handle, gfp_t flags);
Ddma-mapping_32.h15 dma_addr_t *dma_handle, gfp_t flag);

12