Function report |
Source Code:fs\buffer.c |
Create Date:2022-07-28 20:14:11 |
| Last Modify:2020-03-18 10:38:29 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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).
Proto:static void attach_nobh_buffers(struct page *page, struct buffer_head *head)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct page * | page | |
| struct buffer_head * | head |
| 2554 | BUG_ON(!PageLocked(page)) |
| 2556 | spin_lock( & private_lock) |
| 2558 | Do |
| 2559 | If PageDirty(page) Then set_buffer_dirty(bh) |
| 2561 | If Not circular list of page's buffers Then circular list of page's buffers = head |
| 2565 | line definitions |
| 2566 | spin_unlock( & private_lock) |
| Name | Describe |
|---|---|
| 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. |
| nobh_write_end |
| 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 |