| /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() 50 struct ptdesc *ptdesc = pagetable_alloc(GFP_DMA | __GFP_ZERO, 0); in pte_alloc_one() 86 struct ptdesc *ptdesc = pagetable_alloc((GFP_DMA | __GFP_NOWARN) & in pgd_alloc()
|
| /linux/drivers/s390/char/ |
| H A D | sclp_cmd.c | 105 sccb = (void *)__get_free_pages(GFP_KERNEL | GFP_DMA | __GFP_ZERO, get_order(length)); in _sclp_get_core_info() 137 sccb = kzalloc_obj(*sccb, GFP_KERNEL | GFP_DMA); in do_core_configure() 176 sccb = (struct chp_cfg_sccb *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_chp_configure() 239 sccb = (struct chp_info_sccb *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_chp_read_info()
|
| H A D | vmur.c | 228 cpa = kzalloc_objs(struct ccw1, rec_count + 1, GFP_KERNEL | GFP_DMA); in alloc_chan_prog() 236 kbuf = kmalloc(reclen, GFP_KERNEL | GFP_DMA); in alloc_chan_prog() 532 buf = (char *) __get_free_page(GFP_KERNEL | GFP_DMA); in diag14_read() 608 fcb = kmalloc_obj(*fcb, GFP_KERNEL | GFP_DMA); in verify_uri_device() 624 buf = (char *) __get_free_page(GFP_KERNEL | GFP_DMA); in verify_uri_device() 667 fcb = kmalloc_obj(*fcb, GFP_KERNEL | GFP_DMA); in get_uri_file_reclen()
|
| H A D | sclp_config.c | 96 sccb = (struct sclp_ofb_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ofb_send_req()
|
| H A D | con3215.c | 673 info = kzalloc_obj(struct raw3215_info, GFP_KERNEL | GFP_DMA); in raw3215_alloc_info() 677 info->buffer = kzalloc(RAW3215_BUFFER_SIZE, GFP_KERNEL | GFP_DMA); in raw3215_alloc_info() 678 info->inbuf = kzalloc(RAW3215_INBUF_SIZE, GFP_KERNEL | GFP_DMA); in raw3215_alloc_info() 919 req = kzalloc_obj(struct raw3215_req, GFP_KERNEL | GFP_DMA); in con3215_init()
|
| H A D | sclp_con.c | 297 page = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_console_init()
|
| H A D | sclp_ftp.c | 96 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ftp_et7()
|
| /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() 217 GFP_KERNEL | GFP_DMA); in dma_atomic_pool_init() 236 if (gfp & GFP_DMA) in dma_guess_pool()
|
| /linux/drivers/s390/cio/ |
| H A D | chsc_sch.c | 295 chsc_area = (void *)get_zeroed_page(GFP_DMA | GFP_KERNEL); in chsc_ioctl_start() 343 on_close_chsc_area = (void *)get_zeroed_page(GFP_DMA | GFP_KERNEL); in chsc_ioctl_on_close_set() 395 chsc_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_start_sync() 441 scpcd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_channel_path() 503 scucd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_cu() 566 sscud_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_sch_cu() 628 sci_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_conf_info() 699 sccl_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_conf_comp_list() 759 scpd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_chpd() 799 sdcal_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_dcal()
|
| H A D | vfio_ccw_ops.c | 63 GFP_KERNEL | GFP_DMA); in vfio_ccw_mdev_init_dev() 68 GFP_KERNEL | GFP_DMA); in vfio_ccw_mdev_init_dev() 73 GFP_KERNEL | GFP_DMA); in vfio_ccw_mdev_init_dev() 78 GFP_KERNEL | GFP_DMA); in vfio_ccw_mdev_init_dev()
|
| /linux/sound/soc/codecs/ |
| H A D | wm0010.c | 408 out = kzalloc(len, GFP_KERNEL | GFP_DMA); in wm0010_firmware_load() 415 img = kzalloc(len, GFP_KERNEL | GFP_DMA); in wm0010_firmware_load() 507 img = kmemdup(&fw->data[0], fw->size, GFP_KERNEL | GFP_DMA); in wm0010_stage2_load() 513 out = kzalloc(fw->size, GFP_KERNEL | GFP_DMA); in wm0010_stage2_load() 641 out = kzalloc(len, GFP_KERNEL | GFP_DMA); in wm0010_boot() 645 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()
|
| /linux/drivers/iio/common/ssp_sensors/ |
| H A D | ssp_iio.c | 30 spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); in ssp_common_buffer_postenable()
|
| /linux/arch/s390/hypfs/ |
| H A D | hypfs_diag0c.c | 43 GFP_KERNEL | GFP_DMA); in diag0c_store()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | memory-allocation.rst | 72 其他传统的GFP标志是 ``GFP_DMA`` 和 ``GFP_DMA32`` 。它们用于确保分配的内存可以被寻
|
| /linux/arch/s390/include/asm/ |
| H A D | idals.h | 97 idal = kzalloc_objs(*idal, nridaws, GFP_ATOMIC | GFP_DMA); in set_normalized_cda() 140 ib = kmalloc_flex(*ib, data, nr_ptrs, GFP_DMA | GFP_KERNEL); in idal_buffer_alloc()
|
| /linux/arch/s390/mm/ |
| H A D | extmem.c | 174 qin = kmalloc_obj(*qin, GFP_KERNEL | GFP_DMA); in query_segment_type() 175 qout = kmalloc_obj(*qout, GFP_KERNEL | GFP_DMA); in query_segment_type() 305 seg = kmalloc_obj(*seg, GFP_KERNEL | GFP_DMA); in __segment_load()
|
| /linux/drivers/s390/net/ |
| H A D | smsgiucv.c | 62 buffer = kmalloc(msg->length + 1, GFP_ATOMIC | GFP_DMA); in smsg_message_pending()
|
| H A D | ctcm_main.c | 384 ch->trans_skb = __dev_alloc_skb(ch->max_bufsize, GFP_ATOMIC | GFP_DMA); in ctcm_ch_alloc_buffer() 518 nskb = alloc_skb(skb->len, GFP_ATOMIC | GFP_DMA); in ctcm_transmit_skb() 618 sweep_skb = __dev_alloc_skb(MPC_BUFSIZE_DEFAULT, GFP_ATOMIC|GFP_DMA); in ctcmpc_send_sweep_req() 702 nskb = __dev_alloc_skb(skb->len, GFP_ATOMIC | GFP_DMA); in ctcmpc_transmit_skb() 898 newskb = __dev_alloc_skb(len, GFP_ATOMIC | GFP_DMA); in ctcmpc_tx() 1330 ch->ccw = kzalloc_objs(struct ccw1, ccw_num, GFP_KERNEL | GFP_DMA); in add_channel()
|
| /linux/drivers/crypto/amlogic/ |
| H A D | amlogic-gxl-cipher.c | 122 bkeyiv = kzalloc(48, GFP_KERNEL | GFP_DMA); in meson_cipher() 366 op->key = kmemdup(key, keylen, GFP_KERNEL | GFP_DMA); in meson_aes_setkey()
|
| /linux/tools/include/linux/ |
| H A D | gfp_types.h | 383 #define GFP_DMA __GFP_DMA macro
|
| /linux/drivers/misc/ |
| H A D | gehc-achc.c | 228 command = kmalloc(4, GFP_KERNEL | GFP_DMA); in ezport_flash_transfer() 258 buffer = kmalloc(payload_size + 5, GFP_KERNEL | GFP_DMA); in ezport_flash_compare()
|
| /linux/arch/alpha/kernel/ |
| H A D | pci_iommu.c | 413 gfp &= ~GFP_DMA; in alpha_pci_alloc_coherent() 430 if (alpha_mv.mv_pci_tbi || (gfp & GFP_DMA)) in alpha_pci_alloc_coherent() 434 gfp |= GFP_DMA; in alpha_pci_alloc_coherent()
|
| /linux/drivers/s390/block/ |
| H A D | dasd_alias.c | 123 lcu->uac = kzalloc_obj(*(lcu->uac), GFP_KERNEL | GFP_DMA); in _allocate_lcu() 126 lcu->rsu_cqr = kzalloc_obj(*lcu->rsu_cqr, GFP_KERNEL | GFP_DMA); in _allocate_lcu() 129 lcu->rsu_cqr->cpaddr = kzalloc_obj(struct ccw1, GFP_KERNEL | GFP_DMA); in _allocate_lcu() 132 lcu->rsu_cqr->data = kzalloc(16, GFP_KERNEL | GFP_DMA); in _allocate_lcu()
|
| H A D | dasd_fba.c | 122 private = kzalloc_obj(*private, GFP_KERNEL | GFP_DMA); in dasd_fba_check_characteristics() 502 GFP_DMA | __GFP_NOWARN); in dasd_fba_build_cp_regular() 792 dasd_fba_zero_page = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in dasd_fba_init()
|