Home
last modified time | relevance | path

Searched refs:new_req (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/gadget/function/
Du_ether.c491 struct usb_request *new_req; in tx_complete() local
521 new_req = container_of(dev->tx_reqs.next, in tx_complete()
523 list_del(&new_req->list); in tx_complete()
525 if (new_req->length > 0) { in tx_complete()
526 length = new_req->length; in tx_complete()
533 new_req->zero = 0; in tx_complete()
535 new_req->zero = 1; in tx_complete()
542 if (new_req->zero && !dev->zlp && in tx_complete()
544 new_req->zero = 0; in tx_complete()
548 new_req->length = length; in tx_complete()
[all …]
/drivers/staging/lustre/lustre/osc/
Dosc_request.c1612 struct ptlrpc_request *new_req; in osc_brw_redo_request() local
1624 &new_req, 0, 1); in osc_brw_redo_request()
1634 ptlrpc_req_finished(new_req); in osc_brw_redo_request()
1642 new_req->rq_interpret_reply = request->rq_interpret_reply; in osc_brw_redo_request()
1643 new_req->rq_async_args = request->rq_async_args; in osc_brw_redo_request()
1646 if (aa->aa_resends > new_req->rq_timeout) in osc_brw_redo_request()
1647 new_req->rq_sent = ktime_get_real_seconds() + new_req->rq_timeout; in osc_brw_redo_request()
1649 new_req->rq_sent = ktime_get_real_seconds() + aa->aa_resends; in osc_brw_redo_request()
1650 new_req->rq_generation_set = 1; in osc_brw_redo_request()
1651 new_req->rq_import_generation = request->rq_import_generation; in osc_brw_redo_request()
[all …]
/drivers/gpu/drm/
Ddrm_crtc.c2949 struct drm_mode_cursor2 new_req; in drm_mode_cursor_ioctl() local
2951 memcpy(&new_req, req, sizeof(struct drm_mode_cursor)); in drm_mode_cursor_ioctl()
2952 new_req.hot_x = new_req.hot_y = 0; in drm_mode_cursor_ioctl()
2954 return drm_mode_cursor_common(dev, &new_req, file_priv); in drm_mode_cursor_ioctl()