/linux/Documentation/ABI/testing/ |
H A D | sysfs-kernel-mm-swap | 9 Description: Enable/disable VMA based swap readahead. 11 If set to true, the VMA based swap readahead algorithm 13 VMA, and the global swap readahead algorithm will be 15 false, the global swap readahead algorithm will be
|
H A D | sysfs-fs-ext4 | 56 inode table blocks that ext4's inode table readahead
|
/linux/mm/ |
H A D | readahead.c | 159 if (aops->readahead) { in read_pages() 160 aops->readahead(rac); in read_pages() 340 if (unlikely(!mapping->a_ops->read_folio && !mapping->a_ops->readahead)) in force_page_cache_ra() 698 SYSCALL_DEFINE3(readahead, int, fd, loff_t, offset, size_t, count) in SYSCALL_DEFINE3() argument 704 COMPAT_SYSCALL_DEFINE4(readahead, int, fd, compat_arg_u64_dual(offset), size_t, count) in COMPAT_SYSCALL_DEFINE4() argument
|
H A D | swap_state.c | 61 /* Initial readahead hits is 4 to start up with a small window */ 359 bool readahead; in swap_cache_get_folio() local 363 * so let's bail out rather than confusing the readahead stat. in swap_cache_get_folio() 368 readahead = folio_test_clear_readahead(folio); in swap_cache_get_folio() 376 if (readahead) in swap_cache_get_folio() 382 if (readahead) { in swap_cache_get_folio() 593 * We can have no readahead hits to judge by: but must not get in __swapin_nr_pages() 609 /* Don't shrink readahead too fast */ in __swapin_nr_pages() 647 * Primitive swap readahead code. We simply read an aligned block of 650 * the 'original' request together with the readahead one [all...] |
H A D | Makefile | 53 readahead.o swap.o truncate.o vmscan.o shrinker.o \
|
/linux/Documentation/core-api/ |
H A D | mm-api.rst | 67 .. kernel-doc:: mm/readahead.c 70 .. kernel-doc:: mm/readahead.c
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | mm-api.rst | 78 mm/readahead.c
|
/linux/fs/9p/ |
H A D | vfs_addr.c | 157 .readahead = netfs_readahead,
|
/linux/fs/gfs2/ |
H A D | aops.c | 711 .readahead = gfs2_readahead, 724 .readahead = gfs2_readahead,
|
/linux/fs/nilfs2/ |
H A D | mdt.c | 171 int readahead, struct buffer_head **out_bh) in nilfs_mdt_read_block() argument 185 if (readahead) { in nilfs_mdt_read_block()
|
/linux/tools/perf/arch/powerpc/entry/syscalls/ |
H A D | syscall.tbl | 249 191 32 readahead sys_ppc_readahead compat_sys_ppc_readahead 250 191 64 readahead sys_readahead 251 191 spu readahead sys_readahead
|
/linux/Documentation/filesystems/ |
H A D | netfs_library.rst | 99 ->readahead() and much of the ->write_begin() VM operations and translate them 111 * Allow the netfs to expand a readahead request in both directions to meet its 151 For ->readahead() and ->read_folio(), the network filesystem just point directly 322 readahead read request. The filesystem gets to expand the request in both 388 * For readahead, allow the local cache and then the network filesystem to
|
H A D | locking.rst | 251 void (*readahead)(struct readahead_control *); 282 readahead: yes, unlocks shared 305 ->readahead() unlocks the folios that I/O is attempted on like ->read_folio(). 595 readahead paths), the fallocate implementation must take the invalidate_lock to
|
/linux/fs/erofs/ |
H A D | fileio.c | 194 .readahead = erofs_fileio_readahead,
|
/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 44 bool readahead) in xfs_inode_buf_verify() argument 66 if (readahead) { in xfs_inode_buf_verify()
|
/linux/arch/sparc/kernel/ |
H A D | sys_sparc32.c | 202 COMPAT_SYSCALL_DEFINE4(readahead, int, fd, u32, offhi, u32, offlo, in COMPAT_SYSCALL_DEFINE4() argument
|
/linux/fs/hpfs/ |
H A D | file.c | 245 .readahead = hpfs_readahead,
|
/linux/block/ |
H A D | fops.c | 473 .readahead = blkdev_readahead, 522 .readahead = blkdev_readahead,
|
/linux/include/linux/ |
H A D | page-flags.h | 562 FOLIO_FLAG(readahead, FOLIO_HEAD_PAGE) in PAGEFLAG() 563 FOLIO_TEST_CLEAR_FLAG(readahead, FOLIO_HEAD_PAGE) in PAGEFLAG()
|
/linux/fs/ext4/ |
H A D | Kconfig | 52 table readahead, the best performance gains require enabling ext4
|
/linux/fs/jfs/ |
H A D | inode.c | 352 .readahead = jfs_readahead,
|
/linux/fs/omfs/ |
H A D | file.c | 372 .readahead = omfs_readahead,
|
/linux/drivers/gpu/drm/arm/ |
H A D | malidp_planes.c | 457 u8 readahead, u8 n_planes, u32 pgsize) in malidp_calc_mmu_control_value() argument 466 mmu_ctrl |= MALIDP_MMU_CTRL_PP_NUM_REQ(readahead); in malidp_calc_mmu_control_value()
|
/linux/Documentation/admin-guide/laptops/ |
H A D | laptop-mode.rst | 138 Disk readahead, in 512-byte sectors, while laptop mode is active. A large 139 readahead can prevent disk accesses for things like executable pages (which are 193 * You can spin down the disk while playing MP3, by setting disk readahead 239 # by setting the disk readahead to 8MB (READAHEAD=16384). Effectively, the disk
|
/linux/fs/xfs/ |
H A D | xfs_aops.c | 543 .readahead = xfs_vm_readahead,
|