/Linux-v5.10/include/linux/ |
D | gfp.h | 56 #define __GFP_DMA ((__force gfp_t)___GFP_DMA) 57 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM) 58 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32) 59 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* ZONE_MOVABLE allowed */ 89 #define __GFP_RECLAIMABLE ((__force gfp_t)___GFP_RECLAIMABLE) 90 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE) 91 #define __GFP_HARDWALL ((__force gfp_t)___GFP_HARDWALL) 92 #define __GFP_THISNODE ((__force gfp_t)___GFP_THISNODE) 93 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) 122 #define __GFP_ATOMIC ((__force gfp_t)___GFP_ATOMIC) [all …]
|
D | slab.h | 184 void * __must_check krealloc(const void *, size_t, gfp_t); 318 static __always_inline enum kmalloc_cache_type kmalloc_type(gfp_t flags) in kmalloc_type() 389 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __malloc; 390 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc; 401 int kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **); 413 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment __malloc; 414 void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node) __assume_slab_alignment __m… 416 static __always_inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node() 421 static __always_inline void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) in kmem_cache_alloc_node() 428 extern void *kmem_cache_alloc_trace(struct kmem_cache *, gfp_t, size_t) __assume_slab_alignment __m… [all …]
|
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 …]
|
D | xarray.h | 263 #define XA_FLAGS_LOCK_IRQ ((__force gfp_t)XA_LOCK_IRQ) 264 #define XA_FLAGS_LOCK_BH ((__force gfp_t)XA_LOCK_BH) 265 #define XA_FLAGS_TRACK_FREE ((__force gfp_t)4U) 266 #define XA_FLAGS_ZERO_BUSY ((__force gfp_t)8U) 267 #define XA_FLAGS_ALLOC_WRAPPED ((__force gfp_t)16U) 268 #define XA_FLAGS_ACCOUNT ((__force gfp_t)32U) 269 #define XA_FLAGS_MARK(mark) ((__force gfp_t)((1U << __GFP_BITS_SHIFT) << \ 295 gfp_t xa_flags; 348 void *xa_store(struct xarray *, unsigned long index, void *entry, gfp_t); 351 void *entry, gfp_t); [all …]
|
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);
|
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()
|
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()
|
D | cpuset.h | 67 extern bool __cpuset_node_allowed(int node, gfp_t gfp_mask); 69 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed() 76 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed() 81 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed() 207 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed() 212 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed() 217 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
|
D | kasan.h | 61 gfp_t flags); 65 size_t size, gfp_t flags); 67 gfp_t flags); 70 gfp_t flags); 131 static inline void *kasan_kmalloc_large(void *ptr, size_t size, gfp_t flags) in kasan_kmalloc_large() 138 size_t size, gfp_t flags) in kasan_kmalloc() 143 gfp_t flags) in kasan_krealloc() 149 gfp_t flags) in kasan_slab_alloc()
|
D | swap.h | 360 gfp_t gfp_mask, nodemask_t *mask); 364 gfp_t gfp_mask, 367 gfp_t gfp_mask, bool noswap, 418 gfp_t gfp, void **shadowp); 430 extern struct page *read_swap_cache_async(swp_entry_t, gfp_t, 433 extern struct page *__read_swap_cache_async(swp_entry_t, gfp_t, 436 extern struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag, 438 extern struct page *swapin_readahead(swp_entry_t entry, gfp_t flag, 463 extern int add_swap_count_continuation(swp_entry_t, gfp_t); 527 static inline int add_swap_count_continuation(swp_entry_t swp, gfp_t gfp_mask) in add_swap_count_continuation() [all …]
|
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()
|
D | fscache.h | 207 gfp_t); 214 gfp_t); 215 extern int __fscache_alloc_page(struct fscache_cookie *, struct page *, gfp_t); 216 extern int __fscache_write_page(struct fscache_cookie *, struct page *, loff_t, gfp_t); 221 gfp_t); 544 gfp_t gfp) in fscache_read_or_alloc_page() 595 gfp_t gfp) in fscache_read_or_alloc_pages() 626 gfp_t gfp) in fscache_alloc_page() 677 gfp_t gfp) in fscache_write_page() 763 gfp_t gfp) in fscache_maybe_release_page()
|
/Linux-v5.10/include/net/sctp/ |
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 …]
|
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);
|
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);
|
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);
|
D | stream_sched.h | 22 gfp_t gfp); 28 int (*init_sid)(struct sctp_stream *stream, __u16 sid, gfp_t gfp); 48 __u16 value, gfp_t gfp); 54 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp);
|
/Linux-v5.10/net/wireless/ |
D | nl80211.h | 64 const u8 *buf, size_t len, gfp_t gfp); 67 const u8 *buf, size_t len, gfp_t gfp, 72 const u8 *buf, size_t len, gfp_t gfp); 75 const u8 *buf, size_t len, gfp_t gfp); 78 const u8 *addr, gfp_t gfp); 81 const u8 *addr, gfp_t gfp); 85 gfp_t gfp); 88 struct cfg80211_roam_info *info, gfp_t gfp); 99 int key_id, const u8 *tsc, gfp_t gfp); 108 gfp_t gfp); [all …]
|
/Linux-v5.10/include/drm/ |
D | drm_managed.h | 49 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc; 61 static inline void *drmm_kzalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kzalloc() 78 size_t n, size_t size, gfp_t flags) in drmm_kmalloc_array() 100 size_t n, size_t size, gfp_t flags) in drmm_kcalloc() 105 char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp);
|
/Linux-v5.10/security/apparmor/include/ |
D | label.h | 60 gfp_t gfp); 281 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp); 282 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp); 302 gfp_t gfp); 305 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp); 315 int flags, gfp_t gfp); 317 struct aa_label *label, int flags, gfp_t gfp); 319 struct aa_label *label, int flags, gfp_t gfp); 321 struct aa_label *label, int flags, gfp_t gfp); 323 gfp_t gfp); [all …]
|
/Linux-v5.10/mm/ |
D | slab.h | 89 struct kmem_cache *kmalloc_slab(size_t, gfp_t); 92 gfp_t kmalloc_fix_flags(gfp_t flags); 205 int __kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **); 260 gfp_t gfp); 282 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook() 321 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook() 404 struct kmem_cache *s, gfp_t gfp) in memcg_alloc_page_obj_cgroups() 415 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook() 422 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook() 509 size_t size, gfp_t flags) in slab_pre_alloc_hook() [all …]
|
/Linux-v5.10/tools/virtio/linux/ |
D | kernel.h | 54 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc() 60 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array() 65 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc() 73 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact() 90 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc() 96 static inline unsigned long __get_free_page(gfp_t gfp) in __get_free_page()
|
/Linux-v5.10/arch/powerpc/include/asm/ |
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()
|
/Linux-v5.10/include/trace/events/ |
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), 196 gfp_t gfp_flags, int migratetype), 203 __field( gfp_t, gfp_flags )
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_gpu_error.h | 225 i915_gpu_coredump_alloc(struct drm_i915_private *i915, gfp_t gfp); 228 intel_gt_coredump_alloc(struct intel_gt *gt, gfp_t gfp); 231 intel_engine_coredump_alloc(struct intel_engine_cs *engine, gfp_t gfp); 236 gfp_t gfp); 279 i915_gpu_coredump_alloc(struct drm_i915_private *i915, gfp_t gfp) in i915_gpu_coredump_alloc() 285 intel_gt_coredump_alloc(struct intel_gt *gt, gfp_t gfp) in intel_gt_coredump_alloc() 291 intel_engine_coredump_alloc(struct intel_engine_cs *engine, gfp_t gfp) in intel_engine_coredump_alloc() 299 gfp_t gfp) in intel_engine_coredump_add_request()
|