/include/linux/ |
D | gfp.h | 19 #define __GFP_DMA ((__force gfp_t)0x01u) 20 #define __GFP_HIGHMEM ((__force gfp_t)0x02u) 21 #define __GFP_DMA32 ((__force gfp_t)0x04u) 37 #define __GFP_WAIT ((__force gfp_t)0x10u) /* Can wait and reschedule? */ 38 #define __GFP_HIGH ((__force gfp_t)0x20u) /* Should access emergency pools? */ 39 #define __GFP_IO ((__force gfp_t)0x40u) /* Can start physical IO? */ 40 #define __GFP_FS ((__force gfp_t)0x80u) /* Can call down to low-level FS? */ 41 #define __GFP_COLD ((__force gfp_t)0x100u) /* Cache-cold page required */ 42 #define __GFP_NOWARN ((__force gfp_t)0x200u) /* Suppress page allocation failure warning */ 43 #define __GFP_REPEAT ((__force gfp_t)0x400u) /* See above */ [all …]
|
D | slob_def.h | 4 void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node); 6 static inline void *kmem_cache_alloc(struct kmem_cache *cachep, gfp_t flags) in kmem_cache_alloc() 11 void *__kmalloc_node(size_t size, gfp_t flags, int node); 13 static inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node() 26 static inline void *kmalloc(size_t size, gfp_t flags) in kmalloc() 31 static inline void *__kmalloc(size_t size, gfp_t flags) in __kmalloc()
|
D | slab.h | 127 void * __must_check __krealloc(const void *, size_t, gfp_t); 128 void * __must_check krealloc(const void *, size_t, gfp_t); 211 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc() 229 static inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node() 234 static inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node() 239 void *kmem_cache_alloc(struct kmem_cache *, gfp_t); 242 gfp_t flags, int node) in kmem_cache_alloc_node() 257 extern void *__kmalloc_track_caller(size_t, gfp_t, unsigned long); 275 extern void *__kmalloc_node_track_caller(size_t, gfp_t, int, unsigned long); 294 static inline void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags) in kmem_cache_zalloc() [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 | slab_def.h | 28 void *kmem_cache_alloc(struct kmem_cache *, gfp_t); 29 void *__kmalloc(size_t size, gfp_t flags); 31 static inline void *kmalloc(size_t size, gfp_t flags) in kmalloc() 59 extern void *__kmalloc_node(size_t size, gfp_t flags, int node); 60 extern void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node); 62 static inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
|
D | oom.h | 26 extern int try_set_zone_oom(struct zonelist *zonelist, gfp_t gfp_flags); 27 extern void clear_zonelist_oom(struct zonelist *zonelist, gfp_t gfp_flags); 29 extern void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, int order);
|
D | slub_def.h | 87 gfp_t allocflags; /* gfp flags to use on each alloc */ 201 #define SLUB_DMA (__force gfp_t)0 204 void *kmem_cache_alloc(struct kmem_cache *, gfp_t); 205 void *__kmalloc(size_t size, gfp_t flags); 207 static __always_inline void *kmalloc_large(size_t size, gfp_t flags) in kmalloc_large() 212 static __always_inline void *kmalloc(size_t size, gfp_t flags) in kmalloc() 231 void *__kmalloc_node(size_t size, gfp_t flags, int node); 232 void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node); 234 static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
|
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() 41 static int inline cpuset_zone_allowed_hardwall(struct zone *z, gfp_t 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() 120 static inline int cpuset_zone_allowed_hardwall(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed_hardwall()
|
D | memcontrol.h | 41 gfp_t gfp_mask); 44 struct page *page, gfp_t mask, struct mem_cgroup **ptr); 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() 131 struct mm_struct *mm, gfp_t gfp_mask) in mem_cgroup_cache_charge() 137 struct page *page, gfp_t gfp_mask, struct mem_cgroup **ptr) in mem_cgroup_try_charge_swapin() 160 struct mm_struct *mm, gfp_t gfp_mask) in mem_cgroup_shrink_usage()
|
D | string.h | 105 extern char *kstrdup(const char *s, gfp_t gfp); 106 extern char *kstrndup(const char *s, size_t len, gfp_t gfp); 107 extern void *kmemdup(const void *src, size_t len, gfp_t gfp); 109 extern char **argv_split(gfp_t gfp, const char *str, int *argcp);
|
D | posix_acl.h | 74 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);
|
D | swap.h | 215 gfp_t gfp_mask); 217 gfp_t gfp_mask, bool noswap, 229 extern int zone_reclaim(struct zone *, gfp_t, unsigned int); 232 static inline int zone_reclaim(struct zone *z, gfp_t mask, unsigned int order) in zone_reclaim() 286 extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t); 292 extern struct page *read_swap_cache_async(swp_entry_t, gfp_t, 294 extern struct page *swapin_readahead(swp_entry_t, gfp_t, 379 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead() 396 gfp_t gfp_mask) in add_to_swap_cache() 430 struct mm_struct *mm, gfp_t mask, bool locked) in mem_cgroup_cache_charge_swapin()
|
D | bio.h | 361 extern struct bio *bio_alloc(gfp_t, int); 362 extern struct bio *bio_kmalloc(gfp_t, int); 363 extern struct bio *bio_alloc_bioset(gfp_t, int, struct bio_set *); 372 extern struct bio *bio_clone(struct bio *, gfp_t); 382 unsigned long, unsigned int, int, gfp_t); 387 struct sg_iovec *, int, int, gfp_t); 390 gfp_t); 392 gfp_t, int); 396 unsigned long, unsigned int, int, gfp_t); 399 int, int, gfp_t); [all …]
|
D | mbcache.h | 25 int (*free)(struct mb_cache_entry *, gfp_t); 37 struct mb_cache_entry *mb_cache_entry_alloc(struct mb_cache *, gfp_t);
|
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() 86 gfp_t gfp_mask = (wait == UMH_NO_WAIT) ? GFP_ATOMIC : GFP_KERNEL; in call_usermodehelper_keys()
|
D | textsearch.h | 40 struct ts_config * (*init)(const void *, unsigned int, gfp_t, int); 150 unsigned int, gfp_t, int); 161 gfp_t gfp_mask) in alloc_ts_config()
|
D | pagemap.h | 63 static inline gfp_t mapping_gfp_mask(struct address_space * mapping) in mapping_gfp_mask() 65 return (__force gfp_t)mapping->flags & __GFP_BITS_MASK; in mapping_gfp_mask() 72 static inline void mapping_set_gfp_mask(struct address_space *m, gfp_t mask) in mapping_set_gfp_mask() 211 extern struct page *__page_cache_alloc(gfp_t gfp); 213 static inline struct page *__page_cache_alloc(gfp_t gfp) in __page_cache_alloc() 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()
|
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 | fault-inject.h | 85 extern bool should_failslab(size_t size, gfp_t gfpflags); 87 static inline bool should_failslab(size_t size, gfp_t gfpflags) in should_failslab()
|
/include/net/sctp/ |
D | ulpevent.h | 93 gfp_t gfp); 101 gfp_t gfp); 107 gfp_t gfp); 113 gfp_t gfp); 118 gfp_t gfp); 122 __u32 indication, gfp_t gfp); 125 const struct sctp_association *asoc, gfp_t gfp); 129 gfp_t gfp); 133 __u32 indication, gfp_t gfp);
|
D | ulpqueue.h | 66 int sctp_ulpq_tail_data(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); 72 void sctp_ulpq_renege(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); 75 void sctp_ulpq_partial_delivery(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); 78 void sctp_ulpq_abort_pd(struct sctp_ulpq *, gfp_t);
|
D | auth.h | 90 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp); 92 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp); 98 gfp_t gfp); 99 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp); 111 struct sctp_auth_chunk *auth, gfp_t gfp);
|
/include/net/netfilter/ |
D | nf_conntrack_helper.h | 47 extern struct nf_conn_help *nf_ct_helper_ext_add(struct nf_conn *ct, gfp_t gfp); 49 extern int __nf_ct_try_assign_helper(struct nf_conn *ct, gfp_t flags);
|
/include/scsi/ |
D | scsi_cmnd.h | 134 extern struct scsi_cmnd *scsi_get_command(struct scsi_device *, gfp_t); 135 extern struct scsi_cmnd *__scsi_get_command(struct Scsi_Host *, gfp_t); 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/net/ |
D | netlabel.h | 231 static inline struct netlbl_lsm_cache *netlbl_secattr_cache_alloc(gfp_t flags) in netlbl_secattr_cache_alloc() 269 gfp_t flags) in netlbl_secattr_catmap_alloc() 335 static inline struct netlbl_lsm_secattr *netlbl_secattr_alloc(gfp_t flags) in netlbl_secattr_alloc() 398 gfp_t flags); 402 gfp_t flags); 505 gfp_t flags) in netlbl_secattr_catmap_setbit() 513 gfp_t flags) in netlbl_secattr_catmap_setrng()
|