Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ocfs2/
Docfs2.h815 unsigned long pg_index) in ocfs2_page_index_to_clusters() argument
817 u32 clusters = pg_index; in ocfs2_page_index_to_clusters()
821 clusters = pg_index << (PAGE_SHIFT - cbits); in ocfs2_page_index_to_clusters()
823 clusters = pg_index >> (cbits - PAGE_SHIFT); in ocfs2_page_index_to_clusters()
/linux-6.1.9/fs/btrfs/
Dcompression.c549 u64 pg_index = cur >> PAGE_SHIFT; in add_ra_bio_pages() local
552 if (pg_index > end_index) in add_ra_bio_pages()
555 page = xa_load(&mapping->i_pages, pg_index); in add_ra_bio_pages()
568 cur = (pg_index << PAGE_SHIFT) + PAGE_SIZE; in add_ra_bio_pages()
577 if (add_to_page_cache_lru(page, mapping, pg_index, GFP_NOFS)) { in add_ra_bio_pages()
580 cur = (pg_index << PAGE_SHIFT) + PAGE_SIZE; in add_ra_bio_pages()
596 page_end = (pg_index << PAGE_SHIFT) + PAGE_SIZE - 1; in add_ra_bio_pages()
/linux-6.1.9/fs/nfs/blocklayout/
Dblocklayout.c242 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_read_pagelist() local
260 for (i = pg_index; i < header->page_array.npages; i++) { in bl_read_pagelist()
386 int pg_index = header->args.pgbase >> PAGE_SHIFT; in bl_write_pagelist() local
408 for (i = pg_index; i < header->page_array.npages; i++) { in bl_write_pagelist()