Home
last modified time | relevance | path

Searched refs:readahead (Results 1 – 25 of 68) sorted by relevance

123

/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-swap9 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 Dsysfs-fs-ext456 inode table blocks that ext4's inode table readahead
/linux/mm/
H A Dreadahead.c159 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 Dswap_state.c61 /* 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 DMakefile53 readahead.o swap.o truncate.o vmscan.o shrinker.o \
/linux/Documentation/core-api/
H A Dmm-api.rst67 .. kernel-doc:: mm/readahead.c
70 .. kernel-doc:: mm/readahead.c
/linux/Documentation/translations/zh_CN/core-api/
H A Dmm-api.rst78 mm/readahead.c
/linux/fs/9p/
H A Dvfs_addr.c157 .readahead = netfs_readahead,
/linux/fs/gfs2/
H A Daops.c711 .readahead = gfs2_readahead,
724 .readahead = gfs2_readahead,
/linux/fs/nilfs2/
H A Dmdt.c171 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 Dsyscall.tbl249 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 Dnetfs_library.rst99 ->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 Dlocking.rst251 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 Dfileio.c194 .readahead = erofs_fileio_readahead,
/linux/fs/xfs/libxfs/
H A Dxfs_inode_buf.c44 bool readahead) in xfs_inode_buf_verify() argument
66 if (readahead) { in xfs_inode_buf_verify()
/linux/arch/sparc/kernel/
H A Dsys_sparc32.c202 COMPAT_SYSCALL_DEFINE4(readahead, int, fd, u32, offhi, u32, offlo, in COMPAT_SYSCALL_DEFINE4() argument
/linux/fs/hpfs/
H A Dfile.c245 .readahead = hpfs_readahead,
/linux/block/
H A Dfops.c473 .readahead = blkdev_readahead,
522 .readahead = blkdev_readahead,
/linux/include/linux/
H A Dpage-flags.h562 FOLIO_FLAG(readahead, FOLIO_HEAD_PAGE) in PAGEFLAG()
563 FOLIO_TEST_CLEAR_FLAG(readahead, FOLIO_HEAD_PAGE) in PAGEFLAG()
/linux/fs/ext4/
H A DKconfig52 table readahead, the best performance gains require enabling ext4
/linux/fs/jfs/
H A Dinode.c352 .readahead = jfs_readahead,
/linux/fs/omfs/
H A Dfile.c372 .readahead = omfs_readahead,
/linux/drivers/gpu/drm/arm/
H A Dmalidp_planes.c457 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 Dlaptop-mode.rst138 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 Dxfs_aops.c543 .readahead = xfs_vm_readahead,

123