Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\filemap.c Create Date:2022-07-28 14:00:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__filemap_fdatawait_range

Proto:static void __filemap_fdatawait_range(struct address_space *mapping, loff_t start_byte, loff_t end_byte)

Type:void

Parameter:

TypeParameterName
struct address_space *mapping
loff_tstart_byte
loff_tend_byte
506  index = start_byte >> PAGE_SHIFT determines the page size
507  end = end_byte >> PAGE_SHIFT determines the page size
511  If end_byte < start_byte Then Return
514  pagevec_init( & pvec)
515  When index <= end cycle
518  nr_pages = pagevec_lookup_range_tag( & pvec, mapping, & index, end, PAGECACHE_TAG_WRITEBACK)
520  If Not nr_pages Then Break
523  When i < nr_pages cycle
524  page = pages[i]
529  pagevec_release( & pvec)
530  cond_resched()
Caller
NameDescribe
filemap_fdatawait_rangelemap_fdatawait_range - wait for writeback to complete*@mapping: address space structure to wait for*@start_byte: offset in bytes where the range starts*@end_byte: offset in bytes where the range ends (inclusive)* Walk the list of under-writeback pages of
filemap_fdatawait_range_keep_errorslemap_fdatawait_range_keep_errors - wait for writeback to complete*@mapping: address space structure to wait for*@start_byte: offset in bytes where the range starts*@end_byte: offset in bytes where the range ends (inclusive)* Walk the list of
file_fdatawait_rangele_fdatawait_range - wait for writeback to complete*@file: file pointing to address space structure to wait for*@start_byte: offset in bytes where the range starts*@end_byte: offset in bytes where the range ends (inclusive)* Walk the list of
filemap_fdatawait_keep_errorslemap_fdatawait_keep_errors - wait for writeback without clearing errors*@mapping: address space structure to wait for* Walk the list of under-writeback pages of the given address space* and wait for all of them. Unlike filemap_fdatawait(), this function
file_write_and_wait_rangele_write_and_wait_range - write out & wait on a file range*@file: file pointing to address_space with pages*@lstart: offset in bytes where the range starts*@lend: offset in bytes where the range ends (inclusive)