Function report |
Source Code:fs\super.c |
Create Date:2022-07-28 20:02:30 |
| Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:This is an internal function, please use sb_start_{write,pagefault,intwrite}* instead.
Proto:int __sb_start_write(struct super_block *sb, int level, bool wait)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb | |
| int | level | |
| bool | wait |
| 1650 | bool force_trylock = false |
| 1651 | ret = 1 |
| 1673 | If wait && Not force_trylock Then percpu_down_read(rw_sem + level - 1) |
| 1675 | Else ret = percpu_down_read_trylock(rw_sem + level - 1) |
| 1678 | WARN_ON(force_trylock && !ret) |
| 1679 | Return ret |
| Name | Describe |
|---|---|
| aio_write | |
| io_write | |
| sb_start_write | sb_start_write - get write access to a superblock*@sb: the super we write to* When a process wants to write data or metadata to a file system (i.e. dirty* a page or an inode), it should embed the operation in a sb_start_write() - |
| sb_start_write_trylock | |
| sb_start_pagefault | sb_start_pagefault - get write access to a superblock from a page fault*@sb: the super we write to* When a process starts handling write page fault, it should embed the* operation into sb_start_pagefault() - sb_end_pagefault() pair to get |
| sb_start_intwrite | sb_start_intwrite - get write access to a superblock for internal fs purposes*@sb: the super we write to* This is the third level of protection against filesystem freezing. It is* free for use by a filesystem. The only requirement is that it must rank |
| sb_start_intwrite_trylock | |
| file_start_write | |
| file_start_write_trylock |
| 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 |