Searched refs:folio_end (Results 1 – 4 of 4) sorted by relevance
212 u64 folio_end = folio_end_sector(folio); in bch2_folio_set()215 unsigned folio_len = min(k.k->p.offset, folio_end) - in bch2_folio_set()219 BUG_ON(bkey_start_offset(k.k) > folio_end); in bch2_folio_set()224 if (k.k->p.offset < folio_end) in bch2_folio_set()268 u64 folio_end = folio_end_sector(folio); in bch2_mark_pagecache_unallocated() local270 unsigned folio_len = min(end, folio_end) - folio_offset - folio_start; in bch2_mark_pagecache_unallocated()322 u64 folio_end = folio_end_sector(folio); in bch2_mark_pagecache_reserved() local326 *start = min(end, folio_end); in bch2_mark_pagecache_reserved()331 unsigned folio_len = min(end, folio_end) - folio_offset - folio_start; in bch2_mark_pagecache_reserved()
97 unsigned long folio_start, folio_end; in __contpte_try_fold() local114 folio_end = folio_start + folio_nr_pages(folio) * PAGE_SIZE; in __contpte_try_fold()118 if (folio_start > cont_start || folio_end < cont_end) in __contpte_try_fold()
2899 u64 folio_end; in relocate_one_folio() local2952 folio_end = folio_start + PAGE_SIZE - 1; in relocate_one_folio()2959 while (cur <= folio_end) { in relocate_one_folio()2965 u64 clamped_end = min(folio_end, extent_end); in relocate_one_folio()
4442 unsigned long folio_end = folio_start + nr * PAGE_SIZE; in do_swap_page() local4448 if (unlikely(folio_end > pmd_addr_end(address, vma->vm_end))) in do_swap_page()