Function report |
Source Code:include\linux\buffer_head.h |
Create Date:2022-07-28 12:16:03 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Emit the buffer bitops functions. Note that there are also functions* of the form "mark_buffer_foo()". These are higher-level functions which* do something in addition to setting a b_state bit.
Proto:static inline __attribute__((__always_inline__)) int buffer_uptodate(const struct buffer_head *bh)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct buffer_head * | bh |
120 | Return If __builtin_constant_p( Contains valid data ) Then constant_test_bit(( Contains valid data ), ( & buffer state bitmap (see above) )) Else variable_test_bit(( Contains valid data ), ( & buffer state bitmap (see above) )) |
Name | Describe |
---|---|
end_buffer_async_read | |
osync_buffers_list | sync is designed to support O_SYNC io |
fsync_buffers_list | |
mark_buffer_dirty | mark_buffer_dirty - mark a buffer_head as needing writeout*@bh: the buffer_head to mark dirty* mark_buffer_dirty() will set the dirty bit against the buffer, then set* its backing page dirty, then tag the page as dirty in the page cache* and then attach |
__bread_slow | |
__bread_gfp | __bread_gfp() - reads a specified block and returns the bh*@bdev: the block_device to read from*@block: number of block*@size: size (in bytes) to read*@gfp: page allocation flag* Reads a specified block, and returns buffer head that contains it |
iomap_to_bh | |
__block_write_begin_int | |
__block_commit_write | |
block_is_partially_uptodate | lock_is_partially_uptodate checks whether buffers within a page are* uptodate or not.* Returns true if all buffers which correspond to a file portion* we want to read are uptodate. |
block_read_full_page | Generic "read page" function for block devices that have the normal* get_block functionality |
nobh_write_begin | On entry, the page is fully not uptodate.* On exit the page is fully uptodate in the areas outside (from,to)* The filesystem needs to handle block truncation upon failure. |
block_truncate_page | |
ll_rw_block | ll_rw_block: low-level access to block devices (DEPRECATED)*@op: whether to %READ or %WRITE*@op_flags: req_flag_bits*@nr: number of &struct buffer_heads in the array*@bhs: array of pointers to &struct buffer_head* ll_rw_block() takes an array of pointers |
__sync_dirty_buffer | For a data-integrity writeout, we need to wait upon any in-progress I/O* and then start new I/O and then wait upon it. The caller must have a ref on* the buffer_head. |
bh_uptodate_or_lock | h_uptodate_or_lock - Test whether the buffer is uptodate*@bh: struct buffer_head* Return true if the buffer is up-to-date and false,* with the buffer locked, if not. |
bh_submit_read | h_submit_read - Submit a locked buffer for reading*@bh: struct buffer_head* Returns zero on success and -EIO on error. |
map_buffer_to_page | support function for mpage_readpages |
do_mpage_readpage | This is the worker routine which does all the work of mapping the disk* blocks and constructs largest possible bios, submits them for IO if the* blocks are not contiguous on the disk |
__mpage_writepage |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |