Home
last modified time | relevance | path

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

1234

/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/staging/android/ion/
Dion_system_heap.c72 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/
Duvc_video.c1370 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/
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/usb/gadget/
Du_ether.c203 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()
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 = __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()
Dfsl_udc_core.c681 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/
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/usb/chipidea/
Dudc.c659 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/
Dvideobuf2-vmalloc.c38 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()
Dvideobuf2-dma-sg.c45 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/
Dcdc-phonet.c127 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/
Dqib_init.c1489 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/
Dtarget_core_tmr.c46 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/
Dmusb_gadget.h62 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
/drivers/scsi/isci/
Dtask.h135 gfp_t gfp_flags);
/drivers/usb/dwc3/
Dgadget.h116 gfp_t gfp_flags);
/drivers/mtd/ubi/
Dubi.h906 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/
Dmv_sas.c854 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/
Dpd-common.h246 int buf_size, gfp_t gfp_flags,
/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

1234