Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:le_check_and_advance_wb_err - report wb error (if any) that was previously* and advance wb_err to current one*@file: struct file on which the error is being reported* When userland calls fsync (or something like nfsd does the equivalent), we* want to

Proto:int file_check_and_advance_wb_err(struct file *file)

Type:int

Parameter:

TypeParameterName
struct file *file
734  err = 0
735  old = READ_ONCE(f_wb_err)
736  mapping = f_mapping
739  If seq_check() - Has an error occurred since a particular sample point?*@eseq: Pointer to errseq_t value to be checked.*@since: Previously-sampled errseq_t from which to check.* Grab the value that eseq points to, and see if it has changed @since Then
741  spin_lock( & * Protects f_ep_links, f_flags. * Must not be taken from IRQ context.)
742  old = f_wb_err
743  err = seq_check_and_advance() - Check an errseq_t and advance to current value
745  trace_file_check_and_advance_wb_err(file, old)
746  spin_unlock( & * Protects f_ep_links, f_flags. * Must not be taken from IRQ context.)
754  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
755  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
756  Return err
Caller
NameDescribe
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
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)