Home
last modified time | relevance | path

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

12

/linux-3.4.99/mm/
Dfadvise.c80 file->f_ra.ra_pages = bdi->ra_pages; in SYSCALL_DEFINE()
91 file->f_ra.ra_pages = bdi->ra_pages * 2; in SYSCALL_DEFINE()
Dreadahead.c28 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()
Dfilemap.c1066 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()
Dbacking-dev.c19 .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/
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()
/linux-3.4.99/fs/fuse/
Dinode.c818 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/
Dioctl.c280 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()
Dblk-sysfs.c86 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()
Dcompat_ioctl.c712 (bdi->ra_pages * PAGE_CACHE_SIZE) / 512); in compat_blkdev_ioctl()
732 bdi->ra_pages = (arg * 512) / PAGE_CACHE_SIZE; in compat_blkdev_ioctl()
Dblk-core.c490 q->backing_dev_info.ra_pages = in blk_alloc_queue_node()
/linux-3.4.99/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()
/linux-3.4.99/fs/ramfs/
Dinode.c48 .ra_pages = 0, /* No readahead */
/linux-3.4.99/include/linux/
Dbacking-dev.h67 unsigned long ra_pages; /* max readahead in PAGE_CACHE_SIZE units */ member
Dfs.h961 unsigned int ra_pages; /* Maximum readahead window */ member
/linux-3.4.99/fs/configfs/
Dinode.c55 .ra_pages = 0, /* No readahead */
/linux-3.4.99/fs/9p/
Dvfs_super.c90 sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024)/PAGE_CACHE_SIZE; in v9fs_fill_super()
/linux-3.4.99/drivers/md/
Draid0.c454 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()
Draid5.c5190 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()
Draid10.c3430 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/
Dinode.c37 .ra_pages = 0, /* No readahead */
/linux-3.4.99/drivers/block/drbd/
Ddrbd_nl.c820 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/
Ddlmfs.c396 .ra_pages = 0, /* No readahead */
/linux-3.4.99/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()
/linux-3.4.99/fs/hugetlbfs/
Dinode.c65 .ra_pages = 0, /* No readahead */
/linux-3.4.99/fs/nfs/
Dclient.c956 server->backing_dev_info.ra_pages = server->rpages * NFS_MAX_READAHEAD; in nfs_server_set_fsinfo()

12