Searched refs:ra_pages (Results 1 – 14 of 14) sorted by relevance
509 unsigned ra_pages = layout->group_width * layout->stripe_unit / in __ra_pages() local513 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()
884 unsigned long ra_pages; in process_init_reply() local889 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()
169 unsigned long ra_pages; /* max readahead in PAGE_SIZE units */ member
878 unsigned int ra_pages; /* Maximum readahead window */ member
372 (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()
541 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()
94 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()
1037 q->backing_dev_info->ra_pages = in blk_alloc_queue_node()
95 sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024)/PAGE_SIZE; in v9fs_fill_super()
404 sb->s_bdi->ra_pages = VM_MAX_READAHEAD * 1024 / PAGE_SIZE; in afs_fill_super()
2947 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()
1054 sb->s_bdi->ra_pages = fsc->mount_options->rasize >> PAGE_SHIFT; in ceph_setup_bdi()
160 sb->s_bdi->ra_pages = cifs_sb->rsize / PAGE_SIZE; in cifs_read_super()
2632 s->s_bdi->ra_pages = server->rpages * NFS_MAX_READAHEAD; in nfs_fs_mount_common()