Home
last modified time | relevance | path

Searched refs:prev_donated (Results 1 – 5 of 5) sorted by relevance

/linux/fs/netfs/
H A Dread_collect.c95 size_t avail, prev_donated, next_donated, fsize, part, excess; in netfs_consume_read_data() local
141 prev_donated = READ_ONCE(subreq->prev_donated); in netfs_consume_read_data()
143 if (prev_donated || next_donated) { in netfs_consume_read_data()
145 prev_donated = subreq->prev_donated; in netfs_consume_read_data()
147 subreq->start -= prev_donated; in netfs_consume_read_data()
148 subreq->len += prev_donated; in netfs_consume_read_data()
149 subreq->transferred += prev_donated; in netfs_consume_read_data()
150 prev_donated = subreq->prev_donated = 0; in netfs_consume_read_data()
165 start -= prev_donated; in netfs_consume_read_data()
166 avail += prev_donated; in netfs_consume_read_data()
[all …]
H A Ddirect_read.c73 subreq->prev_donated = rreq->prev_donated; in netfs_dispatch_unbuffered_reads()
74 rreq->prev_donated = 0; in netfs_dispatch_unbuffered_reads()
H A Dread_retry.c147 subreq->prev_donated += rreq->prev_donated; in netfs_retry_read_subrequests()
148 rreq->prev_donated = 0; in netfs_retry_read_subrequests()
H A Dbuffered_read.c248 subreq->prev_donated = rreq->prev_donated; in netfs_read_to_pagecache()
249 rreq->prev_donated = 0; in netfs_read_to_pagecache()
/linux/include/linux/
H A Dnetfs.h182 size_t prev_donated; /* Amount of data donated from previous subreq */ member
269 size_t prev_donated; /* Fallback for subreq->prev_donated */ member