| /linux/tools/include/linux/ |
| H A D | gfp_types.h | 18 typedef unsigned int __bitwise gfp_t; 108 #define __GFP_DMA ((__force gfp_t)___GFP_DMA) 109 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM) 110 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32) 111 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* ZONE_MOVABLE allowed */ 145 #define __GFP_RECLAIMABLE ((__force gfp_t)___GFP_RECLAIMABLE) 146 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE) 147 #define __GFP_HARDWALL ((__force gfp_t)___GFP_HARDWALL) 148 #define __GFP_THISNODE ((__force gfp_t)___GFP_THISNODE) 149 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT) [all …]
|
| H A D | slab.h | 33 void *kmalloc(size_t size, gfp_t gfp); 35 void *kmalloc_array(size_t n, size_t size, gfp_t gfp); 138 static inline void *kzalloc(size_t size, gfp_t gfp) in kzalloc() 186 bool kmem_cache_alloc_bulk(struct kmem_cache *cachep, gfp_t gfp, size_t size, 189 kmem_cache_prefill_sheaf(struct kmem_cache *s, gfp_t gfp, unsigned int size); 192 kmem_cache_alloc_from_sheaf(struct kmem_cache *s, gfp_t gfp, 195 void kmem_cache_return_sheaf(struct kmem_cache *s, gfp_t gfp, 197 int kmem_cache_refill_sheaf(struct kmem_cache *s, gfp_t gfp,
|
| /linux/include/linux/ |
| H A D | kmemleak.h | 19 gfp_t gfp) __ref; 21 gfp_t gfp) __ref; 23 gfp_t gfp) __ref; 32 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref; 35 gfp_t gfp) __ref; 41 gfp_t gfp) in kmemleak_alloc_recursive() 64 gfp_t gfp) in kmemleak_alloc() 69 gfp_t gfp) in kmemleak_alloc_recursive() 73 gfp_t gfp) in kmemleak_alloc_percpu() 77 gfp_t gfp) in kmemleak_vmalloc() [all …]
|
| H A D | xarray.h | 271 #define XA_FLAGS_LOCK_IRQ ((__force gfp_t)XA_LOCK_IRQ) 272 #define XA_FLAGS_LOCK_BH ((__force gfp_t)XA_LOCK_BH) 273 #define XA_FLAGS_TRACK_FREE ((__force gfp_t)4U) 274 #define XA_FLAGS_ZERO_BUSY ((__force gfp_t)8U) 275 #define XA_FLAGS_ALLOC_WRAPPED ((__force gfp_t)16U) 276 #define XA_FLAGS_ACCOUNT ((__force gfp_t)32U) 277 #define XA_FLAGS_MARK(mark) ((__force gfp_t)((1U << __GFP_BITS_SHIFT) << \ 303 gfp_t xa_flags; 356 void *xa_store(struct xarray *, unsigned long index, void *entry, gfp_t); 359 void *entry, gfp_t); [all …]
|
| H A D | devcoredump.h | 58 gfp_t gfp); 61 void *data, size_t datalen, gfp_t gfp, 69 size_t datalen, gfp_t gfp); 74 size_t datalen, gfp_t gfp) in dev_coredumpv() 81 void *data, size_t datalen, gfp_t gfp, in dev_coredumpm_timeout() 92 size_t datalen, gfp_t gfp) in dev_coredumpsg() 117 void *data, size_t datalen, gfp_t gfp, in dev_coredumpm()
|
| H A D | kmsan.h | 69 void kmsan_alloc_page(struct page *page, unsigned int order, gfp_t flags); 100 void kmsan_slab_alloc(struct kmem_cache *s, void *object, gfp_t flags); 119 void kmsan_kmalloc_large(const void *ptr, size_t size, gfp_t flags); 147 gfp_t gfp_mask); 320 gfp_t flags) in kmsan_alloc_page() 333 gfp_t flags) in kmsan_slab_alloc() 342 gfp_t flags) in kmsan_kmalloc_large() 352 struct page **pages, unsigned int page_shift, gfp_t gfp_mask) in kmsan_vmap_pages_range_noflush()
|
| H A D | idr.h | 33 #define IDR_RT_MARKER (ROOT_IS_IDR | (__force gfp_t) \ 113 void idr_preload(gfp_t gfp_mask); 115 int idr_alloc(struct idr *, void *ptr, int start, int end, gfp_t); 117 unsigned long max, gfp_t); 118 int idr_alloc_cyclic(struct idr *, void *ptr, int start, int end, gfp_t); 142 struct idr *idr, void *ptr, int start, int end, gfp_t gfp); 274 int ida_alloc_range(struct ida *, unsigned int min, unsigned int max, gfp_t); 291 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc() 309 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) in ida_alloc_min() 327 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max()
|
| H A D | string_helpers.h | 113 char *kstrdup_quotable(const char *src, gfp_t gfp); 114 char *kstrdup_quotable_cmdline(struct task_struct *task, gfp_t gfp); 115 char *kstrdup_quotable_file(struct file *file, gfp_t gfp); 117 char *kstrdup_and_replace(const char *src, char old, char new, gfp_t gfp); 119 char **kasprintf_strarray(gfp_t gfp, const char *prefix, size_t n);
|
| H A D | fault-inject.h | 117 bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order); 119 static inline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order) in should_fail_alloc_page() 126 int should_failslab(struct kmem_cache *s, gfp_t gfpflags); 128 static inline int should_failslab(struct kmem_cache *s, gfp_t gfpflags) in should_failslab()
|
| H A D | maple_tree.h | 363 void *entry, gfp_t gfp); 365 unsigned long last, void *entry, gfp_t gfp); 368 unsigned long max, gfp_t gfp); 371 unsigned long *next, gfp_t gfp); 374 unsigned long max, gfp_t gfp); 377 unsigned long last, void *entry, gfp_t gfp); 379 void *entry, gfp_t gfp); 382 int mtree_dup(struct maple_tree *mt, struct maple_tree *new, gfp_t gfp); 383 int __mt_dup(struct maple_tree *mt, struct maple_tree *new, gfp_t gfp); 558 int mas_store_gfp(struct ma_state *mas, void *entry, gfp_t gfp); [all …]
|
| H A D | sprintf.h | 17 __printf(2, 3) __malloc char *kasprintf(gfp_t gfp, const char *fmt, ...); 18 __printf(2, 0) __malloc char *kvasprintf(gfp_t gfp, const char *fmt, va_list args); 19 __printf(2, 0) const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list args);
|
| H A D | cpuset.h | 88 extern bool cpuset_current_node_allowed(int node, gfp_t gfp_mask); 90 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed() 95 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed() 232 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed() 237 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
|
| /linux/include/net/sctp/ |
| H 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 …]
|
| H 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);
|
| H A D | ulpqueue.h | 43 int sctp_ulpq_tail_data(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); 49 void sctp_ulpq_renege(struct sctp_ulpq *, struct sctp_chunk *, gfp_t); 52 void sctp_ulpq_partial_delivery(struct sctp_ulpq *, gfp_t); 55 void sctp_ulpq_abort_pd(struct sctp_ulpq *, gfp_t);
|
| /linux/rust/bindings/ |
| H A D | bindings_helper.h | 113 const gfp_t RUST_CONST_HELPER_GFP_ATOMIC = GFP_ATOMIC; 114 const gfp_t RUST_CONST_HELPER_GFP_KERNEL = GFP_KERNEL; 115 const gfp_t RUST_CONST_HELPER_GFP_KERNEL_ACCOUNT = GFP_KERNEL_ACCOUNT; 116 const gfp_t RUST_CONST_HELPER_GFP_NOWAIT = GFP_NOWAIT; 117 const gfp_t RUST_CONST_HELPER___GFP_ZERO = __GFP_ZERO; 118 const gfp_t RUST_CONST_HELPER___GFP_HIGHMEM = ___GFP_HIGHMEM; 119 const gfp_t RUST_CONST_HELPER___GFP_NOWARN = ___GFP_NOWARN; 125 const gfp_t RUST_CONST_HELPER_XA_FLAGS_ALLOC = XA_FLAGS_ALLOC; 126 const gfp_t RUST_CONST_HELPER_XA_FLAGS_ALLOC1 = XA_FLAGS_ALLOC1;
|
| /linux/include/net/ |
| H A D | handshake.h | 36 int tls_client_hello_anon(const struct tls_handshake_args *args, gfp_t flags); 37 int tls_client_hello_x509(const struct tls_handshake_args *args, gfp_t flags); 38 int tls_client_hello_psk(const struct tls_handshake_args *args, gfp_t flags); 39 int tls_server_hello_x509(const struct tls_handshake_args *args, gfp_t flags); 40 int tls_server_hello_psk(const struct tls_handshake_args *args, gfp_t flags);
|
| /linux/tools/virtio/linux/ |
| H A D | kernel.h | 57 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc() 63 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array() 74 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc() 82 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in kfree() 99 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in __get_free_page() 105 static inline unsigned long __get_free_page(gfp_t gfp) in __get_free_page() 125 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array()
|
| /linux/fs/btrfs/ |
| H A D | ulist.h | 50 struct ulist *ulist_alloc(gfp_t gfp_mask); 51 void ulist_prealloc(struct ulist *ulist, gfp_t mask); 53 int ulist_add(struct ulist *ulist, u64 val, u64 aux, gfp_t gfp_mask); 55 u64 *old_aux, gfp_t gfp_mask); 60 void **old_aux, gfp_t gfp_mask) in ulist_add_merge_ptr()
|
| /linux/arch/powerpc/include/asm/ |
| H 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()
|
| /linux/security/apparmor/include/ |
| H A D | label.h | 61 gfp_t gfp); 268 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp); 269 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp); 287 gfp_t gfp); 290 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp); 300 int flags, gfp_t gfp); 302 struct aa_label *label, int flags, gfp_t gfp); 304 struct aa_label *label, int flags, gfp_t gfp); 306 struct aa_label *label, int flags, gfp_t gfp); 308 gfp_t gf [all...] |
| /linux/include/linux/sched/ |
| H A D | mm.h | 249 static inline gfp_t current_gfp_context(gfp_t flags) in current_gfp_context() 272 extern void fs_reclaim_acquire(gfp_t gfp_mask); 273 extern void fs_reclaim_release(gfp_t gfp_mask); 277 static inline void fs_reclaim_acquire(gfp_t gfp_mask) { } in fs_reclaim_acquire() 278 static inline void fs_reclaim_release(gfp_t gfp_mask) { } in fs_reclaim_release() 288 static inline void memalloc_retry_wait(gfp_t gfp_flags) in memalloc_retry_wait() 315 static inline void might_alloc(gfp_t gfp_mask) in might_alloc()
|
| /linux/tools/virtio/ringtest/ |
| H A D | ptr_ring.c | 24 typedef int gfp_t; typedef 27 static void *kmalloc(unsigned size, gfp_t gfp) in kmalloc() 38 static inline void *kzalloc(unsigned size, gfp_t flags) in kzalloc() 43 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array() 50 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
|
| /linux/lib/kunit/ |
| H A D | string-stream.h | 26 gfp_t gfp; 32 struct string_stream *kunit_alloc_string_stream(struct kunit *test, gfp_t gfp); 35 struct string_stream *alloc_string_stream(gfp_t gfp);
|
| /linux/include/linux/greybus/ |
| H A D | operation.h | 149 gfp_t gfp); 154 size_t response_size, gfp_t gfp) in gb_operation_create() 164 gfp_t gfp); 170 size_t response_size, gfp_t gfp); 175 gfp_t gfp);
|