/linux-6.6.21/arch/m68k/include/asm/ |
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()
|
/linux-6.6.21/drivers/crypto/cavium/zip/ |
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()
|
/linux-6.6.21/drivers/s390/char/ |
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()
|
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()
|
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()
|
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()
|
D | sclp_ap.c | 30 sccb = (struct ap_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_ap_configure()
|
D | sclp_ctl.c | 66 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ctl_ioctl_sccb()
|
/linux-6.6.21/kernel/dma/ |
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()
|
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()
|
/linux-6.6.21/drivers/s390/cio/ |
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()
|
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()
|
/linux-6.6.21/drivers/crypto/allwinner/sun8i-ce/ |
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()
|
/linux-6.6.21/arch/s390/include/asm/ |
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()
|
D | kexec.h | 34 #define KEXEC_CONTROL_MEMORY_GFP (GFP_DMA | __GFP_NORETRY)
|
/linux-6.6.21/sound/soc/codecs/ |
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()
|
D | sigmadsp-i2c.c | 22 buf = kzalloc(2 + len, GFP_KERNEL | GFP_DMA); in sigmadsp_write_i2c()
|
/linux-6.6.21/arch/m68k/kernel/ |
D | dma.c | 43 gfp |= GFP_DMA; in arch_dma_alloc()
|
/linux-6.6.21/drivers/iio/common/ssp_sensors/ |
D | ssp_iio.c | 28 spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); in ssp_common_buffer_postenable()
|
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()
|
/linux-6.6.21/arch/s390/hypfs/ |
D | hypfs_diag0c.c | 44 GFP_KERNEL | GFP_DMA); in diag0c_store()
|
/linux-6.6.21/arch/s390/mm/ |
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()
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/ |
D | memory-allocation.rst | 72 其他传统的GFP标志是 ``GFP_DMA`` 和 ``GFP_DMA32`` 。它们用于确保分配的内存可以被寻
|
/linux-6.6.21/drivers/mtd/devices/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/amd/ |
D | lance.c | 553 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()
|