/linux-5.19.10/include/linux/ |
D | gfp.h | 22 typedef unsigned int __bitwise gfp_t; 80 #define __GFP_DMA ((__force gfp_t)___GFP_DMA) 81 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM) 82 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32) 83 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* ZONE_MOVABLE allowed */ 113 #define __GFP_RECLAIMABLE ((__force gfp_t)___GFP_RECLAIMABLE) 114 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE) 115 #define __GFP_HARDWALL ((__force gfp_t)___GFP_HARDWALL) 116 #define __GFP_THISNODE ((__force gfp_t)___GFP_THISNODE) 117 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) [all …]
|
D | slab.h | 187 void * __must_check krealloc(const void *objp, size_t new_size, gfp_t flags) __alloc_size(2); 349 static __always_inline enum kmalloc_cache_type kmalloc_type(gfp_t flags) in kmalloc_type() 434 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __alloc_size(1); 435 void *kmem_cache_alloc(struct kmem_cache *s, gfp_t flags) __assume_slab_alignment __malloc; 437 gfp_t gfpflags) __assume_slab_alignment __malloc; 448 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, void **p); 460 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment 462 void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) __assume_slab_alignment 465 static __always_inline __alloc_size(1) void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node() 470 static __always_inline void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) in kmem_cache_alloc_node() [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 | 266 #define XA_FLAGS_LOCK_IRQ ((__force gfp_t)XA_LOCK_IRQ) 267 #define XA_FLAGS_LOCK_BH ((__force gfp_t)XA_LOCK_BH) 268 #define XA_FLAGS_TRACK_FREE ((__force gfp_t)4U) 269 #define XA_FLAGS_ZERO_BUSY ((__force gfp_t)8U) 270 #define XA_FLAGS_ALLOC_WRAPPED ((__force gfp_t)16U) 271 #define XA_FLAGS_ACCOUNT ((__force gfp_t)32U) 272 #define XA_FLAGS_MARK(mark) ((__force gfp_t)((1U << __GFP_BITS_SHIFT) << \ 298 gfp_t xa_flags; 351 void *xa_store(struct xarray *, unsigned long index, void *entry, gfp_t); 354 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 | kasan.h | 219 void *object, gfp_t flags, bool init); 221 struct kmem_cache *s, void *object, gfp_t flags, bool init) in kasan_slab_alloc() 229 size_t size, gfp_t flags); 231 const void *object, size_t size, gfp_t flags) in kasan_kmalloc() 239 size_t size, gfp_t flags); 241 size_t size, gfp_t flags) in kasan_kmalloc_large() 249 size_t new_size, gfp_t flags); 251 size_t new_size, gfp_t flags) in kasan_krealloc() 303 gfp_t flags, bool init) in kasan_slab_alloc() 308 size_t size, gfp_t flags) in kasan_kmalloc() [all …]
|
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 | 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()
|
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 | fault-inject.h | 69 bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order); 71 int should_failslab(struct kmem_cache *s, gfp_t gfpflags); 73 extern bool __should_failslab(struct kmem_cache *s, gfp_t gfpflags); 75 static inline bool __should_failslab(struct kmem_cache *s, gfp_t gfpflags) in __should_failslab()
|
/linux-5.19.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-5.19.10/net/wireless/ |
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-5.19.10/mm/ |
D | swap.h | 38 gfp_t gfp, void **shadowp); 50 struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, 55 struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, 59 struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag, 61 struct page *swapin_readahead(swp_entry_t entry, gfp_t flag, 93 gfp_t gfp_mask, struct vm_fault *vmf) in swap_cluster_readahead() 98 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead() 133 gfp_t gfp_mask, void **shadowp) in add_to_swap_cache()
|
D | slab.h | 275 struct kmem_cache *kmalloc_slab(size_t, gfp_t); 278 gfp_t kmalloc_fix_flags(gfp_t flags); 390 int __kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **); 454 gfp_t gfp, bool new_slab); 479 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook() 517 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook() 606 struct kmem_cache *s, gfp_t gfp, in memcg_alloc_slab_cgroups() 619 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook() 626 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook() 650 struct kmem_cache *s, gfp_t gfp) in account_slab() [all …]
|
/linux-5.19.10/tools/virtio/linux/ |
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-5.19.10/include/drm/ |
D | drm_managed.h | 48 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc; 60 static inline void *drmm_kzalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kzalloc() 77 size_t n, size_t size, gfp_t flags) in drmm_kmalloc_array() 99 size_t n, size_t size, gfp_t flags) in drmm_kcalloc() 104 char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp);
|
/linux-5.19.10/security/apparmor/include/ |
D | label.h | 60 gfp_t gfp); 278 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp); 279 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp); 299 gfp_t gfp); 302 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, 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); [all …]
|
/linux-5.19.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-5.19.10/include/linux/sched/ |
D | mm.h | 203 static inline gfp_t current_gfp_context(gfp_t flags) in current_gfp_context() 226 extern void fs_reclaim_acquire(gfp_t gfp_mask); 227 extern void fs_reclaim_release(gfp_t gfp_mask); 231 static inline void fs_reclaim_acquire(gfp_t gfp_mask) { } in fs_reclaim_acquire() 232 static inline void fs_reclaim_release(gfp_t gfp_mask) { } in fs_reclaim_release() 242 static inline void memalloc_retry_wait(gfp_t gfp_flags) in memalloc_retry_wait() 269 static inline void might_alloc(gfp_t gfp_mask) in might_alloc()
|
/linux-5.19.10/fs/btrfs/ |
D | ulist.h | 48 struct ulist *ulist_alloc(gfp_t gfp_mask); 50 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask); 52 u64 *old_aux, gfp_t gfp_mask); 57 void **old_aux, gfp_t gfp_mask) in ulist_add_merge_ptr()
|