/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 76 gfp_t gfp_flags; member 473 static int ttm_alloc_new_pages(struct list_head *pages, gfp_t gfp_flags, in ttm_alloc_new_pages() argument 492 p = alloc_page(gfp_flags); in ttm_alloc_new_pages() 584 r = ttm_alloc_new_pages(&new_pages, pool->gfp_flags, ttm_flags, in ttm_page_pool_fill_locked() 710 gfp_t gfp_flags = GFP_USER; in ttm_get_pages() local 716 gfp_flags |= __GFP_ZERO; in ttm_get_pages() 721 gfp_flags |= GFP_DMA32; in ttm_get_pages() 723 gfp_flags |= GFP_HIGHUSER; in ttm_get_pages() 726 p = alloc_page(gfp_flags); in ttm_get_pages() 739 gfp_flags |= pool->gfp_flags; in ttm_get_pages() [all …]
|
D | ttm_page_alloc_dma.c | 114 gfp_t gfp_flags; member 343 pool->gfp_flags); in __ttm_dma_alloc_page() 603 pool->gfp_flags = flags; in ttm_dma_pool_init() 870 gfp_t gfp_flags; in ttm_dma_populate() local 878 gfp_flags = GFP_USER | GFP_DMA32; in ttm_dma_populate() 880 gfp_flags = GFP_HIGHUSER; in ttm_dma_populate() 882 gfp_flags |= __GFP_ZERO; in ttm_dma_populate() 886 pool = ttm_dma_pool_init(dev, gfp_flags, type); in ttm_dma_populate()
|
/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 56 gfp_t gfp_flags) in asd_map_scatterlist() argument 92 gfp_flags); in asd_map_scatterlist() 365 gfp_t gfp_flags) in asd_build_ata_ascb() argument 420 gfp_flags); in asd_build_ata_ascb() 433 gfp_t gfp_flags) in asd_build_smp_ascb() argument 483 gfp_t gfp_flags) in asd_build_ssp_ascb() argument 518 res = asd_map_scatterlist(task, scb->ssp_task.sg_element, gfp_flags); in asd_build_ssp_ascb() 546 gfp_t gfp_flags) in asd_execute_task() argument 560 ascb = asd_ascb_alloc_list(asd_ha, &res, gfp_flags); in asd_execute_task() 580 res = asd_build_ata_ascb(a, t, gfp_flags); in asd_execute_task() [all …]
|
D | aic94xx_hwi.c | 286 static int asd_alloc_edbs(struct asd_ha_struct *asd_ha, gfp_t gfp_flags) in asd_alloc_edbs() argument 291 seq->edb_arr = kmalloc(seq->num_edbs*sizeof(*seq->edb_arr), gfp_flags); in asd_alloc_edbs() 297 gfp_flags); in asd_alloc_edbs() 317 gfp_t gfp_flags) in asd_alloc_escbs() argument 324 gfp_flags); in asd_alloc_escbs() 329 escb = asd_ascb_alloc_list(asd_ha, &escbs, gfp_flags); in asd_alloc_escbs() 1047 gfp_t gfp_flags) in asd_ascb_alloc() argument 1054 ascb = kmem_cache_zalloc(asd_ascb_cache, gfp_flags); in asd_ascb_alloc() 1059 gfp_flags, in asd_ascb_alloc() 1104 gfp_t gfp_flags) in asd_ascb_alloc_list() argument [all …]
|
D | aic94xx.h | 81 int asd_execute_task(struct sas_task *, int num, gfp_t gfp_flags);
|
/drivers/staging/android/ion/ |
D | ion_system_heap.c | 72 gfp_t gfp_flags = low_order_gfp_flags; in alloc_buffer_page() local 75 gfp_flags = high_order_gfp_flags; in alloc_buffer_page() 76 page = alloc_pages(gfp_flags, order); in alloc_buffer_page() 306 gfp_t gfp_flags = low_order_gfp_flags; in ion_system_heap_create() local 309 gfp_flags = high_order_gfp_flags; in ion_system_heap_create() 310 pool = ion_page_pool_create(gfp_flags, orders[i]); in ion_system_heap_create()
|
/drivers/media/usb/uvc/ |
D | uvc_video.c | 1370 unsigned int size, unsigned int psize, gfp_t gfp_flags) in uvc_alloc_urb_buffers() argument 1393 gfp_flags | __GFP_NOWARN, &stream->urb_dma[i]); in uvc_alloc_urb_buffers() 1396 kmalloc(stream->urb_size, gfp_flags | __GFP_NOWARN); in uvc_alloc_urb_buffers() 1466 struct usb_host_endpoint *ep, gfp_t gfp_flags) in uvc_init_video_isoc() argument 1476 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_isoc() 1483 urb = usb_alloc_urb(npackets, gfp_flags); in uvc_init_video_isoc() 1521 struct usb_host_endpoint *ep, gfp_t gfp_flags) in uvc_init_video_bulk() argument 1532 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_bulk() 1549 urb = usb_alloc_urb(0, gfp_flags); in uvc_init_video_bulk() 1572 static int uvc_init_video(struct uvc_streaming *stream, gfp_t gfp_flags) in uvc_init_video() argument [all …]
|
/drivers/block/ |
D | brd.c | 90 gfp_t gfp_flags; in brd_insert_page() local 105 gfp_flags = GFP_NOIO | __GFP_ZERO; in brd_insert_page() 107 gfp_flags |= __GFP_HIGHMEM; in brd_insert_page() 109 page = alloc_page(gfp_flags); in brd_insert_page()
|
/drivers/usb/gadget/ |
D | u_ether.c | 203 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit() argument 246 skb = alloc_skb(size + NET_IP_ALIGN, gfp_flags); in rx_submit() 263 retval = usb_ep_queue(out, req, gfp_flags); in rx_submit() 407 static void rx_fill(struct eth_dev *dev, gfp_t gfp_flags) in rx_fill() argument 425 if (rx_submit(dev, req, gfp_flags) < 0) { in rx_fill() 775 static void eth_start(struct eth_dev *dev, gfp_t gfp_flags) in eth_start() argument 780 rx_fill(dev, gfp_flags); in eth_start()
|
D | f_phonet.c | 299 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) in pn_rx_submit() argument 304 page = __skb_alloc_page(gfp_flags | __GFP_NOMEMALLOC, NULL); in pn_rx_submit() 312 err = usb_ep_queue(fp->out_ep, req, gfp_flags); in pn_rx_submit()
|
D | fsl_udc_core.c | 681 fsl_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in fsl_alloc_request() argument 685 req = kzalloc(sizeof *req, gfp_flags); in fsl_alloc_request() 779 dma_addr_t *dma, int *is_last, gfp_t gfp_flags) in fsl_build_dtd() argument 788 dtd = dma_pool_alloc(udc_controller->td_pool, gfp_flags, dma); in fsl_build_dtd() 838 static int fsl_req_to_dtd(struct fsl_req *req, gfp_t gfp_flags) in fsl_req_to_dtd() argument 847 dtd = fsl_build_dtd(req, &count, &dma, &is_last, gfp_flags); in fsl_req_to_dtd() 872 fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in fsl_ep_queue() argument 910 if (!fsl_req_to_dtd(req, gfp_flags)) { in fsl_ep_queue()
|
/drivers/net/ethernet/sun/ |
D | sunbmac.h | 324 static inline struct sk_buff *big_mac_alloc_skb(unsigned int length, gfp_t gfp_flags) in big_mac_alloc_skb() argument 328 skb = alloc_skb(length + 64, gfp_flags); in big_mac_alloc_skb()
|
/drivers/usb/chipidea/ |
D | udc.c | 659 gfp_t __maybe_unused gfp_flags) in _ep_queue() argument 720 gfp_t gfp_flags = GFP_ATOMIC; in isr_get_status_response() local 727 req = usb_ep_alloc_request(&mEp->ep, gfp_flags); in isr_get_status_response() 734 req->buf = kzalloc(req->length, gfp_flags); in isr_get_status_response() 753 retval = _ep_queue(&mEp->ep, req, gfp_flags); in isr_get_status_response() 1127 static struct usb_request *ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) in ep_alloc_request() argument 1135 mReq = kzalloc(sizeof(struct ci13xxx_req), gfp_flags); in ep_alloc_request() 1139 mReq->ptr = dma_pool_alloc(mEp->td_pool, gfp_flags, in ep_alloc_request() 1183 gfp_t __maybe_unused gfp_flags) in ep_queue() argument 1193 retval = _ep_queue(ep, req, gfp_flags); in ep_queue()
|
/drivers/media/v4l2-core/ |
D | videobuf2-vmalloc.c | 38 static void *vb2_vmalloc_alloc(void *alloc_ctx, unsigned long size, gfp_t gfp_flags) in vb2_vmalloc_alloc() argument 42 buf = kzalloc(sizeof(*buf), GFP_KERNEL | gfp_flags); in vb2_vmalloc_alloc()
|
D | videobuf2-dma-sg.c | 45 static void *vb2_dma_sg_alloc(void *alloc_ctx, unsigned long size, gfp_t gfp_flags) in vb2_dma_sg_alloc() argument 74 __GFP_NOWARN | gfp_flags); in vb2_dma_sg_alloc()
|
/drivers/net/usb/ |
D | cdc-phonet.c | 127 static int rx_submit(struct usbpn_dev *pnd, struct urb *req, gfp_t gfp_flags) in rx_submit() argument 133 page = __skb_alloc_page(gfp_flags | __GFP_NOMEMALLOC, NULL); in rx_submit() 140 err = usb_submit_urb(req, gfp_flags); in rx_submit()
|
/drivers/infiniband/hw/qib/ |
D | qib_init.c | 1489 gfp_t gfp_flags; in qib_create_rcvhdrq() local 1493 gfp_flags = (rcd->ctxt >= dd->first_user_ctxt) ? in qib_create_rcvhdrq() 1497 gfp_flags | __GFP_COMP); in qib_create_rcvhdrq() 1515 gfp_flags); in qib_create_rcvhdrq() 1558 gfp_t gfp_flags; in qib_setup_eagerbufs() local 1566 gfp_flags = __GFP_WAIT | __GFP_IO | __GFP_COMP; in qib_setup_eagerbufs() 1595 gfp_flags); in qib_setup_eagerbufs()
|
/drivers/target/ |
D | target_core_tmr.c | 46 gfp_t gfp_flags) in core_tmr_alloc_req() argument 50 tmr = kzalloc(sizeof(struct se_tmr_req), gfp_flags); in core_tmr_alloc_req()
|
/drivers/usb/musb/ |
D | musb_gadget.h | 62 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
|
/drivers/scsi/isci/ |
D | task.h | 135 gfp_t gfp_flags);
|
/drivers/usb/dwc3/ |
D | gadget.h | 116 gfp_t gfp_flags);
|
/drivers/mtd/ubi/ |
D | ubi.h | 906 ubi_zalloc_vid_hdr(const struct ubi_device *ubi, gfp_t gfp_flags) in ubi_zalloc_vid_hdr() argument 910 vid_hdr = kzalloc(ubi->vid_hdr_alsize, gfp_flags); in ubi_zalloc_vid_hdr()
|
/drivers/scsi/mvsas/ |
D | mv_sas.c | 854 static struct mvs_task_list *mvs_task_alloc_list(int *num, gfp_t gfp_flags) in mvs_task_alloc_list() argument 859 struct mvs_task_list *mvs_list = kmem_cache_zalloc(mvs_task_list_cache, gfp_flags); in mvs_task_alloc_list() 890 static int mvs_task_exec(struct sas_task *task, const int num, gfp_t gfp_flags, in mvs_task_exec() argument 914 static int mvs_collector_task_exec(struct sas_task *task, const int num, gfp_t gfp_flags, in mvs_collector_task_exec() argument 929 mvs_list = mvs_task_alloc_list(&n, gfp_flags); in mvs_collector_task_exec() 973 gfp_t gfp_flags) in mvs_queue_command() argument 979 return mvs_task_exec(task, num, gfp_flags, NULL, 0, NULL); in mvs_queue_command() 981 return mvs_collector_task_exec(task, num, gfp_flags, NULL, 0, NULL); in mvs_queue_command()
|
/drivers/media/usb/tlg2300/ |
D | pd-common.h | 246 int buf_size, gfp_t gfp_flags,
|
/drivers/usb/renesas_usbhs/ |
D | mod_gadget.c | 613 gfp_t gfp_flags) in usbhsg_ep_alloc_request() argument 617 ureq = kzalloc(sizeof *ureq, gfp_flags); in usbhsg_ep_alloc_request() 636 gfp_t gfp_flags) in usbhsg_ep_queue() argument
|