Searched refs:folio_start (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | fs-io-pagecache.c | 211 u64 folio_start = folio_sector(folio); in bch2_folio_set() 213 unsigned folio_offset = max(bkey_start_offset(k.k), folio_start) - in bch2_folio_set() 214 folio_start; in bch2_folio_set() 216 folio_offset - folio_start; in bch2_folio_set() 218 BUG_ON(k.k->p.offset < folio_start); in bch2_folio_set() 267 u64 folio_start = folio_sector(folio); in bch2_mark_pagecache_unallocated() local 269 unsigned folio_offset = max(start, folio_start) - folio_start; in bch2_mark_pagecache_unallocated() 270 unsigned folio_len = min(end, folio_end) - folio_offset - folio_start; in bch2_mark_pagecache_unallocated() 273 BUG_ON(end <= folio_start); in bch2_mark_pagecache_unallocated() 321 u64 folio_start = folio_sector(folio); in bch2_mark_pagecache_reserved() local [all …]
|
/linux-6.12.1/arch/arm64/mm/ |
D | contpte.c | 97 unsigned long folio_start, folio_end; in __contpte_try_fold() local 113 folio_start = addr - (page - &folio->page) * PAGE_SIZE; in __contpte_try_fold() 114 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()
|
/linux-6.12.1/fs/btrfs/ |
D | extent_io.c | 1348 const u64 folio_start = folio_pos(folio); in extent_writepage_io() local 1353 ASSERT(start >= folio_start && in extent_writepage_io() 1354 start + len <= folio_start + folio_size(folio)); in extent_writepage_io() 1365 set_bit((cur - folio_start) >> fs_info->sectorsize_bits, &range_bitmap); in extent_writepage_io() 1752 u64 folio_start = folio_pos(folio); in submit_eb_subpage() local 1781 start = folio_start + bit_start * fs_info->sectorsize; in submit_eb_subpage() 4061 u64 folio_start = folio_pos(folio); in get_next_extent_buffer() local 4062 u64 cur = folio_start; in get_next_extent_buffer() 4064 ASSERT(in_range(bytenr, folio_start, PAGE_SIZE)); in get_next_extent_buffer() 4067 while (cur < folio_start + PAGE_SIZE) { in get_next_extent_buffer() [all …]
|
D | relocation.c | 2898 u64 folio_start; in relocate_one_folio() local 2951 folio_start = folio_pos(folio); in relocate_one_folio() 2952 folio_end = folio_start + PAGE_SIZE - 1; in relocate_one_folio() 2958 cur = max(folio_start, cluster->boundary[*cluster_nr] - offset); in relocate_one_folio() 2964 u64 clamped_start = max(folio_start, extent_start); in relocate_one_folio() 3000 if (in_range(cluster->boundary[*cluster_nr] - offset, folio_start, PAGE_SIZE)) { in relocate_one_folio()
|
/linux-6.12.1/mm/ |
D | memory.c | 4419 unsigned long folio_start = ALIGN_DOWN(vmf->address, nr * PAGE_SIZE); in do_swap_page() local 4420 unsigned long idx = (vmf->address - folio_start) / PAGE_SIZE; in do_swap_page() 4429 address = folio_start; in do_swap_page() 4441 unsigned long folio_start = address - idx * PAGE_SIZE; in do_swap_page() local 4442 unsigned long folio_end = folio_start + nr * PAGE_SIZE; in do_swap_page() 4446 if (unlikely(folio_start < max(address & PMD_MASK, vma->vm_start))) in do_swap_page() 4458 address = folio_start; in do_swap_page()
|