/openbmc/linux/arch/m68k/include/asm/ |
H A D | mcf_pgalloc.h | 17 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 D | zip_mem.c | 59 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 D | sclp_cmd.c | 95 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 D | sclp_pci.c | 66 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 D | vmur.c | 227 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 D | hmcdrv_ftp.c | 196 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 D | sclp_ap.c | 30 sccb = (struct ap_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_ap_configure()
|
H A D | sclp_ctl.c | 66 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ctl_ioctl_sccb()
|
/openbmc/linux/kernel/dma/ |
H A D | pool.c | 72 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 D | direct.c | 63 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 D | chsc_sch.c | 296 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 D | vfio_ccw_ops.c | 64 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 D | sun8i-ce-prng.c | 45 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 D | idals.h | 93 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 D | kexec.h | 34 #define KEXEC_CONTROL_MEMORY_GFP (GFP_DMA | __GFP_NORETRY)
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wm0010.c | 418 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 D | sigmadsp-i2c.c | 22 buf = kzalloc(2 + len, GFP_KERNEL | GFP_DMA); in sigmadsp_write_i2c()
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | dma.c | 43 gfp |= GFP_DMA; in arch_dma_alloc()
|
/openbmc/linux/drivers/iio/common/ssp_sensors/ |
H A D | ssp_iio.c | 28 spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); in ssp_common_buffer_postenable()
|
H A D | ssp_spi.c | 90 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 D | hypfs_diag0c.c | 44 GFP_KERNEL | GFP_DMA); in diag0c_store()
|
H A D | hypfs_sprp.c | 77 data = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in __hypfs_sprp_ioctl()
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | memory-allocation.rst | 72 其他传统的GFP标志是 ``GFP_DMA`` 和 ``GFP_DMA32`` 。它们用于确保分配的内存可以被寻
|
/openbmc/linux/arch/s390/mm/ |
H A D | extmem.c | 172 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 D | mchp48l640.c | 175 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()
|