Home
last modified time | relevance | path

Searched refs:ra_pages (Results 1 – 12 of 12) sorted by relevance

/fs/exofs/
Dsuper.c513 unsigned ra_pages = layout->group_width * layout->stripe_unit / in __ra_pages() local
517 ra_pages *= 2; /* two stripes */ in __ra_pages()
518 if (ra_pages < _MIN_RA) in __ra_pages()
519 ra_pages = roundup(_MIN_RA, ra_pages / 2); in __ra_pages()
521 if (ra_pages > max_io_pages) in __ra_pages()
522 ra_pages = max_io_pages; in __ra_pages()
524 return ra_pages; in __ra_pages()
812 sbi->bdi.ra_pages = __ra_pages(&sbi->layout); in exofs_fill_super()
/fs/fuse/
Dinode.c816 unsigned long ra_pages; in process_init_reply() local
821 ra_pages = arg->max_readahead / PAGE_CACHE_SIZE; in process_init_reply()
845 ra_pages = fc->max_read / PAGE_CACHE_SIZE; in process_init_reply()
850 fc->bdi.ra_pages = min(fc->bdi.ra_pages, ra_pages); in process_init_reply()
866 arg->max_readahead = fc->bdi.ra_pages * PAGE_CACHE_SIZE; in fuse_send_init()
895 fc->bdi.ra_pages = (VM_MAX_READAHEAD * 1024) / PAGE_CACHE_SIZE; in fuse_bdi_init()
/fs/ceph/
Dsuper.c827 fsc->backing_dev_info.ra_pages = in ceph_register_bdi()
831 fsc->backing_dev_info.ra_pages = in ceph_register_bdi()
832 default_backing_dev_info.ra_pages; in ceph_register_bdi()
/fs/ramfs/
Dinode.c48 .ra_pages = 0, /* No readahead */
/fs/configfs/
Dinode.c55 .ra_pages = 0, /* No readahead */
/fs/9p/
Dvfs_super.c90 sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024)/PAGE_CACHE_SIZE; in v9fs_fill_super()
/fs/sysfs/
Dinode.c37 .ra_pages = 0, /* No readahead */
/fs/ocfs2/dlmfs/
Ddlmfs.c396 .ra_pages = 0, /* No readahead */
/fs/btrfs/
Ddisk-io.c1502 bdi->ra_pages = default_backing_dev_info.ra_pages; in setup_bdi()
2244 fs_info->bdi.ra_pages *= btrfs_super_num_devices(disk_super); in open_ctree()
2245 fs_info->bdi.ra_pages = max(fs_info->bdi.ra_pages, in open_ctree()
/fs/hugetlbfs/
Dinode.c65 .ra_pages = 0, /* No readahead */
/fs/nfs/
Dclient.c956 server->backing_dev_info.ra_pages = server->rpages * NFS_MAX_READAHEAD; in nfs_server_set_fsinfo()
/fs/cifs/
Dconnect.c3748 cifs_sb->bdi.ra_pages = cifs_sb->rsize / PAGE_CACHE_SIZE; in cifs_mount()