Home
last modified time | relevance | path

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

12345678910>>...20

/linux-6.6.21/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_prio.c41 struct sctp_stream *stream, int prio, gfp_t gfp) in sctp_sched_prio_new_head()
59 struct sctp_stream *stream, int prio, gfp_t gfp) in sctp_sched_prio_get_head()
164 __u16 prio, gfp_t gfp) in sctp_sched_prio_set()
203 gfp_t gfp) in sctp_sched_prio_init_sid()
Dstream_sched.c26 __u16 value, gfp_t gfp) in sctp_sched_fcfs_set()
44 gfp_t gfp) in sctp_sched_fcfs_init_sid()
207 __u16 value, gfp_t gfp) in sctp_sched_set_value()
264 int sctp_sched_init_sid(struct sctp_stream *stream, __u16 sid, gfp_t gfp) in sctp_sched_init_sid()
/linux-6.6.21/include/linux/
Dkmemleak.h39 gfp_t gfp) in kmemleak_alloc_recursive()
62 gfp_t gfp) in kmemleak_alloc()
67 gfp_t gfp) in kmemleak_alloc_recursive()
71 gfp_t gfp) in kmemleak_alloc_percpu()
75 gfp_t gfp) in kmemleak_vmalloc()
99 static inline void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) in kmemleak_scan_area()
109 gfp_t gfp) in kmemleak_alloc_phys()
Dgfp.h193 alloc_pages_bulk_list(gfp_t gfp, unsigned long nr_pages, struct list_head *list) in alloc_pages_bulk_list()
199 alloc_pages_bulk_array(gfp_t gfp, unsigned long nr_pages, struct page **page_array) in alloc_pages_bulk_array()
205 alloc_pages_bulk_array_node(gfp_t gfp, int nid, unsigned long nr_pages, struct page **page_array) in alloc_pages_bulk_array_node()
241 struct folio *__folio_alloc_node(gfp_t gfp, unsigned int order, int nid) in __folio_alloc_node()
273 static inline struct folio *folio_alloc(gfp_t gfp, unsigned int order) in folio_alloc()
277 #define vma_alloc_folio(gfp, order, vma, addr, hugepage) \ argument
281 static inline struct page *alloc_page_vma(gfp_t gfp, in alloc_page_vma()
341 static inline bool gfp_has_io_fs(gfp_t gfp) in gfp_has_io_fs()
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.h586 void *entry, gfp_t gfp) in xa_store_bh()
613 void *entry, gfp_t gfp) in xa_store_irq()
689 void *old, void *entry, gfp_t gfp) in xa_cmpxchg()
717 void *old, void *entry, gfp_t gfp) in xa_cmpxchg_bh()
745 void *old, void *entry, gfp_t gfp) in xa_cmpxchg_irq()
775 unsigned long index, void *entry, gfp_t gfp) in xa_insert()
805 unsigned long index, void *entry, gfp_t gfp) in xa_insert_bh()
835 unsigned long index, void *entry, gfp_t gfp) in xa_insert_irq()
868 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc()
901 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_bh()
[all …]
Dpercpu_counter.h37 #define percpu_counter_init_many(fbc, value, gfp, nr_counters) \ argument
46 #define percpu_counter_init(fbc, value, gfp) \ argument
131 s64 amount, gfp_t gfp, in percpu_counter_init_many()
143 gfp_t gfp) in percpu_counter_init()
Didr.h273 static inline int ida_alloc(struct ida *ida, gfp_t gfp) in ida_alloc()
291 static inline int ida_alloc_min(struct ida *ida, unsigned int min, gfp_t gfp) in ida_alloc_min()
309 static inline int ida_alloc_max(struct ida *ida, unsigned int max, gfp_t gfp) in ida_alloc_max()
323 #define ida_simple_get(ida, start, end, gfp) \ argument
/linux-6.6.21/kernel/dma/
Dpool.c46 static void dma_atomic_pool_size_add(gfp_t gfp, size_t size) in dma_atomic_pool_size_add()
56 static bool cma_in_zone(gfp_t gfp) in cma_in_zone()
80 gfp_t gfp) in atomic_pool_expand()
145 static void atomic_pool_resize(struct gen_pool *pool, gfp_t gfp) in atomic_pool_resize()
163 gfp_t gfp) in __dma_atomic_pool_init()
224 static inline struct gen_pool *dma_guess_pool(struct gen_pool *prev, gfp_t gfp) in dma_guess_pool()
266 void **cpu_addr, gfp_t gfp, in dma_alloc_from_pool()
Ddirect.c119 gfp_t gfp, bool allow_highmem) in __dma_direct_alloc_pages()
166 static bool dma_direct_use_pool(struct device *dev, gfp_t gfp) in dma_direct_use_pool()
172 dma_addr_t *dma_handle, gfp_t gfp) in dma_direct_alloc_from_pool()
190 dma_addr_t *dma_handle, gfp_t gfp) in dma_direct_alloc_no_mapping()
208 dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs) in dma_direct_alloc()
367 dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp) in dma_direct_alloc_pages()
/linux-6.6.21/tools/virtio/linux/
Dkernel.h56 static inline void *kmalloc(size_t s, gfp_t gfp) in kmalloc()
62 static inline void *kmalloc_array(unsigned n, size_t s, gfp_t gfp) in kmalloc_array()
67 static inline void *kzalloc(size_t s, gfp_t gfp) in kzalloc()
75 static inline void *alloc_pages_exact(size_t s, gfp_t gfp) in alloc_pages_exact()
92 static inline void *krealloc(void *p, size_t s, gfp_t gfp) in krealloc()
98 static inline unsigned long __get_free_page(gfp_t gfp) in __get_free_page()
118 static inline void *krealloc_array(void *p, size_t new_n, size_t new_size, gfp_t gfp) in krealloc_array()
/linux-6.6.21/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()
Dxarray.c298 bool xas_nomem(struct xa_state *xas, gfp_t gfp) in xas_nomem()
325 static bool __xas_nomem(struct xa_state *xas, gfp_t gfp) in __xas_nomem()
370 gfp_t gfp = GFP_NOWAIT | __GFP_NOWARN; in xas_alloc() local
1004 gfp_t gfp) in xas_split_alloc()
1538 void *__xa_store(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) in __xa_store()
1575 void *xa_store(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) in xa_store()
1604 void *old, void *entry, gfp_t gfp) in __xa_cmpxchg()
1641 int __xa_insert(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) in __xa_insert()
1717 unsigned long last, void *entry, gfp_t gfp) in xa_store_range()
1814 struct xa_limit limit, gfp_t gfp) in __xa_alloc()
[all …]
/linux-6.6.21/security/apparmor/
Dlabel.c60 struct aa_proxy *aa_alloc_proxy(struct aa_label *label, gfp_t gfp) in aa_alloc_proxy()
399 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp) in aa_label_init()
424 struct aa_label *aa_label_alloc(int size, struct aa_proxy *proxy, gfp_t gfp) in aa_label_alloc()
856 int len, gfp_t gfp) in vec_create_and_insert_label()
890 gfp_t gfp) in aa_vec_find_or_create_label()
1220 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 …]
/linux-6.6.21/drivers/base/
Ddevres.c111 size_t size, gfp_t gfp, int nid) in alloc_dr()
162 void *__devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, int nid, in __devres_alloc_node()
552 void * devres_open_group(struct device *dev, void *id, gfp_t gfp) in devres_open_group()
821 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) in devm_kmalloc()
859 void *devm_krealloc(struct device *dev, void *ptr, size_t new_size, gfp_t gfp) in devm_krealloc()
950 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) in devm_kstrdup()
979 const char *devm_kstrdup_const(struct device *dev, const char *s, gfp_t gfp) in devm_kstrdup_const()
999 char *devm_kvasprintf(struct device *dev, gfp_t gfp, const char *fmt, in devm_kvasprintf()
1031 char *devm_kasprintf(struct device *dev, gfp_t gfp, const char *fmt, ...) in devm_kasprintf()
1077 void *devm_kmemdup(struct device *dev, const void *src, size_t len, gfp_t gfp) in devm_kmemdup()
/linux-6.6.21/include/asm-generic/
Dpgalloc.h64 static inline pgtable_t __pte_alloc_one(struct mm_struct *mm, gfp_t gfp) in __pte_alloc_one()
130 gfp_t gfp = GFP_PGTABLE_USER; in pmd_alloc_one() local
162 gfp_t gfp = GFP_PGTABLE_USER; in __pud_alloc_one() local
/linux-6.6.21/net/rxrpc/
Dcall_object.c131 struct rxrpc_call *rxrpc_alloc_call(struct rxrpc_sock *rx, gfp_t gfp, in rxrpc_alloc_call()
199 gfp_t gfp, in rxrpc_alloc_client_call()
272 static struct semaphore *rxrpc_get_call_slot(struct rxrpc_call_params *p, gfp_t gfp) in rxrpc_get_call_slot()
302 static int rxrpc_connect_call(struct rxrpc_call *call, gfp_t gfp) in rxrpc_connect_call()
339 gfp_t gfp, in rxrpc_new_client_call()
/linux-6.6.21/mm/
Dzbud.c200 static struct zbud_pool *zbud_create_pool(gfp_t gfp) in zbud_create_pool()
246 static int zbud_alloc(struct zbud_pool *pool, size_t size, gfp_t gfp, in zbud_alloc()
383 static void *zbud_zpool_create(const char *name, gfp_t gfp) in zbud_zpool_create()
393 static int zbud_zpool_malloc(void *pool, size_t size, gfp_t gfp, in zbud_zpool_malloc()
/linux-6.6.21/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-6.6.21/drivers/staging/rtl8723bs/include/
Dioctl_cfg80211.h111 #define rtw_cfg80211_rx_mgmt(adapter, freq, sig_dbm, buf, len, gfp) cfg80211_rx_mgmt((adapter)->rtw… argument
113 #define rtw_cfg80211_mgmt_tx_status(adapter, cookie, buf, len, ack, gfp) cfg80211_mgmt_tx_status((a… argument
114 #define rtw_cfg80211_ready_on_channel(adapter, cookie, chan, channel_type, duration, gfp) cfg80211… argument
115 #define rtw_cfg80211_remain_on_channel_expired(adapter, cookie, chan, chan_type, gfp) cfg80211_rema… argument
/linux-6.6.21/fs/notify/
Dgroup.c116 int flags, gfp_t gfp) in __fsnotify_alloc_group()
159 gfp_t gfp = (flags & FSNOTIFY_GROUP_USER) ? GFP_KERNEL_ACCOUNT : in fsnotify_alloc_group() local

12345678910>>...20