Lines Matching refs:subreq
18 struct netfs_io_subrequest *subreq; in netfs_rreq_unlock_folios() local
29 list_for_each_entry(subreq, &rreq->subrequests, rreq_link) { in netfs_rreq_unlock_folios()
30 __clear_bit(NETFS_SREQ_COPY_TO_CACHE, &subreq->flags); in netfs_rreq_unlock_folios()
40 subreq = list_first_entry(&rreq->subrequests, in netfs_rreq_unlock_folios()
42 subreq_failed = (subreq->error < 0); in netfs_rreq_unlock_folios()
61 if (!subreq) { in netfs_rreq_unlock_folios()
65 if (!folio_started && test_bit(NETFS_SREQ_COPY_TO_CACHE, &subreq->flags)) { in netfs_rreq_unlock_folios()
70 sreq_end = subreq->start + subreq->len - 1; in netfs_rreq_unlock_folios()
74 account += subreq->transferred; in netfs_rreq_unlock_folios()
75 if (!list_is_last(&subreq->rreq_link, &rreq->subrequests)) { in netfs_rreq_unlock_folios()
76 subreq = list_next_entry(subreq, rreq_link); in netfs_rreq_unlock_folios()
77 subreq_failed = (subreq->error < 0); in netfs_rreq_unlock_folios()
79 subreq = NULL; in netfs_rreq_unlock_folios()