Home
last modified time | relevance | path

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

1234

/linux/arch/m68k/include/asm/
H A Dmcf_pgalloc.h17 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 Dsclp_cmd.c105 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 Dvmur.c228 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 Dsclp_config.c96 sccb = (struct sclp_ofb_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ofb_send_req()
H A Dcon3215.c673 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 Dsclp_con.c297 page = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_console_init()
H A Dsclp_ftp.c96 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_ftp_et7()
/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()
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 Dchsc_sch.c295 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 Dvfio_ccw_ops.c63 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 Dwm0010.c408 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 Dsigmadsp-i2c.c22 buf = kzalloc(2 + len, GFP_KERNEL | GFP_DMA); in sigmadsp_write_i2c()
/linux/drivers/iio/common/ssp_sensors/
H A Dssp_iio.c30 spd->buffer = kmalloc(indio_dev->scan_bytes, GFP_KERNEL | GFP_DMA); in ssp_common_buffer_postenable()
/linux/arch/s390/hypfs/
H A Dhypfs_diag0c.c43 GFP_KERNEL | GFP_DMA); in diag0c_store()
/linux/Documentation/translations/zh_CN/core-api/
H A Dmemory-allocation.rst72 其他传统的GFP标志是 ``GFP_DMA`` 和 ``GFP_DMA32`` 。它们用于确保分配的内存可以被寻
/linux/arch/s390/include/asm/
H A Didals.h97 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 Dextmem.c174 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 Dsmsgiucv.c62 buffer = kmalloc(msg->length + 1, GFP_ATOMIC | GFP_DMA); in smsg_message_pending()
H A Dctcm_main.c384 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 Damlogic-gxl-cipher.c122 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 Dgfp_types.h383 #define GFP_DMA __GFP_DMA macro
/linux/drivers/misc/
H A Dgehc-achc.c228 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 Dpci_iommu.c413 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 Ddasd_alias.c123 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 Ddasd_fba.c122 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()

1234