Lines Matching refs:ractl
24 struct readahead_control *ractl) in netfs_rreq_expand() argument
46 if (rreq->start != readahead_pos(ractl) || in netfs_rreq_expand()
47 rreq->len != readahead_length(ractl)) { in netfs_rreq_expand()
48 readahead_expand(ractl, rreq->start, rreq->len); in netfs_rreq_expand()
49 rreq->start = readahead_pos(ractl); in netfs_rreq_expand()
50 rreq->len = readahead_length(ractl); in netfs_rreq_expand()
52 trace_netfs_read(rreq, readahead_pos(ractl), readahead_length(ractl), in netfs_rreq_expand()
76 nr = __readahead_batch(rreq->ractl, (struct page **)folioq->vec.folios, in netfs_load_buffer_from_ra()
120 if (rreq->ractl) { in netfs_prepare_read_iterator()
395 void netfs_readahead(struct readahead_control *ractl) in netfs_readahead() argument
398 struct netfs_inode *ictx = netfs_inode(ractl->mapping->host); in netfs_readahead()
399 unsigned long long start = readahead_pos(ractl); in netfs_readahead()
400 size_t size = readahead_length(ractl); in netfs_readahead()
403 rreq = netfs_alloc_request(ractl->mapping, ractl->file, start, size, in netfs_readahead()
413 trace_netfs_read(rreq, readahead_pos(ractl), readahead_length(ractl), in netfs_readahead()
416 netfs_rreq_expand(rreq, ractl); in netfs_readahead()
418 rreq->ractl = ractl; in netfs_readahead()
452 rreq->ractl = (struct readahead_control *)1UL; in netfs_create_singular_buffer()