Home
last modified time | relevance | path

Searched refs:gfp_flags (Results 1 – 25 of 72) sorted by relevance

123

/drivers/gpu/drm/ttm/
Dttm_page_alloc.c76 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 …]
Dttm_page_alloc_dma.c114 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/
Daic94xx_task.c56 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 …]
Daic94xx_hwi.c286 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 …]
Daic94xx.h81 int asd_execute_task(struct sas_task *, int num, gfp_t gfp_flags);
/drivers/gpu/ion/
Dion_system_heap.c73 gfp_t gfp_flags = low_order_gfp_flags; in alloc_buffer_page() local
76 gfp_flags = high_order_gfp_flags; in alloc_buffer_page()
77 page = ion_heap_alloc_pages(buffer, gfp_flags, order); in alloc_buffer_page()
320 gfp_t gfp_flags = low_order_gfp_flags; in ion_system_heap_create() local
323 gfp_flags = high_order_gfp_flags; in ion_system_heap_create()
324 pool = ion_page_pool_create(gfp_flags, orders[i]); in ion_system_heap_create()
Dion_heap.c140 struct page *ion_heap_alloc_pages(struct ion_buffer *buffer, gfp_t gfp_flags, in ion_heap_alloc_pages() argument
143 struct page *page = alloc_pages(gfp_flags, order); in ion_heap_alloc_pages()
Dion_priv.h227 struct page *ion_heap_alloc_pages(struct ion_buffer *buffer, gfp_t gfp_flags,
/drivers/media/video/uvc/
Duvc_video.c1366 unsigned int size, unsigned int psize, gfp_t gfp_flags) in uvc_alloc_urb_buffers() argument
1389 gfp_flags | __GFP_NOWARN, &stream->urb_dma[i]); in uvc_alloc_urb_buffers()
1392 kmalloc(stream->urb_size, gfp_flags | __GFP_NOWARN); in uvc_alloc_urb_buffers()
1442 struct usb_host_endpoint *ep, gfp_t gfp_flags) in uvc_init_video_isoc() argument
1453 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_isoc()
1460 urb = usb_alloc_urb(npackets, gfp_flags); in uvc_init_video_isoc()
1498 struct usb_host_endpoint *ep, gfp_t gfp_flags) in uvc_init_video_bulk() argument
1509 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_bulk()
1526 urb = usb_alloc_urb(0, gfp_flags); in uvc_init_video_bulk()
1549 static int uvc_init_video(struct uvc_streaming *stream, gfp_t gfp_flags) in uvc_init_video() argument
[all …]
/drivers/usb/gadget/
Du_ether.c199 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit() argument
238 skb = alloc_skb(size + NET_IP_ALIGN, gfp_flags); in rx_submit()
255 retval = usb_ep_queue(out, req, gfp_flags); in rx_submit()
420 static void rx_fill(struct eth_dev *dev, gfp_t gfp_flags) in rx_fill() argument
433 if (rx_submit(dev, req, gfp_flags) < 0) { in rx_fill()
625 static void eth_start(struct eth_dev *dev, gfp_t gfp_flags) in eth_start() argument
630 rx_fill(dev, gfp_flags); in eth_start()
Df_phonet.c299 pn_rx_submit(struct f_phonet *fp, struct usb_request *req, gfp_t gfp_flags) in pn_rx_submit() argument
304 page = alloc_page(gfp_flags); in pn_rx_submit()
312 err = usb_ep_queue(fp->out_ep, req, gfp_flags); in pn_rx_submit()
Dci13xxx_udc.c1749 gfp_t gfp_flags = GFP_ATOMIC; in isr_get_status_response() local
1758 req = usb_ep_alloc_request(&mEp->ep, gfp_flags); in isr_get_status_response()
1765 req->buf = kzalloc(req->length, gfp_flags); in isr_get_status_response()
1785 retval = usb_ep_queue(&mEp->ep, req, gfp_flags); in isr_get_status_response()
2195 static struct usb_request *ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) in ep_alloc_request() argument
2200 trace("%p, %i", ep, gfp_flags); in ep_alloc_request()
2207 mReq = kzalloc(sizeof(struct ci13xxx_req), gfp_flags); in ep_alloc_request()
2212 mReq->ptr = dma_pool_alloc(mEp->td_pool, gfp_flags, in ep_alloc_request()
2263 gfp_t __maybe_unused gfp_flags) in ep_queue() argument
2270 trace("%p, %p, %X", ep, req, gfp_flags); in ep_queue()
Dfsl_udc_core.c675 fsl_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in fsl_alloc_request() argument
679 req = kzalloc(sizeof *req, gfp_flags); in fsl_alloc_request()
773 dma_addr_t *dma, int *is_last, gfp_t gfp_flags) in fsl_build_dtd() argument
782 dtd = dma_pool_alloc(udc_controller->td_pool, gfp_flags, dma); in fsl_build_dtd()
832 static int fsl_req_to_dtd(struct fsl_req *req, gfp_t gfp_flags) in fsl_req_to_dtd() argument
841 dtd = fsl_build_dtd(req, &count, &dma, &is_last, gfp_flags); in fsl_req_to_dtd()
866 fsl_ep_queue(struct usb_ep *_ep, struct usb_request *_req, gfp_t gfp_flags) in fsl_ep_queue() argument
916 if (!fsl_req_to_dtd(req, gfp_flags)) { in fsl_ep_queue()
/drivers/block/
Dbrd.c90 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/net/ethernet/sun/
Dsunbmac.h324 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/infiniband/hw/qib/
Dqib_init.c1352 gfp_t gfp_flags; in qib_create_rcvhdrq() local
1356 gfp_flags = (rcd->ctxt >= dd->first_user_ctxt) ? in qib_create_rcvhdrq()
1360 gfp_flags | __GFP_COMP); in qib_create_rcvhdrq()
1378 gfp_flags); in qib_create_rcvhdrq()
1420 gfp_t gfp_flags; in qib_setup_eagerbufs() local
1428 gfp_flags = __GFP_WAIT | __GFP_IO | __GFP_COMP; in qib_setup_eagerbufs()
1457 gfp_flags); in qib_setup_eagerbufs()
/drivers/net/usb/
Dcdc-phonet.c127 static int rx_submit(struct usbpn_dev *pnd, struct urb *req, gfp_t gfp_flags) in rx_submit() argument
133 page = alloc_page(gfp_flags); in rx_submit()
140 err = usb_submit_urb(req, gfp_flags); in rx_submit()
/drivers/usb/musb/
Dmusb_gadget.h62 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
/drivers/target/
Dtarget_core_tmr.c47 gfp_t gfp_flags) in core_tmr_alloc_req() argument
51 tmr = kzalloc(sizeof(struct se_tmr_req), gfp_flags); in core_tmr_alloc_req()
/drivers/mtd/ubi/
Dubi.h606 ubi_zalloc_vid_hdr(const struct ubi_device *ubi, gfp_t gfp_flags) in ubi_zalloc_vid_hdr() argument
610 vid_hdr = kzalloc(ubi->vid_hdr_alsize, gfp_flags); in ubi_zalloc_vid_hdr()
/drivers/usb/dwc3/
Dgadget.h110 gfp_t gfp_flags);
/drivers/scsi/isci/
Dtask.h156 gfp_t gfp_flags);
/drivers/scsi/mvsas/
Dmv_sas.c848 static struct mvs_task_list *mvs_task_alloc_list(int *num, gfp_t gfp_flags) in mvs_task_alloc_list() argument
853 struct mvs_task_list *mvs_list = kmem_cache_zalloc(mvs_task_list_cache, gfp_flags); in mvs_task_alloc_list()
884 static int mvs_task_exec(struct sas_task *task, const int num, gfp_t gfp_flags, in mvs_task_exec() argument
908 static int mvs_collector_task_exec(struct sas_task *task, const int num, gfp_t gfp_flags, in mvs_collector_task_exec() argument
923 mvs_list = mvs_task_alloc_list(&n, gfp_flags); in mvs_collector_task_exec()
967 gfp_t gfp_flags) in mvs_queue_command() argument
973 return mvs_task_exec(task, num, gfp_flags, NULL, 0, NULL); in mvs_queue_command()
975 return mvs_collector_task_exec(task, num, gfp_flags, NULL, 0, NULL); in mvs_queue_command()
/drivers/usb/renesas_usbhs/
Dmod_gadget.c613 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
/drivers/media/video/tlg2300/
Dpd-common.h246 int buf_size, gfp_t gfp_flags,

123