Home
last modified time | relevance | path

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

1234567

/linux-3.4.99/arch/m68k/include/asm/
Dmcf_pgalloc.h17 unsigned long page = __get_free_page(GFP_DMA|__GFP_REPEAT); in pte_alloc_one_kernel()
54 struct page *page = alloc_pages(GFP_DMA|__GFP_REPEAT, 0); in pte_alloc_one()
92 new_pgd = (pgd_t *)__get_free_page(GFP_DMA | __GFP_NOWARN); in pgd_alloc()
/linux-3.4.99/arch/x86/include/asm/
Ddma-mapping.h97 dma_mask = (gfp & GFP_DMA) ? DMA_BIT_MASK(24) : DMA_BIT_MASK(32); in dma_alloc_coherent_mask()
107 gfp |= GFP_DMA; in dma_alloc_coherent_gfp_flags()
109 if (dma_mask <= DMA_BIT_MASK(32) && !(gfp & GFP_DMA)) in dma_alloc_coherent_gfp_flags()
/linux-3.4.99/drivers/s390/char/
Dsclp_cmd.c225 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_get_cpu_info()
259 sccb = kzalloc(sizeof(*sccb), GFP_KERNEL | GFP_DMA); in do_cpu_configure()
329 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_assign_storage()
377 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_attach_storage()
585 sccb = (void *) __get_free_page(GFP_KERNEL | GFP_DMA); in sclp_detect_standby_memory()
671 sccb = (struct chp_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_chp_configure()
746 sccb = (struct chp_info_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_chp_read_info()
Dvmur.c245 GFP_KERNEL | GFP_DMA); in alloc_chan_prog()
253 kbuf = kmalloc(reclen, GFP_KERNEL | GFP_DMA); in alloc_chan_prog()
527 buf = (char *) __get_free_page(GFP_KERNEL | GFP_DMA); in diag14_read()
603 fcb = kmalloc(sizeof(*fcb), GFP_KERNEL | GFP_DMA); in verify_uri_device()
619 buf = (char *) __get_free_page(GFP_KERNEL | GFP_DMA); in verify_uri_device()
662 fcb = kmalloc(sizeof(*fcb), GFP_KERNEL | GFP_DMA); in get_uri_file_reclen()
Dcon3215.c660 RAW3215_INBUF_SIZE, GFP_KERNEL|GFP_DMA); in raw3215_probe()
681 GFP_KERNEL|GFP_DMA); in raw3215_probe()
891 req = kzalloc(sizeof(struct raw3215_req), GFP_KERNEL | GFP_DMA); in con3215_init()
901 kzalloc(sizeof(struct raw3215_info), GFP_KERNEL | GFP_DMA); in con3215_init()
902 raw->buffer = kzalloc(RAW3215_BUFFER_SIZE, GFP_KERNEL | GFP_DMA); in con3215_init()
903 raw->inbuf = kzalloc(RAW3215_INBUF_SIZE, GFP_KERNEL | GFP_DMA); in con3215_init()
/linux-3.4.99/drivers/s390/cio/
Dchsc_sch.c332 chsc_area = (void *)get_zeroed_page(GFP_DMA | GFP_KERNEL); in chsc_ioctl_start()
385 scpcd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_channel_path()
447 scucd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_cu()
510 sscud_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_info_sch_cu()
572 sci_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_conf_info()
643 sccl_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_conf_comp_list()
703 scpd_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_chpd()
743 sdcal_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); in chsc_ioctl_dcal()
/linux-3.4.99/include/linux/
Dslab_def.h149 if (flags & GFP_DMA) in kmalloc()
202 if (flags & GFP_DMA) in kmalloc_node()
Dgfp.h146 #define GFP_DMA __GFP_DMA macro
358 __get_free_pages((gfp_mask) | GFP_DMA, (order))
/linux-3.4.99/arch/s390/mm/
Dextmem.c108 char *name = kmalloc(8 * sizeof(char), GFP_KERNEL | GFP_DMA); in dcss_set_subcodes()
260 qin = kmalloc(sizeof(*qin), GFP_KERNEL | GFP_DMA); in query_segment_type()
261 qout = kmalloc(sizeof(*qout), GFP_KERNEL | GFP_DMA); in query_segment_type()
290 qout_old = kzalloc(sizeof(*qout_old), GFP_KERNEL | GFP_DMA); in query_segment_type()
416 seg = kmalloc(sizeof(*seg), GFP_KERNEL | GFP_DMA); in __segment_load()
/linux-3.4.99/arch/x86/kernel/
Dpci-dma.c118 if (dma_mask < DMA_BIT_MASK(32) && !(flag & GFP_DMA)) { in dma_generic_alloc_coherent()
119 flag = (flag & ~GFP_DMA32) | GFP_DMA; in dma_generic_alloc_coherent()
/linux-3.4.99/drivers/media/dvb/siano/
Dsmscoreapi.c366 GFP_KERNEL | GFP_DMA); in smscore_register_device()
452 GFP_KERNEL | GFP_DMA); in smscore_init_ir()
534 msg = kmalloc(PAGE_SIZE, GFP_KERNEL | GFP_DMA); in smscore_load_firmware_family2()
651 GFP_KERNEL | GFP_DMA); in smscore_load_firmware_from_file()
740 GFP_KERNEL | GFP_DMA); in smscore_detect_mode()
869 SMS_DMA_ALIGNMENT, GFP_KERNEL | GFP_DMA); in smscore_set_device_mode()
1441 GFP_KERNEL | GFP_DMA); in smscore_gpio_configure()
1514 GFP_KERNEL | GFP_DMA); in smscore_gpio_set_level()
1563 GFP_KERNEL | GFP_DMA); in smscore_gpio_get_level()
/linux-3.4.99/arch/cris/arch-v32/drivers/pci/
Ddma.c31 gfp |= GFP_DMA; in dma_alloc_coherent()
/linux-3.4.99/arch/s390/include/asm/
Didals.h90 GFP_ATOMIC | GFP_DMA ); in set_normalized_cda()
138 GFP_DMA | GFP_KERNEL); in idal_buffer_alloc()
/linux-3.4.99/arch/mn10300/mm/
Ddma-alloc.c43 gfp |= GFP_DMA; in dma_alloc_coherent()
/linux-3.4.99/arch/ia64/kernel/
Dpci-swiotlb.c22 gfp |= GFP_DMA; in ia64_swiotlb_alloc_coherent()
/linux-3.4.99/arch/xtensa/kernel/
Dpci-dma.c43 flag |= GFP_DMA; in dma_alloc_coherent()
/linux-3.4.99/mm/
Dbounce.c71 return mempool_alloc_pages(gfp_mask | GFP_DMA, data); in mempool_alloc_pages_isa()
284 if (!(q->bounce_gfp & GFP_DMA)) { in blk_queue_bounce()
/linux-3.4.99/arch/m68k/kernel/
Ddma_no.c24 gfp |= GFP_DMA; in dma_alloc_coherent()
/linux-3.4.99/drivers/scsi/
Dsr_vendor.c121 buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); in sr_set_blocklength()
168 buffer = kmalloc(512, GFP_KERNEL | GFP_DMA); in sr_cd_check()
/linux-3.4.99/drivers/staging/cxt1e1/
Dsbecom_inline_linux.h49 char *ptr = kmalloc (size, GFP_KERNEL | GFP_DMA); in OS_kmalloc()
/linux-3.4.99/arch/s390/kernel/
Dcpcmd.c107 lowbuf = kmalloc(rlen, GFP_KERNEL | GFP_DMA); in cpcmd()
/linux-3.4.99/net/iucv/
Diucv.c355 param = kzalloc(sizeof(union iucv_param), GFP_KERNEL|GFP_DMA); in iucv_query_maxconn()
634 GFP_KERNEL|GFP_DMA, cpu_to_node(cpu)); in iucv_cpu_notify()
639 GFP_KERNEL|GFP_DMA, cpu_to_node(cpu)); in iucv_cpu_notify()
646 GFP_KERNEL|GFP_DMA, cpu_to_node(cpu)); in iucv_cpu_notify()
2028 GFP_KERNEL|GFP_DMA, cpu_to_node(cpu)); in iucv_init()
2036 GFP_KERNEL|GFP_DMA, cpu_to_node(cpu)); in iucv_init()
2042 GFP_KERNEL|GFP_DMA, cpu_to_node(cpu)); in iucv_init()
/linux-3.4.99/drivers/staging/bcm/
DInterfaceDld.c67 buff = kmalloc(MAX_TRANSFER_CTRL_BYTE_USB, GFP_DMA); in InterfaceFileReadbackFromChip()
68 buff_readback = kmalloc(MAX_TRANSFER_CTRL_BYTE_USB , GFP_DMA); in InterfaceFileReadbackFromChip()
/linux-3.4.99/drivers/net/ethernet/amd/
Dlance.c549 lp = kzalloc(sizeof(*lp), GFP_DMA | GFP_KERNEL); in lance_probe1()
556 GFP_DMA | GFP_KERNEL); in lance_probe1()
561 GFP_DMA | GFP_KERNEL); in lance_probe1()
874 skb = alloc_skb(PKT_BUF_SZ, GFP_DMA | gfp); in lance_init_ring()
880 rx_buff = kmalloc(PKT_BUF_SZ, GFP_DMA | gfp); in lance_init_ring()
/linux-3.4.99/arch/alpha/kernel/
Dpci-noop.c117 gfp &= ~GFP_DMA; in alpha_noop_alloc_coherent()

1234567