函数逻辑报告 |
Source Code:fs\super.c |
Create Date:2022-07-29 10:32:25 |
| Last Modify:2022-05-24 06:42:17 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:This is an internal function, please use sb_start_{write,pagefault,intwrite}* instead.
函数原型:int __sb_start_write(struct super_block *sb, int level, bool wait)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct super_block * | sb | |
| int | level | |
| bool | wait |
| 1650 | bool force_trylock = false |
| 1651 | ret等于1 |
| 1673 | 如果wait且非force_trylock则percpu_down_read(rw_sem + level - 1) |
| 1675 | 否则ret等于percpu_down_read_trylock(rw_sem + level - 1) |
| 1678 | WARN_ON(force_trylock && !ret) |
| 1679 | 返回:ret |
| 名称 | 描述 |
|---|---|
| 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 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |