函数逻辑报告 |
Source Code:fs\namespace.c |
Create Date:2022-07-29 10:39:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__mnt_want_write - get write access to a mount without freeze protection*@m: the mount on which to take a write* This tells the low-level filesystem that a write is about to be performed to* it, and makes sure that writes are allowed (mnt it read-write)
函数原型:int __mnt_want_write(struct vfsmount *m)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct vfsmount * | m |
313 | mnt等于real_mount(m) |
314 | ret等于0 |
316 | 禁止抢占() |
317 | mnt_inc_writers(mnt) |
323 | smp_mb() |
324 | 当READ_ONCE(mnt_flags)按位与MNT_WRITE_HOLD循环 |
325 | cpu_relax() |
331 | smp_rmb() |
332 | 如果mnt_is_readonly(m)则 |
333 | mnt_dec_writers(mnt) |
336 | 禁用抢占和中断() |
338 | 返回:ret |
名称 | 描述 |
---|---|
touch_atime | |
mnt_want_write | mnt_want_write - get write access to a mount*@m: the mount on which to take a write* This tells the low-level filesystem that a write is about to be performed to* it, and makes sure that writes are allowed (mount is read-write, filesystem |
__mnt_want_write_file | __mnt_want_write_file - get write access to a file's mount*@file: the file who's mount on which to take a write* This is like __mnt_want_write, but it takes a file and can* do some optimisations if the file is open for write already |
acct_on |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |