Home
last modified time | relevance | path

Searched defs:gfp (Results 26 – 50 of 498) sorted by relevance

12345678910>>...20

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_managed.c87 size_t size, gfp_t gfp, int nid) in alloc_dr()
189 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kmalloc()
217 char *drmm_kstrdup(struct drm_device *dev, const char *s, gfp_t gfp) in drmm_kstrdup()
/openbmc/linux/net/sctp/
H A Dstream_sched_fc.c28 __u16 weight, gfp_t gfp) in sctp_sched_wfq_set()
49 __u16 weight, gfp_t gfp) in sctp_sched_fc_set()
68 gfp_t gfp) in sctp_sched_fc_init_sid()
H A Dassociola.c55 enum sctp_scope scope, gfp_t gfp) in sctp_association_init()
288 enum sctp_scope scope, gfp_t gfp) in sctp_association_new()
585 const gfp_t gfp, in sctp_assoc_add_peer()
1573 enum sctp_scope scope, gfp_t gfp) in sctp_assoc_set_bind_addr_from_ep()
1598 gfp_t gfp) in sctp_assoc_set_bind_addr_from_cookie()
1624 int sctp_assoc_set_id(struct sctp_association *asoc, gfp_t gfp) in sctp_assoc_set_id()
H A Doutqueue.c281 void sctp_outq_tail(struct sctp_outq *q, struct sctp_chunk *chunk, gfp_t gfp) in sctp_outq_tail()
599 int rtx_timeout, int *start_timer, gfp_t gfp) in __sctp_outq_flush_rtx()
759 void sctp_outq_uncork(struct sctp_outq *q, gfp_t gfp) in sctp_outq_uncork()
768 struct sctp_chunk *chunk, gfp_t gfp) in sctp_packet_singleton()
796 gfp_t gfp; member
1192 static void sctp_outq_flush(struct sctp_outq *q, int rtx_timeout, gfp_t gfp) in sctp_outq_flush()
/openbmc/linux/lib/
H A 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()
1827 struct xa_limit limit, gfp_t gfp) in __xa_alloc()
[all …]
H A Dstring_helpers.c638 char *kstrdup_quotable(const char *src, gfp_t gfp) in kstrdup_quotable()
666 char *kstrdup_quotable_cmdline(struct task_struct *task, gfp_t gfp) in kstrdup_quotable_cmdline()
699 char *kstrdup_quotable_file(struct file *file, gfp_t gfp) in kstrdup_quotable_file()
725 char *kstrdup_and_replace(const char *src, char old, char new, gfp_t gfp) in kstrdup_and_replace()
749 char **kasprintf_strarray(gfp_t gfp, const char *prefix, size_t n) in kasprintf_strarray()
/openbmc/linux/mm/
H A Dpercpu-km.c42 int page_start, int page_end, gfp_t gfp) in pcpu_populate_chunk()
53 static struct pcpu_chunk *pcpu_create_chunk(gfp_t gfp) in pcpu_create_chunk()
H A Dkmemleak.c120 #define gfp_kmemleak_mask(gfp) (((gfp) & (GFP_KERNEL | GFP_ATOMIC | \ argument
451 static struct kmemleak_object *mem_pool_alloc(gfp_t gfp) in mem_pool_alloc()
632 int min_count, gfp_t gfp, bool is_phys) in __create_object()
727 int min_count, gfp_t gfp) in create_object()
734 int min_count, gfp_t gfp) in create_object_phys()
868 static void add_scan_area(unsigned long ptr, size_t size, gfp_t gfp) in add_scan_area()
976 gfp_t gfp) in kmemleak_alloc()
995 gfp_t gfp) in kmemleak_alloc_percpu()
1021 void __ref kmemleak_vmalloc(const struct vm_struct *area, size_t size, gfp_t gfp) in kmemleak_vmalloc()
1170 void __ref kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) in kmemleak_scan_area()
[all …]
H A Dpercpu-vm.c84 gfp_t gfp) in pcpu_alloc_pages()
277 int page_start, int page_end, gfp_t gfp) in pcpu_populate_chunk()
333 static struct pcpu_chunk *pcpu_create_chunk(gfp_t gfp) in pcpu_create_chunk()
H A Dutil.c53 char *kstrdup(const char *s, gfp_t gfp) in kstrdup()
80 const char *kstrdup_const(const char *s, gfp_t gfp) in kstrdup_const()
99 char *kstrndup(const char *s, size_t max, gfp_t gfp) in kstrndup()
127 void *kmemdup(const void *src, size_t len, gfp_t gfp) in kmemdup()
148 void *kvmemdup(const void *src, size_t len, gfp_t gfp) in kvmemdup()
168 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul()
H A Dfolio-compat.c87 pgoff_t index, gfp_t gfp) in add_to_page_cache_lru()
95 fgf_t fgp_flags, gfp_t gfp) in pagecache_get_page()
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify.c405 gfp_t gfp) in fanotify_encode_fh()
540 gfp_t gfp) in fanotify_alloc_path_event()
557 gfp_t gfp) in fanotify_alloc_perm_event()
580 gfp_t gfp) in fanotify_alloc_fid_event()
603 gfp_t gfp) in fanotify_alloc_name_event()
717 gfp_t gfp = GFP_KERNEL_ACCOUNT; in fanotify_alloc_event() local
/openbmc/linux/net/rxrpc/
H A Dcall_accept.c38 unsigned long user_call_ID, gfp_t gfp, in rxrpc_service_prealloc_one()
161 int rxrpc_service_prealloc(struct rxrpc_sock *rx, gfp_t gfp) in rxrpc_service_prealloc()
466 unsigned long user_call_ID, gfp_t gfp, in rxrpc_kernel_charge_accept()
H A Dpeer_object.c208 struct rxrpc_peer *rxrpc_alloc_peer(struct rxrpc_local *local, gfp_t gfp, in rxrpc_alloc_peer()
278 gfp_t gfp) in rxrpc_create_peer()
324 struct sockaddr_rxrpc *srx, gfp_t gfp) in rxrpc_lookup_peer()
/openbmc/linux/include/linux/
H A Dptr_ring.h467 static inline void **__ptr_ring_init_queue_alloc(unsigned int size, gfp_t gfp) in __ptr_ring_init_queue_alloc()
487 static inline int ptr_ring_init(struct ptr_ring *r, int size, gfp_t gfp) in ptr_ring_init()
559 int size, gfp_t gfp, in __ptr_ring_swap_queue()
590 static inline int ptr_ring_resize(struct ptr_ring *r, int size, gfp_t gfp, in ptr_ring_resize()
622 gfp_t gfp, void (*destroy)(void *)) in ptr_ring_resize_multiple()
H A Dskb_array.h180 static inline int skb_array_init(struct skb_array *a, int size, gfp_t gfp) in skb_array_init()
196 static inline int skb_array_resize(struct skb_array *a, int size, gfp_t gfp) in skb_array_resize()
203 gfp_t gfp) in skb_array_resize_multiple()
/openbmc/linux/lib/reed_solomon/
H A Dreed_solomon.c71 int fcr, int prim, int nroots, gfp_t gfp) in codec_init()
215 int prim, int nroots, gfp_t gfp) in init_rs_internal()
289 int nroots, gfp_t gfp) in init_rs_gfp()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_gpu_error.c195 static int pool_refill(struct folio_batch *fbatch, gfp_t gfp) in pool_refill()
210 static int pool_init(struct folio_batch *fbatch, gfp_t gfp) in pool_init()
223 static void *pool_alloc(struct folio_batch *fbatch, gfp_t gfp) in pool_alloc()
1432 gfp_t gfp, const char *name) in capture_vma_snapshot()
1459 gfp_t gfp) in capture_vma()
1480 gfp_t gfp) in capture_user()
1531 intel_engine_coredump_alloc(struct intel_engine_cs *engine, gfp_t gfp, u32 dump_flags) in intel_engine_coredump_alloc()
1552 gfp_t gfp) in engine_coredump_add_context()
1574 gfp_t gfp) in intel_engine_coredump_add_request()
2008 i915_gpu_coredump_alloc(struct drm_i915_private *i915, gfp_t gfp) in i915_gpu_coredump_alloc()
[all …]
/openbmc/linux/lib/kunit/
H A Dstring-stream.c17 struct kunit *test, int len, gfp_t gfp) in alloc_string_stream_fragment()
136 struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp) in alloc_string_stream()
/openbmc/linux/arch/x86/mm/
H A Dpti.c174 gfp_t gfp = (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); in pti_user_pagetable_walk_p4d() local
201 gfp_t gfp = (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); in pti_user_pagetable_walk_pmd() local
246 gfp_t gfp = (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); in pti_user_pagetable_walk_pte() local
/openbmc/u-boot/include/dm/
H A Ddevice.h707 #define _devres_alloc(release, size, gfp) \ argument
726 #define devres_alloc(release, size, gfp) \ argument
848 static inline void *devm_kzalloc(struct udevice *dev, size_t size, gfp_t gfp) in devm_kzalloc()
876 static inline void *devres_alloc(dr_release_t release, size_t size, gfp_t gfp) in devres_alloc()
920 static inline void *devm_kmalloc(struct udevice *dev, size_t size, gfp_t gfp) in devm_kmalloc()
925 static inline void *devm_kzalloc(struct udevice *dev, size_t size, gfp_t gfp) in devm_kzalloc()
/openbmc/linux/arch/s390/pci/
H A Dpci_dma.c30 unsigned long *dma_alloc_cpu_table(gfp_t gfp) in dma_alloc_cpu_table()
48 static unsigned long *dma_alloc_page_table(gfp_t gfp) in dma_alloc_page_table()
66 static unsigned long *dma_get_seg_table_origin(unsigned long *rtep, gfp_t gfp) in dma_get_seg_table_origin()
93 static unsigned long *dma_get_page_table_origin(unsigned long *step, gfp_t gfp) in dma_get_page_table_origin()
120 gfp_t gfp) in dma_walk_cpu_trans()
/openbmc/linux/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c179 gfp_t gfp) in sec_alloc_and_fill_hw_sgl()
549 int *steps, gfp_t gfp) in sec_alg_alloc_and_calc_split_sizes()
572 struct device *dev, gfp_t gfp) in sec_map_and_split_sg()
634 struct sec_dev_info *info, gfp_t gfp) in sec_alg_alloc_and_fill_el()
724 gfp_t gfp = skreq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP ? GFP_KERNEL : GFP_ATOMIC; in sec_alg_skcipher_crypto() local
/openbmc/linux/security/apparmor/
H A Dpolicy.c221 struct aa_ruleset *aa_alloc_ruleset(gfp_t gfp) in aa_alloc_ruleset()
295 gfp_t gfp) in aa_alloc_profile()
442 gfp_t gfp) in __create_missing_ancestors()
581 gfp_t gfp) in aa_alloc_null()
639 const char *base, gfp_t gfp) in aa_new_learning_profile()
/openbmc/linux/drivers/greybus/
H A Doperation.c215 static int gb_message_send(struct gb_message *message, gfp_t gfp) in gb_message_send()
469 size_t response_size, gfp_t gfp) in gb_operation_response_alloc()
578 gfp_t gfp) in gb_operation_create_flags()
604 gfp_t gfp) in gb_operation_create_core()
723 gfp_t gfp) in gb_operation_request_send()

12345678910>>...20