Home
last modified time | relevance | path

Searched refs:gfp_t (Results 1 – 25 of 1157) sorted by relevance

12345678910>>...47

/Linux-v4.19/include/linux/
Dgfp.h56 #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)
117 #define __GFP_ATOMIC ((__force gfp_t)___GFP_ATOMIC)
[all …]
Dslab.h181 void * __must_check __krealloc(const void *, size_t, gfp_t);
182 void * __must_check krealloc(const void *, size_t, gfp_t);
355 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __malloc;
356 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc;
367 int kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **);
379 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment __malloc;
380 void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node) __assume_slab_alignment __m…
382 static __always_inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node()
387 static __always_inline void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) in kmem_cache_alloc_node()
394 extern void *kmem_cache_alloc_trace(struct kmem_cache *, gfp_t, size_t) __assume_slab_alignment __m…
[all …]
Dkmemleak.h31 gfp_t gfp) __ref;
33 gfp_t gfp) __ref;
35 gfp_t gfp) __ref;
42 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref;
45 gfp_t gfp) __ref;
52 gfp_t gfp) in kmemleak_alloc_recursive()
75 gfp_t gfp) in kmemleak_alloc()
80 gfp_t gfp) in kmemleak_alloc_recursive()
84 gfp_t gfp) in kmemleak_alloc_percpu()
88 gfp_t gfp) in kmemleak_vmalloc()
[all …]
Didr.h32 #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);
239 int ida_alloc_range(struct ida *, unsigned int min, unsigned int max, gfp_t);
254 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc()
271 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) in ida_alloc_min()
288 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max()
308 int ida_pre_get(struct ida *ida, gfp_t gfp_mask);
Dmempool.h13 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);
Dswap.h346 gfp_t gfp_mask, nodemask_t *mask);
350 gfp_t gfp_mask,
353 gfp_t gfp_mask, bool noswap,
365 extern int node_reclaim(struct pglist_data *, gfp_t, unsigned int);
368 static inline int node_reclaim(struct pglist_data *pgdat, gfp_t mask, in node_reclaim()
409 extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t);
418 extern struct page *read_swap_cache_async(swp_entry_t, gfp_t,
421 extern struct page *__read_swap_cache_async(swp_entry_t, gfp_t,
424 extern struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag,
426 extern struct page *swapin_readahead(swp_entry_t entry, gfp_t flag,
[all …]
Dkasan.h56 void kasan_kmalloc_large(const void *ptr, size_t size, gfp_t flags);
60 gfp_t flags);
61 void kasan_krealloc(const void *object, size_t new_size, gfp_t flags);
63 void kasan_slab_alloc(struct kmem_cache *s, void *object, gfp_t flags);
111 static inline void kasan_kmalloc_large(void *ptr, size_t size, gfp_t flags) {} in kasan_kmalloc_large()
115 size_t size, gfp_t flags) {} in kasan_kmalloc()
117 gfp_t flags) {} in kasan_krealloc()
120 gfp_t flags) {} in kasan_slab_alloc()
Ddevcoredump.h71 gfp_t gfp);
74 void *data, size_t datalen, gfp_t gfp,
80 size_t datalen, gfp_t gfp);
83 size_t datalen, gfp_t gfp) in dev_coredumpv()
90 void *data, size_t datalen, gfp_t gfp, in dev_coredumpm()
99 size_t datalen, gfp_t gfp) in dev_coredumpsg()
Dcpuset.h65 extern bool __cpuset_node_allowed(int node, gfp_t gfp_mask);
67 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed()
74 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
79 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
202 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed()
207 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
212 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
Dpagemap.h100 static inline gfp_t mapping_gfp_mask(struct address_space * mapping) in mapping_gfp_mask()
106 static inline gfp_t mapping_gfp_constraint(struct address_space *mapping, in mapping_gfp_constraint()
107 gfp_t gfp_mask) in mapping_gfp_constraint()
116 static inline void mapping_set_gfp_mask(struct address_space *m, gfp_t mask) in mapping_set_gfp_mask()
224 extern struct page *__page_cache_alloc(gfp_t gfp);
226 static inline struct page *__page_cache_alloc(gfp_t gfp) in __page_cache_alloc()
237 static inline gfp_t readahead_gfp_mask(struct address_space *x) in readahead_gfp_mask()
257 int fgp_flags, gfp_t cache_gfp_mask);
320 pgoff_t offset, gfp_t gfp_mask) in find_or_create_page()
394 pgoff_t index, gfp_t gfp_mask);
[all …]
Dvmpressure.h33 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()
Dfscache.h211 gfp_t);
218 gfp_t);
219 extern int __fscache_alloc_page(struct fscache_cookie *, struct page *, gfp_t);
220 extern int __fscache_write_page(struct fscache_cookie *, struct page *, loff_t, gfp_t);
225 gfp_t);
548 gfp_t gfp) in fscache_read_or_alloc_page()
599 gfp_t gfp) in fscache_read_or_alloc_pages()
630 gfp_t gfp) in fscache_alloc_page()
681 gfp_t gfp) in fscache_write_page()
767 gfp_t gfp) in fscache_maybe_release_page()
/Linux-v4.19/include/net/sctp/
Dulpevent.h96 gfp_t gfp);
104 gfp_t gfp);
110 gfp_t gfp);
116 gfp_t gfp);
121 gfp_t gfp);
126 __u32 flags, gfp_t gfp);
129 const struct sctp_association *asoc, gfp_t gfp);
133 gfp_t gfp);
137 __u32 indication, gfp_t gfp);
140 const struct sctp_association *asoc, gfp_t gfp);
[all …]
Dstream_interleave.h40 int len, __u8 flags, gfp_t gfp);
44 struct sctp_chunk *chunk, gfp_t gfp);
48 struct sctp_chunk *chunk, gfp_t gfp);
49 void (*start_pd)(struct sctp_ulpq *ulpq, gfp_t gfp);
50 void (*abort_pd)(struct sctp_ulpq *ulpq, gfp_t gfp);
Dulpqueue.h59 int sctp_ulpq_tail_data(struct sctp_ulpq *, struct sctp_chunk *, gfp_t);
65 void sctp_ulpq_renege(struct sctp_ulpq *, struct sctp_chunk *, gfp_t);
68 void sctp_ulpq_partial_delivery(struct sctp_ulpq *, gfp_t);
71 void sctp_ulpq_abort_pd(struct sctp_ulpq *, gfp_t);
Dauth.h86 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp);
88 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp);
94 gfp_t gfp);
95 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp);
109 struct sctp_shared_key *ep_key, gfp_t gfp);
Dstream_sched.h37 gfp_t gfp);
43 int (*init_sid)(struct sctp_stream *stream, __u16 sid, gfp_t gfp);
63 __u16 value, gfp_t gfp);
69 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp);
/Linux-v4.19/net/wireless/
Dnl80211.h38 const u8 *buf, size_t len, gfp_t gfp);
41 const u8 *buf, size_t len, gfp_t gfp,
45 const u8 *buf, size_t len, gfp_t gfp);
48 const u8 *buf, size_t len, gfp_t gfp);
51 const u8 *addr, gfp_t gfp);
54 const u8 *addr, gfp_t gfp);
58 gfp_t gfp);
61 struct cfg80211_roam_info *info, gfp_t gfp);
72 int key_id, const u8 *tsc, gfp_t gfp);
81 gfp_t gfp);
[all …]
/Linux-v4.19/arch/powerpc/include/asm/
Dpgalloc.h8 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-v4.19/security/apparmor/include/
Dlabel.h64 gfp_t gfp);
284 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp);
285 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp);
304 gfp_t gfp);
307 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp);
317 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 struct aa_label *label, int flags, gfp_t gfp);
325 gfp_t gfp);
[all …]
/Linux-v4.19/include/net/
Dhwbm.h21 int hwbm_pool_refill(struct hwbm_pool *bm_pool, gfp_t gfp);
22 int hwbm_pool_add(struct hwbm_pool *bm_pool, unsigned int buf_num, gfp_t gfp);
25 int hwbm_pool_refill(struct hwbm_pool *bm_pool, gfp_t gfp) { return 0; } in hwbm_pool_refill()
26 int hwbm_pool_add(struct hwbm_pool *bm_pool, unsigned int buf_num, gfp_t gfp) in hwbm_pool_add()
/Linux-v4.19/tools/virtio/linux/
Dkernel.h49 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc()
55 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array()
60 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc()
68 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact()
85 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc()
91 static inline unsigned long __get_free_page(gfp_t gfp) in __get_free_page()
/Linux-v4.19/include/trace/events/
Dkmem.h18 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),
195 gfp_t gfp_flags, int migratetype),
202 __field( gfp_t, gfp_flags )
/Linux-v4.19/include/linux/sched/
Dmm.h152 static inline gfp_t current_gfp_context(gfp_t flags) in current_gfp_context()
168 extern void fs_reclaim_acquire(gfp_t gfp_mask);
169 extern void fs_reclaim_release(gfp_t gfp_mask);
173 static inline void fs_reclaim_acquire(gfp_t gfp_mask) { } in fs_reclaim_acquire()
174 static inline void fs_reclaim_release(gfp_t gfp_mask) { } in fs_reclaim_release()
/Linux-v4.19/fs/btrfs/
Dulist.h48 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()

12345678910>>...47