Home
last modified time | relevance | path

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

12345678910>>...58

/OK3568_Linux_fs/kernel/include/linux/
H A Dgfp.h68 #define __GFP_DMA ((__force gfp_t)___GFP_DMA)
69 #define __GFP_HIGHMEM ((__force gfp_t)___GFP_HIGHMEM)
70 #define __GFP_DMA32 ((__force gfp_t)___GFP_DMA32)
71 #define __GFP_MOVABLE ((__force gfp_t)___GFP_MOVABLE) /* ZONE_MOVABLE allowed */
72 #define __GFP_CMA ((__force gfp_t)___GFP_CMA)
102 #define __GFP_RECLAIMABLE ((__force gfp_t)___GFP_RECLAIMABLE)
103 #define __GFP_WRITE ((__force gfp_t)___GFP_WRITE)
104 #define __GFP_HARDWALL ((__force gfp_t)___GFP_HARDWALL)
105 #define __GFP_THISNODE ((__force gfp_t)___GFP_THISNODE)
106 #define __GFP_ACCOUNT ((__force gfp_t)___GFP_ACCOUNT)
[all …]
H A Dslab.h184 void * __must_check krealloc(const void *, size_t, gfp_t);
330 static __always_inline enum kmalloc_cache_type kmalloc_type(gfp_t flags) in kmalloc_type()
401 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __malloc;
402 void *kmem_cache_alloc(struct kmem_cache *, gfp_t flags) __assume_slab_alignment __malloc;
413 int kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **);
425 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment __malloc;
426 void *kmem_cache_alloc_node(struct kmem_cache *, gfp_t flags, int node) __assume_slab_alignment __m…
428 static __always_inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node()
433 static __always_inline void *kmem_cache_alloc_node(struct kmem_cache *s, gfp_t flags, int node) in kmem_cache_alloc_node()
440 extern void *kmem_cache_alloc_trace(struct kmem_cache *, gfp_t, size_t) __assume_slab_alignment __m…
[all …]
H A Dkmemleak.h19 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 …]
H A Dxarray.h263 #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 …]
H A Dkasan.h87 void kasan_alloc_pages(struct page *page, unsigned int order, gfp_t flags);
93 unsigned int order, gfp_t flags) in kasan_alloc_pages()
234 void *object, gfp_t flags, bool init);
236 struct kmem_cache *s, void *object, gfp_t flags, bool init) in kasan_slab_alloc()
244 size_t size, gfp_t flags);
246 const void *object, size_t size, gfp_t flags) in kasan_kmalloc()
254 size_t size, gfp_t flags);
256 size_t size, gfp_t flags) in kasan_kmalloc_large()
264 size_t new_size, gfp_t flags);
266 size_t new_size, gfp_t flags) in kasan_krealloc()
[all …]
H A 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);
H A 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);
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()
H A Dswap.h371 gfp_t gfp_mask, nodemask_t *mask);
375 gfp_t gfp_mask,
378 gfp_t gfp_mask, bool noswap,
429 gfp_t gfp, void **shadowp);
441 extern struct page *read_swap_cache_async(swp_entry_t, gfp_t,
444 extern struct page *__read_swap_cache_async(swp_entry_t, gfp_t,
447 extern struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag,
449 extern struct page *swapin_readahead(swp_entry_t entry, gfp_t flag,
474 extern int add_swap_count_continuation(swp_entry_t, gfp_t);
539 static inline int add_swap_count_continuation(swp_entry_t swp, gfp_t gfp_mask) in add_swap_count_continuation()
[all …]
H A Ddevcoredump.h56 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()
H A Dcpuset.h67 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()
208 static inline bool cpuset_node_allowed(int node, gfp_t gfp_mask) in cpuset_node_allowed()
213 static inline bool __cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in __cpuset_zone_allowed()
218 static inline bool cpuset_zone_allowed(struct zone *z, gfp_t gfp_mask) in cpuset_zone_allowed()
H A Dfscache.h207 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()
/OK3568_Linux_fs/kernel/include/net/sctp/
H A Dulpevent.h81 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 Dstream_interleave.h25 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 Dauth.h71 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);
/OK3568_Linux_fs/kernel/net/wireless/
H A Dnl80211.h64 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 …]
/OK3568_Linux_fs/u-boot/include/linux/
H A Dcompat.h47 #define GFP_ATOMIC ((gfp_t) 0)
48 #define GFP_KERNEL ((gfp_t) 0)
49 #define GFP_NOFS ((gfp_t) 0)
50 #define GFP_USER ((gfp_t) 0)
51 #define __GFP_NOWARN ((gfp_t) 0)
52 #define __GFP_ZERO ((__force gfp_t)0x8000u) /* Return zeroed page on success */
56 static inline void *kzalloc(size_t size, gfp_t flags) in kzalloc()
61 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array()
68 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
330 void *kmemdup(const void *src, size_t len, gfp_t gfp);
/OK3568_Linux_fs/kernel/security/apparmor/include/
H A Dlabel.h60 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 …]
/OK3568_Linux_fs/kernel/mm/
H A Dslab.h90 struct kmem_cache *kmalloc_slab(size_t, gfp_t);
93 gfp_t kmalloc_fix_flags(gfp_t flags);
225 int __kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **);
301 gfp_t gfp);
323 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook()
362 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook()
444 struct kmem_cache *s, gfp_t gfp) in memcg_alloc_page_obj_cgroups()
455 size_t objects, gfp_t flags) in memcg_slab_pre_alloc_hook()
462 gfp_t flags, size_t size, in memcg_slab_post_alloc_hook()
549 size_t size, gfp_t flags) in slab_pre_alloc_hook()
[all …]
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_managed.h49 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);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/
H A Dosdep_service_bsd.h559 typedef unsigned gfp_t; typedef
560 #define __GFP_WAIT ((gfp_t)0x10u) /* Can wait and reschedule? */
561 #define __GFP_HIGH ((gfp_t)0x20u) /* Should access emergency pools? */
562 #define __GFP_IO ((gfp_t)0x40u) /* Can start physical IO? */
563 #define __GFP_FS ((gfp_t)0x80u) /* Can call down to low-level FS? */
564 #define __GFP_COLD ((gfp_t)0x100u) /* Cache-cold page required */
565 #define __GFP_NOWARN ((gfp_t)0x200u) /* Suppress page allocation failure warning */
566 #define __GFP_REPEAT ((gfp_t)0x400u) /* Retry the allocation. Might fail */
567 #define __GFP_NOFAIL ((gfp_t)0x800u) /* Retry for ever. Cannot fail */
568 #define __GFP_NORETRY ((gfp_t)0x1000u)/* Do not retry. Might fail */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/
H A Dosdep_service_bsd.h572 typedef unsigned gfp_t; typedef
573 #define __GFP_WAIT ((gfp_t)0x10u) /* Can wait and reschedule? */
574 #define __GFP_HIGH ((gfp_t)0x20u) /* Should access emergency pools? */
575 #define __GFP_IO ((gfp_t)0x40u) /* Can start physical IO? */
576 #define __GFP_FS ((gfp_t)0x80u) /* Can call down to low-level FS? */
577 #define __GFP_COLD ((gfp_t)0x100u) /* Cache-cold page required */
578 #define __GFP_NOWARN ((gfp_t)0x200u) /* Suppress page allocation failure warning */
579 #define __GFP_REPEAT ((gfp_t)0x400u) /* Retry the allocation. Might fail */
580 #define __GFP_NOFAIL ((gfp_t)0x800u) /* Retry for ever. Cannot fail */
581 #define __GFP_NORETRY ((gfp_t)0x1000u)/* Do not retry. Might fail */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/
H A Dosdep_service_bsd.h559 typedef unsigned gfp_t; typedef
560 #define __GFP_WAIT ((gfp_t)0x10u) /* Can wait and reschedule? */
561 #define __GFP_HIGH ((gfp_t)0x20u) /* Should access emergency pools? */
562 #define __GFP_IO ((gfp_t)0x40u) /* Can start physical IO? */
563 #define __GFP_FS ((gfp_t)0x80u) /* Can call down to low-level FS? */
564 #define __GFP_COLD ((gfp_t)0x100u) /* Cache-cold page required */
565 #define __GFP_NOWARN ((gfp_t)0x200u) /* Suppress page allocation failure warning */
566 #define __GFP_REPEAT ((gfp_t)0x400u) /* Retry the allocation. Might fail */
567 #define __GFP_NOFAIL ((gfp_t)0x800u) /* Retry for ever. Cannot fail */
568 #define __GFP_NORETRY ((gfp_t)0x1000u)/* Do not retry. Might fail */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/include/
H A Dosdep_service_bsd.h559 typedef unsigned gfp_t; typedef
560 #define __GFP_WAIT ((gfp_t)0x10u) /* Can wait and reschedule? */
561 #define __GFP_HIGH ((gfp_t)0x20u) /* Should access emergency pools? */
562 #define __GFP_IO ((gfp_t)0x40u) /* Can start physical IO? */
563 #define __GFP_FS ((gfp_t)0x80u) /* Can call down to low-level FS? */
564 #define __GFP_COLD ((gfp_t)0x100u) /* Cache-cold page required */
565 #define __GFP_NOWARN ((gfp_t)0x200u) /* Suppress page allocation failure warning */
566 #define __GFP_REPEAT ((gfp_t)0x400u) /* Retry the allocation. Might fail */
567 #define __GFP_NOFAIL ((gfp_t)0x800u) /* Retry for ever. Cannot fail */
568 #define __GFP_NORETRY ((gfp_t)0x1000u)/* Do not retry. Might fail */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/
H A Dosdep_service_bsd.h559 typedef unsigned gfp_t; typedef
560 #define __GFP_WAIT ((gfp_t)0x10u) /* Can wait and reschedule? */
561 #define __GFP_HIGH ((gfp_t)0x20u) /* Should access emergency pools? */
562 #define __GFP_IO ((gfp_t)0x40u) /* Can start physical IO? */
563 #define __GFP_FS ((gfp_t)0x80u) /* Can call down to low-level FS? */
564 #define __GFP_COLD ((gfp_t)0x100u) /* Cache-cold page required */
565 #define __GFP_NOWARN ((gfp_t)0x200u) /* Suppress page allocation failure warning */
566 #define __GFP_REPEAT ((gfp_t)0x400u) /* Retry the allocation. Might fail */
567 #define __GFP_NOFAIL ((gfp_t)0x800u) /* Retry for ever. Cannot fail */
568 #define __GFP_NORETRY ((gfp_t)0x1000u)/* Do not retry. Might fail */
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/
H A Dosdep_service_bsd.h558 typedef unsigned gfp_t; typedef
559 #define __GFP_WAIT ((gfp_t)0x10u) /* Can wait and reschedule? */
560 #define __GFP_HIGH ((gfp_t)0x20u) /* Should access emergency pools? */
561 #define __GFP_IO ((gfp_t)0x40u) /* Can start physical IO? */
562 #define __GFP_FS ((gfp_t)0x80u) /* Can call down to low-level FS? */
563 #define __GFP_COLD ((gfp_t)0x100u) /* Cache-cold page required */
564 #define __GFP_NOWARN ((gfp_t)0x200u) /* Suppress page allocation failure warning */
565 #define __GFP_REPEAT ((gfp_t)0x400u) /* Retry the allocation. Might fail */
566 #define __GFP_NOFAIL ((gfp_t)0x800u) /* Retry for ever. Cannot fail */
567 #define __GFP_NORETRY ((gfp_t)0x1000u)/* Do not retry. Might fail */
[all …]

12345678910>>...58