/linux-3.4.99/mm/ |
D | fadvise.c | 80 file->f_ra.ra_pages = bdi->ra_pages; in SYSCALL_DEFINE() 91 file->f_ra.ra_pages = bdi->ra_pages * 2; in SYSCALL_DEFINE()
|
D | readahead.c | 28 ra->ra_pages = mapping->backing_dev_info->ra_pages; in file_ra_state_init() 401 unsigned long max = max_sane_readahead(ra->ra_pages); in ondemand_readahead() 508 if (!ra->ra_pages) in page_cache_sync_readahead() 544 if (!ra->ra_pages) in page_cache_async_readahead()
|
D | filemap.c | 1066 ra->ra_pages /= 4; in shrink_readahead_size_eio() 1563 unsigned long ra_pages; in do_sync_mmap_readahead() local 1569 if (!ra->ra_pages) in do_sync_mmap_readahead() 1574 ra->ra_pages); in do_sync_mmap_readahead() 1592 ra_pages = max_sane_readahead(ra->ra_pages); in do_sync_mmap_readahead() 1593 ra->start = max_t(long, 0, offset - ra_pages / 2); in do_sync_mmap_readahead() 1594 ra->size = ra_pages; in do_sync_mmap_readahead() 1595 ra->async_size = ra_pages / 4; in do_sync_mmap_readahead() 1618 page, offset, ra->ra_pages); in do_async_mmap_readahead()
|
D | backing-dev.c | 19 .ra_pages = VM_MAX_READAHEAD * 1024 / PAGE_CACHE_SIZE, 173 bdi->ra_pages = read_ahead_kb >> (PAGE_SHIFT - 10); in read_ahead_kb_store() 190 BDI_SHOW(read_ahead_kb, K(bdi->ra_pages))
|
/linux-3.4.99/fs/exofs/ |
D | super.c | 513 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()
|
/linux-3.4.99/fs/fuse/ |
D | inode.c | 818 unsigned long ra_pages; in process_init_reply() local 823 ra_pages = arg->max_readahead / PAGE_CACHE_SIZE; in process_init_reply() 847 ra_pages = fc->max_read / PAGE_CACHE_SIZE; in process_init_reply() 852 fc->bdi.ra_pages = min(fc->bdi.ra_pages, ra_pages); in process_init_reply() 868 arg->max_readahead = fc->bdi.ra_pages * PAGE_CACHE_SIZE; in fuse_send_init() 897 fc->bdi.ra_pages = (VM_MAX_READAHEAD * 1024) / PAGE_CACHE_SIZE; in fuse_bdi_init()
|
/linux-3.4.99/block/ |
D | ioctl.c | 280 return put_long(arg, (bdi->ra_pages * PAGE_CACHE_SIZE) / 512); in blkdev_ioctl() 308 bdi->ra_pages = (arg * 512) / PAGE_CACHE_SIZE; in blkdev_ioctl()
|
D | blk-sysfs.c | 86 unsigned long ra_kb = q->backing_dev_info.ra_pages << in queue_ra_show() 98 q->backing_dev_info.ra_pages = ra_kb >> (PAGE_CACHE_SHIFT - 10); in queue_ra_store()
|
D | compat_ioctl.c | 712 (bdi->ra_pages * PAGE_CACHE_SIZE) / 512); in compat_blkdev_ioctl() 732 bdi->ra_pages = (arg * 512) / PAGE_CACHE_SIZE; in compat_blkdev_ioctl()
|
D | blk-core.c | 490 q->backing_dev_info.ra_pages = in blk_alloc_queue_node()
|
/linux-3.4.99/fs/ceph/ |
D | super.c | 827 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()
|
/linux-3.4.99/fs/ramfs/ |
D | inode.c | 48 .ra_pages = 0, /* No readahead */
|
/linux-3.4.99/include/linux/ |
D | backing-dev.h | 67 unsigned long ra_pages; /* max readahead in PAGE_CACHE_SIZE units */ member
|
D | fs.h | 961 unsigned int ra_pages; /* Maximum readahead window */ member
|
/linux-3.4.99/fs/configfs/ |
D | inode.c | 55 .ra_pages = 0, /* No readahead */
|
/linux-3.4.99/fs/9p/ |
D | vfs_super.c | 90 sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024)/PAGE_CACHE_SIZE; in v9fs_fill_super()
|
/linux-3.4.99/drivers/md/ |
D | raid0.c | 454 if (mddev->queue->backing_dev_info.ra_pages < 2* stripe) in raid0_run() 455 mddev->queue->backing_dev_info.ra_pages = 2* stripe; in raid0_run()
|
D | raid5.c | 5190 if (mddev->queue->backing_dev_info.ra_pages < 2 * stripe) in run() 5191 mddev->queue->backing_dev_info.ra_pages = 2 * stripe; in run() 5645 if (conf->mddev->queue->backing_dev_info.ra_pages < 2 * stripe) in end_reshape() 5646 conf->mddev->queue->backing_dev_info.ra_pages = 2 * stripe; in end_reshape()
|
D | raid10.c | 3430 if (mddev->queue->backing_dev_info.ra_pages < 2* stripe) in run() 3431 mddev->queue->backing_dev_info.ra_pages = 2* stripe; in run()
|
/linux-3.4.99/fs/sysfs/ |
D | inode.c | 37 .ra_pages = 0, /* No readahead */
|
/linux-3.4.99/drivers/block/drbd/ |
D | drbd_nl.c | 820 if (q->backing_dev_info.ra_pages != b->backing_dev_info.ra_pages) { in drbd_setup_queue_param() 822 q->backing_dev_info.ra_pages, in drbd_setup_queue_param() 823 b->backing_dev_info.ra_pages); in drbd_setup_queue_param() 824 q->backing_dev_info.ra_pages = b->backing_dev_info.ra_pages; in drbd_setup_queue_param()
|
/linux-3.4.99/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 396 .ra_pages = 0, /* No readahead */
|
/linux-3.4.99/fs/btrfs/ |
D | disk-io.c | 1502 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()
|
/linux-3.4.99/fs/hugetlbfs/ |
D | inode.c | 65 .ra_pages = 0, /* No readahead */
|
/linux-3.4.99/fs/nfs/ |
D | client.c | 956 server->backing_dev_info.ra_pages = server->rpages * NFS_MAX_READAHEAD; in nfs_server_set_fsinfo()
|