Lines Matching refs:cres
179 struct netfs_cache_resources cres;
185 memset(&cres, 0, sizeof(cres));
189 ret = fscache_begin_read_operation(&cres, cookie);
193 ret = fscache_read(&cres, page_offset(page), &iter, NETFS_READ_HOLE_FAIL,
195 fscache_end_operation(&cres);
205 struct netfs_cache_resources cres;
210 memset(&cres, 0, sizeof(cres));
213 ret = fscache_begin_write_operation(&cres, cookie);
217 ret = cres.ops->prepare_write(&cres, &start, &len, len, i_size_read(inode),
220 ret = fscache_write(&cres, start, &iter, NULL, NULL);
221 fscache_end_operation(&cres);
260 struct netfs_cache_resources cres;
266 ret = fscache_begin_read_operation(&cres, cookie);
272 ret = cres.ops->query_occupancy(&cres, start, len, PAGE_SIZE,
279 fscache_end_operation(&cres);