Lines Matching refs:prev
246 static int nfs_can_coalesce_requests(struct nfs_page *prev, in nfs_can_coalesce_requests() argument
249 if (req->wb_context->cred != prev->wb_context->cred) in nfs_can_coalesce_requests()
251 if (req->wb_context->lockowner != prev->wb_context->lockowner) in nfs_can_coalesce_requests()
253 if (req->wb_context->state != prev->wb_context->state) in nfs_can_coalesce_requests()
255 if (req->wb_index != (prev->wb_index + 1)) in nfs_can_coalesce_requests()
259 if (prev->wb_pgbase + prev->wb_bytes != PAGE_CACHE_SIZE) in nfs_can_coalesce_requests()
278 struct nfs_page *prev; in nfs_pageio_do_add_request() local
292 prev = nfs_list_entry(desc->pg_list.prev); in nfs_pageio_do_add_request()
293 if (!nfs_can_coalesce_requests(prev, req)) in nfs_pageio_do_add_request()
368 struct nfs_page *prev = nfs_list_entry(desc->pg_list.prev); in nfs_pageio_cond_complete() local
369 if (index != prev->wb_index + 1) in nfs_pageio_cond_complete()