Lines Matching refs:subreq
229 struct netfs_read_subrequest *subreq = req->subreq; in afs_fetch_data_notify() local
236 if (subreq) { in afs_fetch_data_notify()
237 __set_bit(NETFS_SREQ_CLEAR_TAIL, &subreq->flags); in afs_fetch_data_notify()
238 netfs_subreq_terminated(subreq, error ?: req->actual_len, false); in afs_fetch_data_notify()
239 req->subreq = NULL; in afs_fetch_data_notify()
287 if (req->subreq) in afs_fetch_data()
288 netfs_subreq_terminated(req->subreq, PTR_ERR(op), false); in afs_fetch_data()
299 static void afs_req_issue_op(struct netfs_read_subrequest *subreq) in afs_req_issue_op() argument
301 struct afs_vnode *vnode = AFS_FS_I(subreq->rreq->inode); in afs_req_issue_op()
306 return netfs_subreq_terminated(subreq, -ENOMEM, false); in afs_req_issue_op()
308 fsreq->subreq = subreq; in afs_req_issue_op()
309 fsreq->pos = subreq->start + subreq->transferred; in afs_req_issue_op()
310 fsreq->len = subreq->len - subreq->transferred; in afs_req_issue_op()
311 fsreq->key = key_get(subreq->rreq->netfs_priv); in afs_req_issue_op()