/linux/include/linux/ |
A D | gfp.h | 22 typedef unsigned int __bitwise gfp_t; 72 #define __GFP_DMA ((__force gfp_t)___GFP_DMA) 74 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32) 139 #define __GFP_HIGH ((__force gfp_t)___GFP_HIGH) 214 #define __GFP_IO ((__force gfp_t)___GFP_IO) 215 #define __GFP_FS ((__force gfp_t)___GFP_FS) 494 static inline int gfp_zonelist(gfp_t flags) in gfp_zonelist() 641 unsigned int fragsz, gfp_t gfp_mask, 645 unsigned int fragsz, gfp_t gfp_mask) in page_frag_alloc() 669 extern gfp_t gfp_allowed_mask; [all …]
|
A D | slab.h | 340 static __always_inline enum kmalloc_cache_type kmalloc_type(gfp_t flags) in kmalloc_type() 471 extern void *kmem_cache_alloc_node_trace(struct kmem_cache *s, gfp_t gfpflags, 476 gfp_t gfpflags, int node, size_t size) in kmem_cache_alloc_node_trace() 484 gfp_t flags, size_t size) in kmem_cache_alloc_trace() 506 extern void *kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) 643 gfp_t flags) in krealloc_array() 696 extern void *__kmalloc_node_track_caller(size_t size, gfp_t flags, int node, 712 static inline void *kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags) in kmem_cache_zalloc() 722 static inline __alloc_size(1) void *kzalloc(size_t size, gfp_t flags) in kzalloc() 739 static inline __alloc_size(1) void *kvmalloc(size_t size, gfp_t flags) in kvmalloc() [all …]
|
A D | kmemleak.h | 19 gfp_t gfp) __ref; 21 gfp_t gfp) __ref; 23 gfp_t gfp) __ref; 30 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref; 33 gfp_t gfp) __ref; 40 gfp_t gfp) in kmemleak_alloc_recursive() 63 gfp_t gfp) in kmemleak_alloc() 68 gfp_t gfp) in kmemleak_alloc_recursive() 72 gfp_t gfp) in kmemleak_alloc_percpu() 76 gfp_t gfp) in kmemleak_vmalloc() [all …]
|
A D | xarray.h | 297 gfp_t xa_flags; 353 void *entry, gfp_t); 559 void *entry, gfp_t); 561 void *entry, gfp_t); 563 struct xa_limit, gfp_t); 565 struct xa_limit, u32 *next, gfp_t); 584 void *entry, gfp_t gfp) in xa_store_bh() 610 void *entry, gfp_t gfp) in xa_store_irq() 685 void *old, void *entry, gfp_t gfp) in xa_cmpxchg() 712 void *old, void *entry, gfp_t gfp) in xa_cmpxchg_bh() [all …]
|
A D | kasan.h | 113 unsigned int order, gfp_t flags) in kasan_alloc_pages() 254 void *object, gfp_t flags, bool init); 264 size_t size, gfp_t flags); 266 const void *object, size_t size, gfp_t flags) in kasan_kmalloc() 274 size_t size, gfp_t flags); 276 size_t size, gfp_t flags) in kasan_kmalloc_large() 284 size_t new_size, gfp_t flags); 286 size_t new_size, gfp_t flags) in kasan_krealloc() 342 gfp_t flags, bool init) in kasan_slab_alloc() 347 size_t size, gfp_t flags) in kasan_kmalloc() [all …]
|
A D | mempool.h | 13 typedef void * (mempool_alloc_t)(gfp_t gfp_mask, void *pool_data); 36 gfp_t gfp_mask, int node_id); 44 gfp_t gfp_mask, int nid); 48 extern void *mempool_alloc(mempool_t *pool, gfp_t gfp_mask) __malloc; 56 void *mempool_alloc_slab(gfp_t gfp_mask, void *pool_data); 77 void *mempool_kmalloc(gfp_t gfp_mask, void *pool_data); 96 void *mempool_alloc_pages(gfp_t gfp_mask, void *pool_data);
|
A D | idr.h | 32 #define IDR_RT_MARKER (ROOT_IS_IDR | (__force gfp_t) \ 112 void idr_preload(gfp_t gfp_mask); 114 int idr_alloc(struct idr *, void *ptr, int start, int end, gfp_t); 116 unsigned long max, gfp_t); 117 int idr_alloc_cyclic(struct idr *, void *ptr, int start, int end, gfp_t); 255 int ida_alloc_range(struct ida *, unsigned int min, unsigned int max, gfp_t); 271 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() 289 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) in ida_alloc_min() 307 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max()
|
A D | devcoredump.h | 56 gfp_t gfp); 59 void *data, size_t datalen, gfp_t gfp, 65 size_t datalen, gfp_t gfp); 68 size_t datalen, gfp_t gfp) in dev_coredumpv() 75 void *data, size_t datalen, gfp_t gfp, in dev_coredumpm() 84 size_t datalen, gfp_t gfp) in dev_coredumpsg()
|
A D | swap.h | 386 gfp_t gfp_mask, nodemask_t *mask); 390 gfp_t gfp_mask, 393 gfp_t gfp_mask, bool noswap, 454 gfp_t gfp, void **shadowp); 467 extern struct page *read_swap_cache_async(swp_entry_t, gfp_t, 470 extern struct page *__read_swap_cache_async(swp_entry_t, gfp_t, 473 extern struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag, 475 extern struct page *swapin_readahead(swp_entry_t entry, gfp_t flag, 500 extern int add_swap_count_continuation(swp_entry_t, gfp_t); 604 gfp_t gfp_mask, struct vm_fault *vmf) in swap_cluster_readahead() [all …]
|
A D | cpuset.h | 83 extern bool __cpuset_node_allowed(int node, gfp_t gfp_mask); 85 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed() 92 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed() 97 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed() 226 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed() 231 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed() 236 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
|
A D | fscache.h | 205 gfp_t); 212 gfp_t); 213 extern int __fscache_alloc_page(struct fscache_cookie *, struct page *, gfp_t); 214 extern int __fscache_write_page(struct fscache_cookie *, struct page *, loff_t, gfp_t); 219 gfp_t); 574 gfp_t gfp) in fscache_read_or_alloc_page() 625 gfp_t gfp) in fscache_read_or_alloc_pages() 656 gfp_t gfp) in fscache_alloc_page() 707 gfp_t gfp) in fscache_write_page() 793 gfp_t gfp) in fscache_maybe_release_page()
|
A D | vmpressure.h | 33 extern void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, 35 extern void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio); 47 static inline void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, bool tree, in vmpressure() 49 static inline void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, in vmpressure_prio()
|
/linux/include/net/sctp/ |
A D | ulpevent.h | 81 gfp_t gfp); 90 gfp_t gfp); 96 gfp_t gfp); 103 gfp_t gfp); 108 gfp_t gfp); 113 __u32 flags, gfp_t gfp); 116 const struct sctp_association *asoc, gfp_t gfp); 120 gfp_t gfp); 124 __u32 indication, gfp_t gfp); 127 const struct sctp_association *asoc, gfp_t gfp); [all …]
|
A D | stream_interleave.h | 25 int len, __u8 flags, gfp_t gfp); 29 struct sctp_chunk *chunk, gfp_t gfp); 33 struct sctp_chunk *chunk, gfp_t gfp); 34 void (*start_pd)(struct sctp_ulpq *ulpq, gfp_t gfp); 35 void (*abort_pd)(struct sctp_ulpq *ulpq, gfp_t gfp);
|
A D | auth.h | 71 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp); 73 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp); 79 gfp_t gfp); 80 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp); 94 struct sctp_shared_key *ep_key, gfp_t gfp); 110 int sctp_auth_init(struct sctp_endpoint *ep, gfp_t gfp);
|
A D | ulpqueue.h | 44 int sctp_ulpq_tail_data(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); 50 void sctp_ulpq_renege(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); 53 void sctp_ulpq_partial_delivery(struct sctp_ulpq *, gfp_t); 56 void sctp_ulpq_abort_pd(struct sctp_ulpq *, gfp_t);
|
/linux/net/wireless/ |
A D | nl80211.h | 60 const u8 *buf, size_t len, gfp_t gfp); 63 const u8 *buf, size_t len, gfp_t gfp, 69 bool reconnect, gfp_t gfp); 73 bool reconnect, gfp_t gfp); 76 const u8 *addr, gfp_t gfp); 79 const u8 *addr, gfp_t gfp); 83 gfp_t gfp); 86 struct cfg80211_roam_info *info, gfp_t gfp); 97 int key_id, const u8 *tsc, gfp_t gfp); 106 gfp_t gfp); [all …]
|
/linux/mm/ |
A D | slab.h | 92 gfp_t kmalloc_fix_flags(gfp_t flags); 249 gfp_t gfp, bool new_page); 273 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook() 298 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook() 390 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook() 397 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook() 421 gfp_t gfp) in account_slab_page() 488 size_t size, gfp_t flags) in slab_pre_alloc_hook() 504 struct obj_cgroup *objcg, gfp_t flags, in slab_post_alloc_hook() 595 gfp_t gfp); [all …]
|
/linux/security/apparmor/include/ |
A D | label.h | 60 gfp_t gfp); 299 gfp_t gfp); 312 int flags, gfp_t gfp); 314 struct aa_label *label, int flags, gfp_t gfp); 316 struct aa_label *label, int flags, gfp_t gfp); 318 struct aa_label *label, int flags, gfp_t gfp); 320 gfp_t gfp); 323 void aa_label_printk(struct aa_label *label, gfp_t gfp); 326 size_t n, gfp_t gfp, bool create, 329 gfp_t gfp, bool create, bool force_stack); [all …]
|
/linux/tools/virtio/linux/ |
A D | kernel.h | 55 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc() 61 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array() 66 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc() 74 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact() 91 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc() 97 static inline unsigned long __get_free_page(gfp_t gfp) in __get_free_page() 121 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array()
|
/linux/include/drm/ |
A D | drm_managed.h | 47 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc; 59 static inline void *drmm_kzalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kzalloc() 76 size_t n, size_t size, gfp_t flags) in drmm_kmalloc_array() 98 size_t n, size_t size, gfp_t flags) in drmm_kcalloc() 103 char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp);
|
/linux/include/linux/sched/ |
A D | mm.h | 185 static inline gfp_t current_gfp_context(gfp_t flags) in current_gfp_context() 208 extern void fs_reclaim_acquire(gfp_t gfp_mask); 209 extern void fs_reclaim_release(gfp_t gfp_mask); 213 static inline void fs_reclaim_acquire(gfp_t gfp_mask) { } in fs_reclaim_acquire() 214 static inline void fs_reclaim_release(gfp_t gfp_mask) { } in fs_reclaim_release() 225 static inline void might_alloc(gfp_t gfp_mask) in might_alloc()
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_gpu_error.h | 226 i915_gpu_coredump_alloc(struct drm_i915_private *i915, gfp_t gfp); 229 intel_gt_coredump_alloc(struct intel_gt *gt, gfp_t gfp); 232 intel_engine_coredump_alloc(struct intel_engine_cs *engine, gfp_t gfp); 237 gfp_t gfp); 281 i915_gpu_coredump_alloc(struct drm_i915_private *i915, gfp_t gfp) in i915_gpu_coredump_alloc() 287 intel_gt_coredump_alloc(struct intel_gt *gt, gfp_t gfp) in intel_gt_coredump_alloc() 293 intel_engine_coredump_alloc(struct intel_engine_cs *engine, gfp_t gfp) in intel_engine_coredump_alloc() 301 gfp_t gfp) in intel_engine_coredump_add_request()
|
/linux/include/trace/events/ |
A D | kmem.h | 18 gfp_t gfp_flags), 27 __field( gfp_t, gfp_flags ) 49 size_t bytes_req, size_t bytes_alloc, gfp_t gfp_flags), 57 size_t bytes_req, size_t bytes_alloc, gfp_t gfp_flags), 68 gfp_t gfp_flags, 78 __field( gfp_t, gfp_flags ) 104 gfp_t gfp_flags, int node), 113 gfp_t gfp_flags, int node), 204 gfp_t gfp_flags, int migratetype), 211 __field( gfp_t, gfp_flags )
|
/linux/arch/powerpc/include/asm/ |
A D | pgalloc.h | 8 static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp) in pgtable_gfp_flags() 15 static inline gfp_t pgtable_gfp_flags(struct mm_struct *mm, gfp_t gfp) in pgtable_gfp_flags()
|