Home
last modified time | relevance | path

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

/linux/fs/bcachefs/
H A Dfs-io-pagecache.h19 static inline u64 folio_end_pos(struct folio *folio) in folio_end_pos() function
36 return folio_end_pos(folio) >> 9; in folio_end_sector()
84 BUG_ON(pos < folio_pos(folio) || pos >= folio_end_pos(folio)); in folio_pos_to_s()
H A Dfs-io-buffered.c501 if (folio_end_pos(folio) <= i_size) in __bch2_writepage()
676 len = min_t(size_t, len, folio_end_pos(folio) - pos); in bch2_write_begin()
824 end = min(end, folio_end_pos(f)); in __bch2_buffered_write()
826 if (end != folio_end_pos(f) && !folio_test_uptodate(f)) { in __bch2_buffered_write()
846 f_len = min(end, folio_end_pos(f)) - f_pos; in __bch2_buffered_write()
857 end = min(end, folio_end_pos(darray_last(fs))); in __bch2_buffered_write()
872 f_pos = folio_end_pos(f); in __bch2_buffered_write()
884 f_len = min(end, folio_end_pos(f)) - f_pos; in __bch2_buffered_write()
908 f_pos = folio_end_pos(f); in __bch2_buffered_write()
926 f_len = min(end, folio_end_pos(f)) - f_pos; in __bch2_buffered_write()
[all …]
H A Dfs-io.c265 BUG_ON(start >= folio_end_pos(folio)); in __bch2_truncate_folio()
269 end_offset = min_t(u64, end, folio_end_pos(folio)) - folio_pos(folio); in __bch2_truncate_folio()
316 end_pos = folio_end_pos(folio); in __bch2_truncate_folio()
H A Dfs-io-pagecache.c37 pos = folio_end_pos(f); in bch2_filemap_get_contig_folios_d()
770 *offset = folio_end_pos(folio); in folio_hole_offset()