Home
last modified time | relevance | path

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

/fs/btrfs/
Dcompression.c339 int pg_index = 0; in btrfs_submit_compressed_write() local
374 for (pg_index = 0; pg_index < cb->nr_pages; pg_index++) { in btrfs_submit_compressed_write()
375 page = compressed_pages[pg_index]; in btrfs_submit_compressed_write()
446 unsigned long pg_index; in add_ra_bio_pages() local
470 pg_index = last_offset >> PAGE_CACHE_SHIFT; in add_ra_bio_pages()
472 if (pg_index > end_index) in add_ra_bio_pages()
476 page = radix_tree_lookup(&mapping->page_tree, pg_index); in add_ra_bio_pages()
490 if (add_to_page_cache_lru(page, mapping, pg_index, in add_ra_bio_pages()
574 unsigned long pg_index; in btrfs_submit_compressed_read() local
630 for (pg_index = 0; pg_index < nr_pages; pg_index++) { in btrfs_submit_compressed_read()
[all …]
Dcompression.h38 unsigned long *pg_index,
/fs/ocfs2/
Docfs2.h781 unsigned long pg_index) in ocfs2_page_index_to_clusters() argument
783 u32 clusters = pg_index; in ocfs2_page_index_to_clusters()
787 clusters = pg_index << (PAGE_CACHE_SHIFT - cbits); in ocfs2_page_index_to_clusters()
789 clusters = pg_index >> (cbits - PAGE_CACHE_SHIFT); in ocfs2_page_index_to_clusters()
/fs/nfs/blocklayout/
Dblocklayout.c260 int pg_index = rdata->args.pgbase >> PAGE_CACHE_SHIFT; in bl_read_pagelist() local
274 for (i = pg_index; i < rdata->pages.npages; i++) { in bl_read_pagelist()
686 int i, ret, npg_zero, pg_index, last = 0; in bl_write_pagelist() local
800 pg_index = wdata->args.pgbase >> PAGE_CACHE_SHIFT; in bl_write_pagelist()
801 for (i = pg_index; i < wdata->pages.npages; i++) { in bl_write_pagelist()