Home
last modified time | relevance | path

Searched defs:gfp (Results 1 – 25 of 428) sorted by relevance

12345678910>>...18

/kernel/linux/linux-5.10/include/linux/
Dkmemleak.h40 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()
100 static inline void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) in kmemleak_scan_area()
110 int min_count, gfp_t gfp) in kmemleak_alloc_phys()
Ddevcoredump.h68 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()
Dxarray.h582 void *entry, gfp_t gfp) in xa_store_bh()
608 void *entry, gfp_t gfp) in xa_store_irq()
683 void *old, void *entry, gfp_t gfp) in xa_cmpxchg()
710 void *old, void *entry, gfp_t gfp) in xa_cmpxchg_bh()
737 void *old, void *entry, gfp_t gfp) in xa_cmpxchg_irq()
766 unsigned long index, void *entry, gfp_t gfp) in xa_insert()
795 unsigned long index, void *entry, gfp_t gfp) in xa_insert_bh()
824 unsigned long index, void *entry, gfp_t gfp) in xa_insert_irq()
853 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc()
882 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_bh()
[all …]
Dvmpressure.h47 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()
/kernel/linux/linux-5.10/kernel/dma/
Dpool.c49 static void dma_atomic_pool_size_add(gfp_t gfp, size_t size) in dma_atomic_pool_size_add()
59 static bool cma_in_zone(gfp_t gfp) in cma_in_zone()
83 gfp_t gfp) in atomic_pool_expand()
148 static void atomic_pool_resize(struct gen_pool *pool, gfp_t gfp) in atomic_pool_resize()
166 gfp_t gfp) in __dma_atomic_pool_init()
227 static inline struct gen_pool *dma_guess_pool(struct gen_pool *prev, gfp_t gfp) in dma_guess_pool()
269 void **cpu_addr, gfp_t gfp, in dma_alloc_from_pool()
/kernel/linux/linux-5.10/net/sctp/
Dulpevent.c49 gfp_t gfp) in sctp_ulpevent_new()
117 __u16 inbound, struct sctp_chunk *chunk, gfp_t gfp) in sctp_ulpevent_make_assoc_change()
244 int flags, int state, int error, gfp_t gfp) in sctp_ulpevent_make_peer_addr_change()
376 gfp_t gfp) in sctp_ulpevent_make_remote_error()
432 __u16 flags, __u32 error, gfp_t gfp) in sctp_ulpevent_make_send_failed()
535 __u16 flags, __u32 error, gfp_t gfp) in sctp_ulpevent_make_send_failed_event()
579 __u16 flags, gfp_t gfp) in sctp_ulpevent_make_shutdown_event()
641 const struct sctp_association *asoc, gfp_t gfp) in sctp_ulpevent_make_adaptation_indication()
677 gfp_t gfp) in sctp_ulpevent_make_rcvmsg()
774 __u32 flags, gfp_t gfp) in sctp_ulpevent_make_pdapi()
[all …]
Dauth.c58 static struct sctp_auth_bytes *sctp_auth_create_key(__u32 key_len, gfp_t gfp) in sctp_auth_create_key()
79 struct sctp_shared_key *sctp_auth_shkey_create(__u16 key_id, gfp_t gfp) in sctp_auth_shkey_create()
188 gfp_t gfp) in sctp_auth_make_key_vector()
223 gfp_t gfp) in sctp_auth_make_local_vector()
234 gfp_t gfp) in sctp_auth_make_peer_vector()
256 gfp_t gfp) in sctp_auth_asoc_set_secret()
289 gfp_t gfp) in sctp_auth_asoc_create_secret()
355 gfp_t gfp) in sctp_auth_asoc_copy_shkeys()
383 int sctp_auth_asoc_init_active_key(struct sctp_association *asoc, gfp_t gfp) in sctp_auth_asoc_init_active_key()
454 int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp) in sctp_auth_init_hmacs()
[all …]
Dbind_addr.c45 enum sctp_scope scope, gfp_t gfp, in sctp_bind_addr_copy()
96 gfp_t gfp) in sctp_bind_addr_dup()
145 int new_size, __u8 addr_state, gfp_t gfp) in sctp_add_bind_addr()
213 gfp_t gfp) in sctp_bind_addrs_to_raw()
264 int addrs_len, __u16 port, gfp_t gfp) in sctp_raw_to_bind_addrs()
461 gfp_t gfp, int flags) in sctp_copy_one_addr()
Dstream_sched.c26 __u16 value, gfp_t gfp) in sctp_sched_fcfs_set()
44 gfp_t gfp) in sctp_sched_fcfs_init_sid()
205 __u16 value, gfp_t gfp) in sctp_sched_set_value()
262 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp) in sctp_sched_init_sid()
Dstream_sched_prio.c29 struct sctp_stream *stream, int prio, gfp_t gfp) in sctp_sched_prio_new_head()
46 struct sctp_stream *stream, int prio, gfp_t gfp) in sctp_sched_prio_get_head()
151 __u16 prio, gfp_t gfp) in sctp_sched_prio_set()
201 gfp_t gfp) in sctp_sched_prio_init_sid()
/kernel/linux/linux-5.10/lib/
Dkasprintf.c15 char *kvasprintf(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf()
43 const char *kvasprintf_const(gfp_t gfp, const char *fmt, va_list ap) in kvasprintf_const()
53 char *kasprintf(gfp_t gfp, const char *fmt, ...) in kasprintf()
Didr.c34 unsigned long max, gfp_t gfp) in idr_alloc_u32()
79 int idr_alloc(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc()
117 int idr_alloc_cyclic(struct idr *idr, void *ptr, int start, int end, gfp_t gfp) in idr_alloc_cyclic()
381 gfp_t gfp) in ida_alloc_range()
/kernel/linux/linux-5.10/tools/virtio/linux/
Dkernel.h54 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc()
60 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array()
65 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc()
73 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact()
90 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc()
96 static inline unsigned long __get_free_page(gfp_t gfp) in __get_free_page()
/kernel/linux/linux-5.10/net/rxrpc/
Dconn_client.c52 gfp_t gfp) in rxrpc_get_client_connection_id()
119 gfp_t gfp) in rxrpc_alloc_bundle()
164 rxrpc_alloc_client_connection(struct rxrpc_bundle *bundle, gfp_t gfp) in rxrpc_alloc_client_connection()
273 gfp_t gfp) in rxrpc_look_up_bundle()
366 gfp_t gfp) in rxrpc_prep_call()
407 static void rxrpc_add_conn_to_bundle(struct rxrpc_bundle *bundle, gfp_t gfp) in rxrpc_add_conn_to_bundle()
475 static void rxrpc_maybe_add_conn(struct rxrpc_bundle *bundle, gfp_t gfp) in rxrpc_maybe_add_conn()
654 struct rxrpc_call *call, gfp_t gfp) in rxrpc_wait_for_channel()
712 gfp_t gfp) in rxrpc_connect_call()
/kernel/linux/linux-5.10/mm/
Dslob.c191 static void *slob_new_pages(gfp_t gfp, int order, int node) in slob_new_pages()
301 static void *slob_alloc(size_t size, gfp_t gfp, int align, int node, in slob_alloc()
469 __do_kmalloc_node(size_t size, gfp_t gfp, int node, unsigned long caller) in __do_kmalloc_node()
517 void *__kmalloc(size_t size, gfp_t gfp) in __kmalloc()
523 void *__kmalloc_track_caller(size_t size, gfp_t gfp, unsigned long caller) in __kmalloc_track_caller()
530 void *__kmalloc_node_track_caller(size_t size, gfp_t gfp, in __kmalloc_node_track_caller()
631 void *__kmalloc_node(size_t size, gfp_t gfp, int node) in __kmalloc_node()
637 void *kmem_cache_alloc_node(struct kmem_cache *cachep, gfp_t gfp, int node) in kmem_cache_alloc_node()
Dpercpu-km.c36 int page_start, int page_end, gfp_t gfp) in pcpu_populate_chunk()
48 gfp_t gfp) in pcpu_create_chunk()
/kernel/linux/linux-5.10/include/asm-generic/
Dpgalloc.h59 static inline pgtable_t __pte_alloc_one(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one()
122 gfp_t gfp = GFP_PGTABLE_USER; in pmd_alloc_one() local
162 gfp_t gfp = GFP_PGTABLE_USER; in pud_alloc_one() local
/kernel/linux/linux-5.10/security/apparmor/
Dlabel.c60 struct aa_proxy *aa_alloc_proxy(struct aa_label *label, gfp_t gfp) in aa_alloc_proxy()
396 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp) in aa_label_init()
421 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp) in aa_label_alloc()
854 int len, gfp_t gfp) in vec_create_and_insert_label()
888 gfp_t gfp) in aa_vec_find_or_create_label()
1219 gfp_t gfp) in aa_label_merge()
1444 bool aa_update_label_name(struct aa_ns *ns, struct aa_label *label, gfp_t gfp) in aa_update_label_name()
1688 int flags, gfp_t gfp) in aa_label_asxprint()
1717 struct aa_label *label, int flags, gfp_t gfp) in aa_label_acntsxprint()
1736 struct aa_label *label, int flags, gfp_t gfp) in aa_label_xaudit()
[all …]
/kernel/linux/linux-5.10/lib/kunit/
Dstring-stream.c18 gfp_t gfp; member
51 struct kunit *test, int len, gfp_t gfp) in alloc_string_stream_fragment()
169 gfp_t gfp; member
197 struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp) in alloc_string_stream()
/kernel/linux/linux-5.10/net/decnet/
Ddn_nsp_out.c204 gfp_t gfp) in dn_nsp_clone_and_send()
341 gfp_t gfp, int oth) in dn_nsp_queue_xmit()
493 void dn_send_conn_conf(struct sock *sk, gfp_t gfp) in dn_send_conn_conf()
525 unsigned short reason, gfp_t gfp, in dn_nsp_do_disc()
568 unsigned short reason, gfp_t gfp) in dn_nsp_send_disc()
589 gfp_t gfp = GFP_ATOMIC; in dn_nsp_return_disc() local
601 gfp_t gfp = GFP_ATOMIC; in dn_nsp_send_link() local
/kernel/linux/linux-5.10/drivers/base/
Ddevres.c103 size_t size, gfp_t gfp, int nid) in alloc_dr()
138 void * __devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, int nid, in __devres_alloc_node()
165 void * devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, int nid) in devres_alloc_node()
562 void * devres_open_group(struct device *dev, void *id, gfp_t gfp) in devres_open_group()
826 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) in devm_kmalloc()
864 void *devm_krealloc(struct device *dev, void *ptr, size_t new_size, gfp_t gfp) in devm_krealloc()
955 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) in devm_kstrdup()
984 const char *devm_kstrdup_const(struct device *dev, const char *s, gfp_t gfp) in devm_kstrdup_const()
1004 char *devm_kvasprintf(struct device *dev, gfp_t gfp, const char *fmt, in devm_kvasprintf()
1036 char *devm_kasprintf(struct device *dev, gfp_t gfp, const char *fmt, ...) in devm_kasprintf()
[all …]
/kernel/linux/linux-5.10/fs/notify/fanotify/
Dfanotify.c338 unsigned int fh_len, gfp_t gfp) in fanotify_encode_fh()
434 gfp_t gfp) in fanotify_alloc_path_event()
450 gfp_t gfp) in fanotify_alloc_perm_event()
469 gfp_t gfp) in fanotify_alloc_fid_event()
489 gfp_t gfp) in fanotify_alloc_name_event()
534 gfp_t gfp = GFP_KERNEL_ACCOUNT; in fanotify_alloc_event() local
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_managed.c86 size_t size, gfp_t gfp, int nid) in alloc_dr()
188 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kmalloc()
216 char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp) in drmm_kstrdup()
/kernel/linux/linux-5.10/fs/fscache/
Dpage.c64 gfp_t gfp) in __fscache_maybe_release_page()
433 gfp_t gfp) in __fscache_read_or_alloc_page()
564 gfp_t gfp) in __fscache_read_or_alloc_pages()
677 gfp_t gfp) in __fscache_alloc_page()
963 gfp_t gfp) in __fscache_write_page()

12345678910>>...18