Function report |
Source Code:include\linux\buffer_head.h |
Create Date:2022-07-28 12:16:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:set_buffer_dirty
Proto:static inline __attribute__((__always_inline__)) void set_buffer_dirty(struct buffer_head *bh)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct buffer_head * | bh |
| 121 | If Not If __builtin_constant_p( Is dirty ) Then constant_test_bit(( Is dirty ), ( & buffer state bitmap (see above) )) Else variable_test_bit(( Is dirty ), ( & buffer state bitmap (see above) )) Then Atomically set a bit in memory |
| Name | Describe |
|---|---|
| __set_page_dirty_buffers | Add a page to the dirty page list.* It is a sad fact of life that this function is called from several places* deeply under spinlocking. It may not sleep.* If the page has buffers, the uptodate buffers are set dirty, to preserve |
| create_empty_buffers | We attach and possibly dirty the buffers atomically wrt* __set_page_dirty_buffers() via private_lock. try_to_free_buffers* is already excluded via the page lock. |
| attach_nobh_buffers | Attach the singly-linked list of buffers created by nobh_write_begin, to* the page (converting it to circular linked list and taking care of page* dirty races). |
| 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 |