Name

filemap_range_has_page — check if a page exists in range.

Synopsis

bool filemap_range_has_page (struct address_space * mapping,
 loff_t start_byte,
 loff_t end_byte);
 

Arguments

mapping

address space within which to check

start_byte

offset in bytes where the range starts

end_byte

offset in bytes where the range ends (inclusive)

Description

Find at least one page in the range supplied, usually used to check if direct writing in this range will trigger a writeback.