Home
last modified time | relevance | path

Searched refs:gfp (Results 1 – 25 of 72) sorted by relevance

123

/include/linux/
Dkmemleak.h30 gfp_t gfp) __ref;
32 gfp_t gfp) __ref;
39 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref;
44 gfp_t gfp) in kmemleak_alloc_recursive() argument
47 kmemleak_alloc(ptr, size, min_count, gfp); in kmemleak_alloc_recursive()
67 gfp_t gfp) in kmemleak_alloc() argument
72 gfp_t gfp) in kmemleak_alloc_recursive() argument
76 gfp_t gfp) in kmemleak_alloc_percpu() argument
100 static inline void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) in kmemleak_scan_area() argument
Dvmpressure.h29 extern void vmpressure(gfp_t gfp, struct mem_cgroup *memcg,
31 extern void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio);
43 static inline void vmpressure(gfp_t gfp, struct mem_cgroup *memcg, in vmpressure() argument
45 static inline void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, in vmpressure_prio() argument
Ddevcoredump.h10 gfp_t gfp);
13 const void *data, size_t datalen, gfp_t gfp,
19 size_t datalen, gfp_t gfp) in dev_coredumpv() argument
26 const void *data, size_t datalen, gfp_t gfp, in dev_coredumpm() argument
Dzpool.h42 gfp_t gfp, const struct zpool_ops *ops);
48 int zpool_malloc(struct zpool *pool, size_t size, gfp_t gfp,
87 gfp_t gfp,
92 int (*malloc)(void *pool, size_t size, gfp_t gfp,
Dzbud.h12 struct zbud_pool *zbud_create_pool(gfp_t gfp, const struct zbud_ops *ops);
14 int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp,
Dfscache.h546 gfp_t gfp) in fscache_read_or_alloc_page() argument
550 context, gfp); in fscache_read_or_alloc_page()
597 gfp_t gfp) in fscache_read_or_alloc_pages() argument
602 context, gfp); in fscache_read_or_alloc_pages()
628 gfp_t gfp) in fscache_alloc_page() argument
631 return __fscache_alloc_page(cookie, page, gfp); in fscache_alloc_page()
677 gfp_t gfp) in fscache_write_page() argument
680 return __fscache_write_page(cookie, page, gfp); in fscache_write_page()
763 gfp_t gfp) in fscache_maybe_release_page() argument
766 return __fscache_maybe_release_page(cookie, page, gfp); in fscache_maybe_release_page()
Dstring.h158 extern char *kstrdup(const char *s, gfp_t gfp);
159 extern const char *kstrdup_const(const char *s, gfp_t gfp);
160 extern char *kstrndup(const char *s, size_t len, gfp_t gfp);
161 extern void *kmemdup(const void *src, size_t len, gfp_t gfp);
162 extern char *kmemdup_nul(const char *s, size_t len, gfp_t gfp);
164 extern char **argv_split(gfp_t gfp, const char *str, int *argcp);
Dbtree-type.h31 gfp_t gfp) in BTREE_FN()
33 return btree_merge(&target->h, &victim->h, BTREE_TYPE_GEO, gfp); in BTREE_FN()
44 void *val, gfp_t gfp) in BTREE_FN()
47 return btree_insert(&head->h, BTREE_TYPE_GEO, &_key, val, gfp); in BTREE_FN()
87 void *val, gfp_t gfp) in BTREE_FN()
90 val, gfp); in BTREE_FN()
Dpercpu_counter.h30 int __percpu_counter_init(struct percpu_counter *fbc, s64 amount, gfp_t gfp,
33 #define percpu_counter_init(fbc, value, gfp) \ argument
37 __percpu_counter_init(fbc, value, gfp, &__key); \
99 gfp_t gfp) in percpu_counter_init() argument
Dbtree-128.h41 void *val, gfp_t gfp) in btree_insert128() argument
45 (unsigned long *)&key, val, gfp); in btree_insert128()
78 gfp_t gfp) in btree_merge128() argument
80 return btree_merge(&target->h, &victim->h, &btree_geo128, gfp); in btree_merge128()
Dpercpu.h126 extern void __percpu *__alloc_percpu_gfp(size_t size, size_t align, gfp_t gfp);
131 #define alloc_percpu_gfp(type, gfp) \ argument
133 __alignof__(type), gfp)
Dflex_array.h76 #define flex_array_put_ptr(fa, nr, src, gfp) \ argument
77 flex_array_put(fa, nr, (void *)&(src), gfp)
Dmemcontrol.h762 int __memcg_kmem_charge_memcg(struct page *page, gfp_t gfp, int order,
764 int __memcg_kmem_charge(struct page *page, gfp_t gfp, int order);
780 static inline bool __memcg_kmem_bypass(gfp_t gfp) in __memcg_kmem_bypass() argument
784 if (gfp & __GFP_NOACCOUNT) in __memcg_kmem_bypass()
800 gfp_t gfp, int order) in memcg_kmem_charge() argument
802 if (__memcg_kmem_bypass(gfp)) in memcg_kmem_charge()
804 return __memcg_kmem_charge(page, gfp, order); in memcg_kmem_charge()
826 memcg_kmem_get_cache(struct kmem_cache *cachep, gfp_t gfp) in memcg_kmem_get_cache() argument
828 if (__memcg_kmem_bypass(gfp)) in memcg_kmem_get_cache()
852 static inline int memcg_kmem_charge(struct page *page, gfp_t gfp, int order) in memcg_kmem_charge() argument
[all …]
Dvirtio.h40 gfp_t gfp);
45 gfp_t gfp);
52 gfp_t gfp);
Dflex_proportions.h36 int fprop_global_init(struct fprop_global *p, gfp_t gfp);
83 int fprop_local_init_percpu(struct fprop_local_percpu *pl, gfp_t gfp);
Dfirmware.h46 const char *name, struct device *device, gfp_t gfp, void *context,
61 const char *name, struct device *device, gfp_t gfp, void *context, in request_firmware_nowait() argument
Dproportions.h44 int prop_descriptor_init(struct prop_descriptor *pd, int shift, gfp_t gfp);
65 int prop_local_init_percpu(struct prop_local_percpu *pl, gfp_t gfp);
/include/net/sctp/
Dulpevent.h86 gfp_t gfp);
94 gfp_t gfp);
100 gfp_t gfp);
106 gfp_t gfp);
111 gfp_t gfp);
115 __u32 indication, gfp_t gfp);
118 const struct sctp_association *asoc, gfp_t gfp);
122 gfp_t gfp);
126 __u32 indication, gfp_t gfp);
129 const struct sctp_association *asoc, gfp_t gfp);
Dauth.h83 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp);
85 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp);
91 gfp_t gfp);
92 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp);
104 struct sctp_auth_chunk *auth, gfp_t gfp);
/include/net/netfilter/
Dnf_conntrack_extend.h94 size_t var_alloc_len, gfp_t gfp);
96 #define nf_ct_ext_add(ct, id, gfp) \ argument
97 ((id##_TYPE *)__nf_ct_ext_add_length((ct), (id), 0, (gfp)))
98 #define nf_ct_ext_add_length(ct, id, len, gfp) \ argument
99 ((id##_TYPE *)__nf_ct_ext_add_length((ct), (id), (len), (gfp)))
Dnf_conntrack_timestamp.h26 struct nf_conn_tstamp *nf_ct_tstamp_ext_add(struct nf_conn *ct, gfp_t gfp) in nf_ct_tstamp_ext_add() argument
34 return nf_ct_ext_add(ct, NF_CT_EXT_TSTAMP, gfp); in nf_ct_tstamp_ext_add()
Dnf_conntrack_acct.h33 struct nf_conn_acct *nf_ct_acct_ext_add(struct nf_conn *ct, gfp_t gfp) in nf_ct_acct_ext_add() argument
41 acct = nf_ct_ext_add(ct, NF_CT_EXT_ACCT, gfp); in nf_ct_acct_ext_add()
Dnf_conntrack_timeout.h51 gfp_t gfp) in nf_ct_timeout_ext_add() argument
56 timeout_ext = nf_ct_ext_add(ct, NF_CT_EXT_TIMEOUT, gfp); in nf_ct_timeout_ext_add()
/include/net/
Dcfg80211.h4040 gfp_t gfp);
4047 s32 signal, gfp_t gfp) in cfg80211_inform_bss_width_frame() argument
4055 return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp); in cfg80211_inform_bss_width_frame()
4062 s32 signal, gfp_t gfp) in cfg80211_inform_bss_frame() argument
4070 return cfg80211_inform_bss_frame_data(wiphy, &data, mgmt, len, gfp); in cfg80211_inform_bss_frame()
4112 gfp_t gfp);
4121 s32 signal, gfp_t gfp) in cfg80211_inform_bss_width() argument
4131 gfp); in cfg80211_inform_bss_width()
4140 s32 signal, gfp_t gfp) in cfg80211_inform_bss() argument
4150 gfp); in cfg80211_inform_bss()
[all …]
/include/linux/ceph/
Dbuffer.h21 extern struct ceph_buffer *ceph_buffer_new(size_t len, gfp_t gfp);

123