Home
last modified time | relevance | path

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

12345678

/openbmc/linux/arch/m68k/include/asm/
H A 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()
/openbmc/linux/drivers/crypto/cavium/zip/
H A 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()
/openbmc/linux/drivers/s390/char/
H A 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()
H A 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()
H A 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()
H A 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()
H A Dsclp_ap.c30 sccb = (struct ap_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_ap_configure()
H A Dsclp_ctl.c66 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ctl_ioctl_sccb()
/openbmc/linux/kernel/dma/
H A 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()
H A 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()
/openbmc/linux/drivers/s390/cio/
H A 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()
H A 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()
/openbmc/linux/drivers/crypto/allwinner/sun8i-ce/
H A 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()
/openbmc/linux/arch/s390/include/asm/
H A 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()
H A Dkexec.h34 #define KEXEC_CONTROL_MEMORY_GFP (GFP_DMA | __GFP_NORETRY)
/openbmc/linux/sound/soc/codecs/
H A 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()
H A Dsigmadsp-i2c.c22 buf = kzalloc(2 + len, GFP_KERNEL | GFP_DMA); in sigmadsp_write_i2c()
/openbmc/linux/arch/m68k/kernel/
H A Ddma.c43 gfp |= GFP_DMA; in arch_dma_alloc()
/openbmc/linux/drivers/iio/common/ssp_sensors/
H A Dssp_iio.c28 spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); in ssp_common_buffer_postenable()
H A 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()
/openbmc/linux/arch/s390/hypfs/
H A Dhypfs_diag0c.c44 GFP_KERNEL | GFP_DMA); in diag0c_store()
H A Dhypfs_sprp.c77 data = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in __hypfs_sprp_ioctl()
/openbmc/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst72 其他传统的GFP标志是 ``GFP_DMA`` 和 ``GFP_DMA32`` 。它们用于确保分配的内存可以被寻
/openbmc/linux/arch/s390/mm/
H A 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()
/openbmc/linux/drivers/mtd/devices/
H A 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()

12345678