Home
last modified time | relevance | path

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

/linux-4.19.296/fs/exofs/
Dsuper.c509 unsigned ra_pages = layout->group_width * layout->stripe_unit / in __ra_pages() local
513 ra_pages *= 2; /* two stripes */ in __ra_pages()
514 if (ra_pages < _MIN_RA) in __ra_pages()
515 ra_pages = roundup(_MIN_RA, ra_pages / 2); in __ra_pages()
517 if (ra_pages > max_io_pages) in __ra_pages()
518 ra_pages = max_io_pages; in __ra_pages()
520 return ra_pages; in __ra_pages()
817 sb->s_bdi->ra_pages = __ra_pages(&sbi->layout); in exofs_fill_super()
/linux-4.19.296/fs/fuse/
Dinode.c884 unsigned long ra_pages; in process_init_reply() local
889 ra_pages = arg->max_readahead / PAGE_SIZE; in process_init_reply()
937 ra_pages = fc->max_read / PAGE_SIZE; in process_init_reply()
942 fc->sb->s_bdi->ra_pages = in process_init_reply()
943 min(fc->sb->s_bdi->ra_pages, ra_pages); in process_init_reply()
959 arg->max_readahead = fc->sb->s_bdi->ra_pages * PAGE_SIZE; in fuse_send_init()
1008 sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024) / PAGE_SIZE; in fuse_bdi_init()
/linux-4.19.296/include/linux/
Dbacking-dev-defs.h169 unsigned long ra_pages; /* max readahead in PAGE_SIZE units */ member
Dfs.h878 unsigned int ra_pages; /* Maximum readahead window */ member
/linux-4.19.296/block/
Dcompat_ioctl.c372 (bdev->bd_bdi->ra_pages * PAGE_SIZE) / 512); in compat_blkdev_ioctl()
390 bdev->bd_bdi->ra_pages = (arg * 512) / PAGE_SIZE; in compat_blkdev_ioctl()
Dioctl.c541 return put_long(arg, (bdev->bd_bdi->ra_pages*PAGE_SIZE) / 512); in blkdev_ioctl()
568 bdev->bd_bdi->ra_pages = (arg * 512) / PAGE_SIZE; in blkdev_ioctl()
Dblk-sysfs.c94 unsigned long ra_kb = q->backing_dev_info->ra_pages << in queue_ra_show()
109 q->backing_dev_info->ra_pages = ra_kb >> (PAGE_SHIFT - 10); in queue_ra_store()
Dblk-core.c1037 q->backing_dev_info->ra_pages = in blk_alloc_queue_node()
/linux-4.19.296/fs/9p/
Dvfs_super.c95 sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024)/PAGE_SIZE; in v9fs_fill_super()
/linux-4.19.296/fs/afs/
Dsuper.c404 sb->s_bdi->ra_pages = VM_MAX_READAHEAD * 1024 / PAGE_SIZE; in afs_fill_super()
/linux-4.19.296/fs/btrfs/
Ddisk-io.c2947 sb->s_bdi->ra_pages = VM_MAX_READAHEAD * SZ_1K / PAGE_SIZE; in open_ctree()
2948 sb->s_bdi->ra_pages *= btrfs_super_num_devices(disk_super); in open_ctree()
2949 sb->s_bdi->ra_pages = max(sb->s_bdi->ra_pages, SZ_4M / PAGE_SIZE); in open_ctree()
/linux-4.19.296/fs/ceph/
Dsuper.c1054 sb->s_bdi->ra_pages = fsc->mount_options->rasize >> PAGE_SHIFT; in ceph_setup_bdi()
/linux-4.19.296/fs/cifs/
Dcifsfs.c160 sb->s_bdi->ra_pages = cifs_sb->rsize / PAGE_SIZE; in cifs_read_super()
/linux-4.19.296/fs/nfs/
Dsuper.c2632 s->s_bdi->ra_pages = server->rpages * NFS_MAX_READAHEAD; in nfs_fs_mount_common()