Home
last modified time | relevance | path

Searched refs:ractl (Results 1 – 7 of 7) sorted by relevance

/fs/netfs/
Dread_helper.c818 struct readahead_control *ractl) in netfs_rreq_expand() argument
840 if (rreq->start != readahead_pos(ractl) || in netfs_rreq_expand()
841 rreq->len != readahead_length(ractl)) { in netfs_rreq_expand()
842 readahead_expand(ractl, rreq->start, rreq->len); in netfs_rreq_expand()
843 rreq->start = readahead_pos(ractl); in netfs_rreq_expand()
844 rreq->len = readahead_length(ractl); in netfs_rreq_expand()
846 trace_netfs_read(rreq, readahead_pos(ractl), readahead_length(ractl), in netfs_rreq_expand()
869 void netfs_readahead(struct readahead_control *ractl, in netfs_readahead() argument
878 _enter("%lx,%x", readahead_index(ractl), readahead_count(ractl)); in netfs_readahead()
880 if (readahead_count(ractl) == 0) in netfs_readahead()
[all …]
/fs/squashfs/
Dfile.c534 static void squashfs_readahead(struct readahead_control *ractl) in squashfs_readahead() argument
536 struct inode *inode = ractl->mapping->host; in squashfs_readahead()
540 loff_t start = readahead_pos(ractl) & ~mask; in squashfs_readahead()
541 size_t len = readahead_length(ractl) + readahead_pos(ractl) - start; in squashfs_readahead()
548 readahead_expand(ractl, start, (len | mask) + 1); in squashfs_readahead()
567 nr_pages = __readahead_batch(ractl, pages, max_pages); in squashfs_readahead()
571 if (readahead_pos(ractl) >= i_size_read(inode)) in squashfs_readahead()
/fs/f2fs/
Dverity.c266 DEFINE_READAHEAD(ractl, NULL, NULL, inode->i_mapping, index); in f2fs_read_merkle_tree_page()
271 page_cache_ra_unbounded(&ractl, num_ra_pages, 0); in f2fs_read_merkle_tree_page()
Dfile.c3983 DEFINE_READAHEAD(ractl, NULL, NULL, inode->i_mapping, page_idx); in redirty_blocks()
3989 page_cache_ra_unbounded(&ractl, len, 0); in redirty_blocks()
/fs/ext4/
Dverity.c373 DEFINE_READAHEAD(ractl, NULL, NULL, inode->i_mapping, index); in ext4_read_merkle_tree_page()
378 page_cache_ra_unbounded(&ractl, num_ra_pages, 0); in ext4_read_merkle_tree_page()
/fs/afs/
Dfile.c26 static void afs_readahead(struct readahead_control *ractl);
387 static void afs_readahead(struct readahead_control *ractl) in afs_readahead() argument
389 netfs_readahead(ractl, &afs_req_ops, NULL); in afs_readahead()
/fs/ceph/
Daddr.c349 static void ceph_readahead(struct readahead_control *ractl) in ceph_readahead() argument
351 struct inode *inode = file_inode(ractl->file); in ceph_readahead()
352 struct ceph_file_info *fi = ractl->file->private_data; in ceph_readahead()
377 netfs_readahead(ractl, &ceph_netfs_read_ops, (void *)(uintptr_t)got); in ceph_readahead()