Home
last modified time | relevance | path

Searched refs:same_folio (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/mm/ !
Dtruncate.c340 bool same_folio; in truncate_inode_pages_range() local
377 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in truncate_inode_pages_range()
380 same_folio = lend < folio_pos(folio) + folio_size(folio); in truncate_inode_pages_range()
383 if (same_folio) in truncate_inode_pages_range()
391 if (!same_folio) in truncate_inode_pages_range()
Dshmem.c910 bool same_folio; in shmem_undo_range() local
958 same_folio = (lstart >> PAGE_SHIFT) == (lend >> PAGE_SHIFT); in shmem_undo_range()
961 same_folio = lend < folio_pos(folio) + folio_size(folio); in shmem_undo_range()
965 if (same_folio) in shmem_undo_range()
973 if (!same_folio) in shmem_undo_range()