Home
last modified time | relevance | path

Searched refs:GFP_DMA (Results 1 – 25 of 188) sorted by relevance

12345678

/linux-6.6.21/arch/m68k/include/asm/
Dmcf_pgalloc.h17 struct ptdesc *ptdesc = pagetable_alloc((GFP_DMA | __GFP_ZERO) & in pte_alloc_one_kernel()
46 struct ptdesc *ptdesc = pagetable_alloc(GFP_DMA | __GFP_ZERO, 0); in pte_alloc_one()
82 struct ptdesc *ptdesc = pagetable_alloc((GFP_DMA | __GFP_NOWARN) & in pgd_alloc()
/linux-6.6.21/drivers/crypto/cavium/zip/
Dzip_mem.c59 zip->iq[q].sw_head = (u64 *)__get_free_pages((GFP_KERNEL | GFP_DMA), in zip_cmd_qbuf_alloc()
92 ptr = (u8 *)__get_free_pages((GFP_KERNEL | GFP_DMA), in zip_data_buf_alloc()
/linux-6.6.21/drivers/s390/char/
Dsclp_cmd.c95 sccb = (void *)__get_free_pages(GFP_KERNEL | GFP_DMA | __GFP_ZERO, get_order(length)); in _sclp_get_core_info()
131 sccb = kzalloc(sizeof(*sccb), GFP_KERNEL | GFP_DMA); in do_core_configure()
198 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_assign_storage()
253 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_attach_storage()
460 sccb = (void *) __get_free_page(GFP_KERNEL | GFP_DMA); in sclp_detect_standby_memory()
536 sccb = (struct chp_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_chp_configure()
610 sccb = (struct chp_info_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_chp_read_info()
Dsclp_pci.c66 sccb = (struct pci_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_pci_configure()
151 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_pci_report()
Dvmur.c227 GFP_KERNEL | GFP_DMA); in alloc_chan_prog()
235 kbuf = kmalloc(reclen, GFP_KERNEL | GFP_DMA); in alloc_chan_prog()
531 buf = (char *) __get_free_page(GFP_KERNEL | GFP_DMA); in diag14_read()
607 fcb = kmalloc(sizeof(*fcb), GFP_KERNEL | GFP_DMA); in verify_uri_device()
623 buf = (char *) __get_free_page(GFP_KERNEL | GFP_DMA); in verify_uri_device()
666 fcb = kmalloc(sizeof(*fcb), GFP_KERNEL | GFP_DMA); in get_uri_file_reclen()
Dhmcdrv_ftp.c196 ftp.buf = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in hmcdrv_ftp_probe()
249 ftp.buf = (void *) __get_free_pages(GFP_KERNEL | GFP_DMA, order); in hmcdrv_ftp_cmd()
Dsclp_ap.c30 sccb = (struct ap_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_ap_configure()
Dsclp_ctl.c66 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ctl_ioctl_sccb()
/linux-6.6.21/kernel/dma/
Dpool.c72 if (IS_ENABLED(CONFIG_ZONE_DMA) && (gfp & GFP_DMA)) in cma_in_zone()
155 GFP_KERNEL | GFP_DMA); in atomic_pool_work_fn()
208 GFP_KERNEL | GFP_DMA); in dma_atomic_pool_init()
229 if (atomic_pool_dma && (gfp & GFP_DMA)) in dma_guess_pool()
Ddirect.c63 return GFP_DMA; in dma_direct_optimal_gfp_mask()
148 !(gfp & (GFP_DMA32 | GFP_DMA))) { in __dma_direct_alloc_pages()
153 if (IS_ENABLED(CONFIG_ZONE_DMA) && !(gfp & GFP_DMA)) { in __dma_direct_alloc_pages()
154 gfp = (gfp & ~GFP_DMA32) | GFP_DMA; in __dma_direct_alloc_pages()
/linux-6.6.21/drivers/s390/cio/
Dchsc_sch.c296 chsc_area = (void *)get_zeroed_page(GFP_DMA | GFP_KERNEL); in chsc_ioctl_start()
344 on_close_chsc_area = (void *)get_zeroed_page(GFP_DMA | GFP_KERNEL); in chsc_ioctl_on_close_set()
396 chsc_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_start_sync()
442 scpcd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_channel_path()
504 scucd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_cu()
567 sscud_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_sch_cu()
629 sci_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_conf_info()
700 sccl_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_conf_comp_list()
760 scpd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_chpd()
800 sdcal_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_dcal()
Dvfio_ccw_ops.c64 GFP_KERNEL | GFP_DMA); in vfio_ccw_mdev_init_dev()
69 GFP_KERNEL | GFP_DMA); in vfio_ccw_mdev_init_dev()
74 GFP_KERNEL | GFP_DMA); in vfio_ccw_mdev_init_dev()
79 GFP_KERNEL | GFP_DMA); in vfio_ccw_mdev_init_dev()
/linux-6.6.21/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-prng.c45 ctx->seed = kmalloc(slen, GFP_KERNEL | GFP_DMA); in sun8i_ce_prng_seed()
83 d = kzalloc(todo, GFP_KERNEL | GFP_DMA); in sun8i_ce_prng_generate()
/linux-6.6.21/arch/s390/include/asm/
Didals.h93 GFP_ATOMIC | GFP_DMA ); in set_normalized_cda()
137 ib = kmalloc(struct_size(ib, data, nr_ptrs), GFP_DMA | GFP_KERNEL); in idal_buffer_alloc()
Dkexec.h34 #define KEXEC_CONTROL_MEMORY_GFP (GFP_DMA | __GFP_NORETRY)
/linux-6.6.21/sound/soc/codecs/
Dwm0010.c418 out = kzalloc(len, GFP_KERNEL | GFP_DMA); in wm0010_firmware_load()
425 img = kzalloc(len, GFP_KERNEL | GFP_DMA); in wm0010_firmware_load()
517 img = kmemdup(&fw->data[0], fw->size, GFP_KERNEL | GFP_DMA); in wm0010_stage2_load()
523 out = kzalloc(fw->size, GFP_KERNEL | GFP_DMA); in wm0010_stage2_load()
651 out = kzalloc(len, GFP_KERNEL | GFP_DMA); in wm0010_boot()
655 img_swap = kzalloc(len, GFP_KERNEL | GFP_DMA); in wm0010_boot()
Dsigmadsp-i2c.c22 buf = kzalloc(2 + len, GFP_KERNEL | GFP_DMA); in sigmadsp_write_i2c()
/linux-6.6.21/arch/m68k/kernel/
Ddma.c43 gfp |= GFP_DMA; in arch_dma_alloc()
/linux-6.6.21/drivers/iio/common/ssp_sensors/
Dssp_iio.c28 spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); in ssp_common_buffer_postenable()
Dssp_spi.c90 GFP_KERNEL | GFP_DMA); in ssp_create_msg()
378 buffer = kmalloc(length, GFP_KERNEL | GFP_DMA); in ssp_irq_msg()
423 buffer = kzalloc(length, GFP_KERNEL | GFP_DMA); in ssp_irq_msg()
/linux-6.6.21/arch/s390/hypfs/
Dhypfs_diag0c.c44 GFP_KERNEL | GFP_DMA); in diag0c_store()
/linux-6.6.21/arch/s390/mm/
Dextmem.c172 qin = kmalloc(sizeof(*qin), GFP_KERNEL | GFP_DMA); in query_segment_type()
173 qout = kmalloc(sizeof(*qout), GFP_KERNEL | GFP_DMA); in query_segment_type()
303 seg = kmalloc(sizeof(*seg), GFP_KERNEL | GFP_DMA); in __segment_load()
/linux-6.6.21/Documentation/translations/zh_CN/core-api/
Dmemory-allocation.rst72 其他传统的GFP标志是 ``GFP_DMA`` 和 ``GFP_DMA32`` 。它们用于确保分配的内存可以被寻
/linux-6.6.21/drivers/mtd/devices/
Dmchp48l640.c175 cmd = kmalloc((3 + len), GFP_KERNEL | GFP_DMA); in mchp48l640_write_page()
243 cmd = kmalloc((3 + len), GFP_KERNEL | GFP_DMA); in mchp48l640_read_page()
/linux-6.6.21/drivers/net/ethernet/amd/
Dlance.c553 lp = kzalloc(sizeof(*lp), GFP_DMA | GFP_KERNEL); in lance_probe1()
560 GFP_DMA | GFP_KERNEL); in lance_probe1()
565 GFP_DMA | GFP_KERNEL); in lance_probe1()
878 skb = alloc_skb(PKT_BUF_SZ, GFP_DMA | gfp); in lance_init_ring()
883 rx_buff = kmalloc(PKT_BUF_SZ, GFP_DMA | gfp); in lance_init_ring()

12345678