/drivers/gpu/drm/ttm/ |
D | ttm_page_alloc.c | 73 gfp_t gfp_flags; member 487 static int ttm_alloc_new_pages(struct list_head *pages, gfp_t gfp_flags, in ttm_alloc_new_pages() argument 508 p = alloc_pages(gfp_flags, order); in ttm_alloc_new_pages() 602 r = ttm_alloc_new_pages(&new_pages, pool->gfp_flags, ttm_flags, in ttm_page_pool_fill_locked() 688 gfp_t gfp_flags = pool->gfp_flags; in ttm_page_pool_get_pages() local 692 gfp_flags |= __GFP_ZERO; in ttm_page_pool_get_pages() 695 gfp_flags |= __GFP_RETRY_MAYFAIL; in ttm_page_pool_get_pages() 700 r = ttm_alloc_new_pages(pages, gfp_flags, ttm_flags, cstate, in ttm_page_pool_get_pages() 840 gfp_t gfp_flags = GFP_USER; in ttm_get_pages() local 848 gfp_flags |= __GFP_ZERO; in ttm_get_pages() [all …]
|
D | ttm_page_alloc_dma.c | 107 gfp_t gfp_flags; member 312 pool->gfp_flags, attrs); in __ttm_dma_alloc_page() 593 pool->gfp_flags = flags; in ttm_dma_pool_init() 859 gfp_t gfp_flags; in ttm_dma_pool_gfp_flags() local 862 gfp_flags = GFP_USER | GFP_DMA32; in ttm_dma_pool_gfp_flags() 864 gfp_flags = GFP_HIGHUSER; in ttm_dma_pool_gfp_flags() 866 gfp_flags |= __GFP_ZERO; in ttm_dma_pool_gfp_flags() 869 gfp_flags |= GFP_TRANSHUGE_LIGHT | __GFP_NORETRY | in ttm_dma_pool_gfp_flags() 871 gfp_flags &= ~__GFP_MOVABLE; in ttm_dma_pool_gfp_flags() 872 gfp_flags &= ~__GFP_COMP; in ttm_dma_pool_gfp_flags() [all …]
|
/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 38 gfp_t gfp_flags) in asd_map_scatterlist() argument 77 gfp_flags); in asd_map_scatterlist() 350 gfp_t gfp_flags) in asd_build_ata_ascb() argument 405 gfp_flags); in asd_build_ata_ascb() 418 gfp_t gfp_flags) in asd_build_smp_ascb() argument 468 gfp_t gfp_flags) in asd_build_ssp_ascb() argument 504 res = asd_map_scatterlist(task, scb->ssp_task.sg_element, gfp_flags); in asd_build_ssp_ascb() 531 int asd_execute_task(struct sas_task *task, gfp_t gfp_flags) in asd_execute_task() argument 545 ascb = asd_ascb_alloc_list(asd_ha, &res, gfp_flags); in asd_execute_task() 565 res = asd_build_ata_ascb(a, t, gfp_flags); in asd_execute_task() [all …]
|
D | aic94xx_hwi.c | 272 static int asd_alloc_edbs(struct asd_ha_struct *asd_ha, gfp_t gfp_flags) in asd_alloc_edbs() argument 278 gfp_flags); in asd_alloc_edbs() 284 gfp_flags); in asd_alloc_edbs() 304 gfp_t gfp_flags) in asd_alloc_escbs() argument 311 gfp_flags); in asd_alloc_escbs() 316 escb = asd_ascb_alloc_list(asd_ha, &escbs, gfp_flags); in asd_alloc_escbs() 1031 gfp_t gfp_flags) in asd_ascb_alloc() argument 1038 ascb = kmem_cache_zalloc(asd_ascb_cache, gfp_flags); in asd_ascb_alloc() 1043 gfp_flags, in asd_ascb_alloc() 1087 gfp_t gfp_flags) in asd_ascb_alloc_list() argument [all …]
|
D | aic94xx.h | 56 int asd_execute_task(struct sas_task *task, gfp_t gfp_flags);
|
/drivers/crypto/marvell/cesa/ |
D | tdma.c | 216 u32 size, u32 flags, gfp_t gfp_flags) in mv_cesa_dma_add_result_op() argument 220 tdma = mv_cesa_dma_add_desc(chain, gfp_flags); in mv_cesa_dma_add_result_op() 283 u32 flags, gfp_t gfp_flags) in mv_cesa_dma_add_data_transfer() argument 287 tdma = mv_cesa_dma_add_desc(chain, gfp_flags); in mv_cesa_dma_add_data_transfer() 325 gfp_t gfp_flags) in mv_cesa_dma_add_op_transfers() argument 345 flags, gfp_flags); in mv_cesa_dma_add_op_transfers()
|
D | cesa.h | 851 u32 size, u32 flags, gfp_t gfp_flags); 860 u32 flags, gfp_t gfp_flags); 868 gfp_t gfp_flags);
|
/drivers/scsi/libsas/ |
D | sas_event.c | 153 gfp_t gfp_flags) in sas_notify_port_event_gfp() argument 157 ev = sas_alloc_event_gfp(phy, gfp_flags); in sas_notify_port_event_gfp() 196 gfp_t gfp_flags) in sas_notify_phy_event_gfp() argument 200 ev = sas_alloc_event_gfp(phy, gfp_flags); in sas_notify_phy_event_gfp()
|
D | sas_init.c | 588 gfp_t gfp_flags) in __sas_alloc_event() argument 595 event = kmem_cache_zalloc(sas_event_cache, gfp_flags); in __sas_alloc_event() 607 gfp_flags); in __sas_alloc_event() 627 gfp_t gfp_flags) in sas_alloc_event_gfp() argument 629 return __sas_alloc_event(phy, gfp_flags); in sas_alloc_event_gfp()
|
/drivers/md/ |
D | raid1-10.c | 43 gfp_t gfp_flags) in resync_alloc_pages() argument 48 rp->pages[i] = alloc_page(gfp_flags); in resync_alloc_pages()
|
/drivers/usb/gadget/udc/ |
D | gr_udc.c | 231 static struct gr_dma_desc *gr_alloc_dma_desc(struct gr_ep *ep, gfp_t gfp_flags) in gr_alloc_dma_desc() argument 236 dma_desc = dma_pool_zalloc(ep->dev->desc_pool, gfp_flags, &paddr); in gr_alloc_dma_desc() 346 static struct usb_request *gr_alloc_request(struct usb_ep *_ep, gfp_t gfp_flags) in gr_alloc_request() argument 350 req = kzalloc(sizeof(*req), gfp_flags); in gr_alloc_request() 437 dma_addr_t data, unsigned size, gfp_t gfp_flags) in gr_add_dma_desc() argument 441 desc = gr_alloc_dma_desc(ep, gfp_flags); in gr_add_dma_desc() 476 gfp_t gfp_flags) in gr_setup_out_desc_list() argument 495 ret = gr_add_dma_desc(ep, req, start, size, gfp_flags); in gr_setup_out_desc_list() 529 gfp_t gfp_flags) in gr_setup_in_desc_list() argument 542 ret = gr_add_dma_desc(ep, req, start, size, gfp_flags); in gr_setup_in_desc_list() [all …]
|
/drivers/staging/android/ion/heaps/ |
D | ion_system_heap.c | 239 gfp_t gfp_flags = low_order_gfp_flags; in ion_system_heap_create_pools() local 242 gfp_flags = high_order_gfp_flags; in ion_system_heap_create_pools() 244 pool = ion_page_pool_create(gfp_flags, orders[i]); in ion_system_heap_create_pools()
|
/drivers/greybus/ |
D | operation.c | 362 size_t payload_size, gfp_t gfp_flags) in gb_operation_message_alloc() argument 375 message = kmem_cache_zalloc(gb_message_cache, gfp_flags); in gb_operation_message_alloc() 379 message->buffer = kzalloc(message_size, gfp_flags); in gb_operation_message_alloc() 521 unsigned long op_flags, gfp_t gfp_flags) in gb_operation_create_common() argument 526 operation = kmem_cache_zalloc(gb_operation_cache, gfp_flags); in gb_operation_create_common() 532 gfp_flags); in gb_operation_create_common() 540 gfp_flags)) { in gb_operation_create_common()
|
/drivers/media/usb/uvc/ |
D | uvc_video.c | 1626 unsigned int size, unsigned int psize, gfp_t gfp_flags) in uvc_alloc_urb_buffers() argument 1651 gfp_flags | __GFP_NOWARN, &uvc_urb->dma); in uvc_alloc_urb_buffers() 1654 kmalloc(stream->urb_size, gfp_flags | __GFP_NOWARN); in uvc_alloc_urb_buffers() 1737 struct usb_host_endpoint *ep, gfp_t gfp_flags) in uvc_init_video_isoc() argument 1748 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_isoc() 1755 urb = usb_alloc_urb(npackets, gfp_flags); in uvc_init_video_isoc() 1793 struct usb_host_endpoint *ep, gfp_t gfp_flags) in uvc_init_video_bulk() argument 1805 npackets = uvc_alloc_urb_buffers(stream, size, psize, gfp_flags); in uvc_init_video_bulk() 1822 urb = usb_alloc_urb(0, gfp_flags); in uvc_init_video_bulk() 1845 gfp_t gfp_flags) in uvc_video_start_transfer() argument [all …]
|
/drivers/usb/gadget/function/ |
D | u_ether.c | 178 rx_submit(struct eth_dev *dev, struct usb_request *req, gfp_t gfp_flags) in rx_submit() argument 223 skb = __netdev_alloc_skb(dev->net, size + NET_IP_ALIGN, gfp_flags); in rx_submit() 241 retval = usb_ep_queue(out, req, gfp_flags); in rx_submit() 406 static void rx_fill(struct eth_dev *dev, gfp_t gfp_flags) in rx_fill() argument 418 if (rx_submit(dev, req, gfp_flags) < 0) { in rx_fill() 614 static void eth_start(struct eth_dev *dev, gfp_t gfp_flags) in eth_start() argument 619 rx_fill(dev, gfp_flags); in eth_start()
|
/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/media/common/videobuf2/ |
D | videobuf2-dma-sg.c | 59 gfp_t gfp_flags) in vb2_dma_sg_alloc_compacted() argument 77 __GFP_NOWARN | gfp_flags, order); in vb2_dma_sg_alloc_compacted() 101 gfp_t gfp_flags) in vb2_dma_sg_alloc() argument 133 ret = vb2_dma_sg_alloc_compacted(buf, gfp_flags); in vb2_dma_sg_alloc()
|
/drivers/block/ |
D | brd.c | 89 gfp_t gfp_flags; in brd_insert_page() local 99 gfp_flags = GFP_NOIO | __GFP_ZERO | __GFP_HIGHMEM; in brd_insert_page() 100 page = alloc_page(gfp_flags); in brd_insert_page()
|
/drivers/net/usb/ |
D | cdc-phonet.c | 116 static int rx_submit(struct usbpn_dev *pnd, struct urb *req, gfp_t gfp_flags) in rx_submit() argument 122 page = __dev_alloc_page(gfp_flags | __GFP_NOMEMALLOC); in rx_submit() 129 err = usb_submit_urb(req, gfp_flags); in rx_submit()
|
/drivers/infiniband/hw/qib/ |
D | qib_init.c | 1550 gfp_t gfp_flags; in qib_create_rcvhdrq() local 1554 gfp_flags = (rcd->ctxt >= dd->first_user_ctxt) ? in qib_create_rcvhdrq() 1561 gfp_flags | __GFP_COMP); in qib_create_rcvhdrq() 1581 gfp_flags); in qib_create_rcvhdrq() 1625 gfp_t gfp_flags; in qib_setup_eagerbufs() local 1634 gfp_flags = __GFP_RECLAIM | __GFP_IO | __GFP_COMP; in qib_setup_eagerbufs() 1667 gfp_flags); in qib_setup_eagerbufs()
|
/drivers/infiniband/hw/hfi1/ |
D | init.c | 1805 gfp_t gfp_flags; in hfi1_create_rcvhdrq() local 1810 gfp_flags = GFP_KERNEL; in hfi1_create_rcvhdrq() 1812 gfp_flags = GFP_USER; in hfi1_create_rcvhdrq() 1815 gfp_flags | __GFP_COMP); in hfi1_create_rcvhdrq() 1829 gfp_flags); in hfi1_create_rcvhdrq() 1864 gfp_t gfp_flags; in hfi1_setup_eagerbufs() local 1875 gfp_flags = __GFP_RECLAIM | __GFP_IO | __GFP_COMP; in hfi1_setup_eagerbufs() 1907 gfp_flags); in hfi1_setup_eagerbufs()
|
/drivers/target/ |
D | target_core_tmr.c | 30 gfp_t gfp_flags) in core_tmr_alloc_req() argument 34 tmr = kzalloc(sizeof(struct se_tmr_req), gfp_flags); in core_tmr_alloc_req()
|
/drivers/usb/chipidea/ |
D | udc.c | 915 gfp_t __maybe_unused gfp_flags) in _ep_queue() argument 976 gfp_t gfp_flags = GFP_ATOMIC; in isr_get_status_response() local 983 req = usb_ep_alloc_request(&hwep->ep, gfp_flags); in isr_get_status_response() 990 req->buf = kzalloc(req->length, gfp_flags); in isr_get_status_response() 1008 retval = _ep_queue(&hwep->ep, req, gfp_flags); in isr_get_status_response() 1450 static struct usb_request *ep_alloc_request(struct usb_ep *ep, gfp_t gfp_flags) in ep_alloc_request() argument 1457 hwreq = kzalloc(sizeof(struct ci_hw_req), gfp_flags); in ep_alloc_request() 1505 gfp_t __maybe_unused gfp_flags) in ep_queue() argument 1519 retval = _ep_queue(ep, req, gfp_flags); in ep_queue()
|
/drivers/scsi/isci/ |
D | task.h | 134 gfp_t gfp_flags);
|
/drivers/usb/musb/ |
D | musb_gadget.h | 66 musb_alloc_request(struct usb_ep *ep, gfp_t gfp_flags);
|