函数逻辑报告 |
Source Code:include\linux\buffer_head.h |
Create Date:2022-07-27 13:23:39 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:lock_buffer
函数原型:static inline void lock_buffer(struct buffer_head *bh)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct buffer_head * | bh |
| 364 | might_sleep() |
| 365 | 如果非trylock_buffer(bh)则__lock_buffer(bh) |
| 名称 | 描述 |
|---|---|
| buffer_migrate_lock_buffers | Returns true if all buffers are successfully locked |
| __bread_slow | |
| discard_buffer | |
| __block_write_full_page | While block_write_full_page is writing back the dirty buffers under* the page lock, whoever dirtied the buffers may decide to clean them* again at any time |
| 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. |
| write_dirty_buffer | |
| __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. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |