Home
last modified time | relevance | path

Searched refs:folio_offset (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dfs-io-pagecache.c213 unsigned folio_offset = max(bkey_start_offset(k.k), folio_start) - in bch2_folio_set()
216 folio_offset - folio_start; in bch2_folio_set()
222 __bch2_folio_set(folio, folio_offset, folio_len, nr_ptrs, state); in bch2_folio_set()
269 unsigned folio_offset = max(start, folio_start) - folio_start; in bch2_mark_pagecache_unallocated() local
270 unsigned folio_len = min(end, folio_end) - folio_offset - folio_start; in bch2_mark_pagecache_unallocated()
280 for (j = folio_offset; j < folio_offset + folio_len; j++) in bch2_mark_pagecache_unallocated()
330 unsigned folio_offset = max(*start, folio_start) - folio_start; in bch2_mark_pagecache_reserved() local
331 unsigned folio_len = min(end, folio_end) - folio_offset - folio_start; in bch2_mark_pagecache_reserved()
334 for (unsigned j = folio_offset; j < folio_offset + folio_len; j++) { in bch2_mark_pagecache_reserved()
Dfs-io-buffered.c108 pgoff_t folio_offset = bio_end_sector(bio) >> PAGE_SECTORS_SHIFT; in readpage_bio_extend() local
113 folio = xa_load(&iter->mapping->i_pages, folio_offset); in readpage_bio_extend()
126 ret = filemap_add_folio(iter->mapping, folio, folio_offset, GFP_KERNEL); in readpage_bio_extend()
/linux-6.12.1/fs/btrfs/
Dbio.h114 unsigned int folio_offset, int mirror_num);
Dbio.c789 unsigned int folio_offset, int mirror_num) in btrfs_repair_io_failure() argument
820 ret = bio_add_folio(&bio, folio, length, folio_offset); in btrfs_repair_io_failure()
Dextent_io.c3844 size_t *folio_offset) in eb_bitmap_offset() argument
3857 *folio_offset = offset_in_eb_folio(eb, offset); in eb_bitmap_offset()
/linux-6.12.1/block/
Dbio.c1313 size_t offset, folio_offset, left, len; in __bio_iov_iter_get_pages() local
1357 folio_offset = ((size_t)folio_page_idx(folio, page) << in __bio_iov_iter_get_pages()
1360 len = min(folio_size(folio) - folio_offset, left); in __bio_iov_iter_get_pages()
1370 folio_offset); in __bio_iov_iter_get_pages()
1374 bio_iov_add_folio(bio, folio, len, folio_offset); in __bio_iov_iter_get_pages()