Home
last modified time | relevance | path

Searched refs:pg_index (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/fs/btrfs/
Dcompression.c388 int pg_index = 0; in btrfs_submit_compressed_write() local
422 for (pg_index = 0; pg_index < cb->nr_pages; pg_index++) { in btrfs_submit_compressed_write()
425 page = compressed_pages[pg_index]; in btrfs_submit_compressed_write()
506 unsigned long pg_index; in add_ra_bio_pages() local
529 pg_index = last_offset >> PAGE_SHIFT; in add_ra_bio_pages()
531 if (pg_index > end_index) in add_ra_bio_pages()
534 page = xa_load(&mapping->i_pages, pg_index); in add_ra_bio_pages()
547 if (add_to_page_cache_lru(page, mapping, pg_index, GFP_NOFS)) { in add_ra_bio_pages()
627 unsigned long pg_index; in btrfs_submit_compressed_read() local
679 for (pg_index = 0; pg_index < nr_pages; pg_index++) { in btrfs_submit_compressed_read()
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Docfs2.h817 unsigned long pg_index) in ocfs2_page_index_to_clusters() argument
819 u32 clusters = pg_index; in ocfs2_page_index_to_clusters()
823 clusters = pg_index << (PAGE_SHIFT - cbits); in ocfs2_page_index_to_clusters()
825 clusters = pg_index >> (cbits - PAGE_SHIFT); in ocfs2_page_index_to_clusters()
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
Dblocklayout.c265 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_read_pagelist() local
283 for (i = pg_index; i < header->page_array.npages; i++) { in bl_read_pagelist()
409 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_write_pagelist() local
431 for (i = pg_index; i < header->page_array.npages; i++) { in bl_write_pagelist()