函数逻辑报告 |
Source Code:fs\fcntl.c |
Create Date:2022-07-29 10:35:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_fcntl
函数原型:static long do_fcntl(int fd, unsigned int cmd, unsigned long arg, struct file *filp)
返回类型:long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| int | fd | |
| unsigned int | cmd | |
| unsigned long | arg | |
| struct file * | filp |
| 337 | err等于如果get_close_on_exec(fd)则FD_CLOEXEC否则0 |
| 338 | 退出 |
| 354 | 如果copy_from_user( & flock, argp, flock的长度)则返回:负EFAULT |
| 356 | err等于fcntl_getlk(filp, cmd, & flock) |
| 359 | 退出 |
| 382 | 退出 |
| 386 | 当:cmd恒等于F_GETOWN_EX |
| 387 | err等于f_getown_ex(filp, arg) |
| 388 | 退出 |
| 389 | 当:cmd恒等于F_SETOWN_EX |
| 390 | err等于f_setown_ex(filp, arg) |
| 391 | 退出 |
| 392 | 当:cmd恒等于F_GETOWNER_UIDS |
| 393 | err等于f_getowner_uids(filp, arg) |
| 394 | 退出 |
| 397 | 退出 |
| 406 | 当:cmd恒等于F_GETLEASE |
| 409 | 当:cmd恒等于F_SETLEASE |
| 413 | err等于When a process calls fcntl to attach a dnotify watch to a directory it ends* up here. Allocate both a mark for fsnotify to add and a dnotify_struct to be* attached to the fsnotify_mark. |
| 414 | 退出 |
| 416 | 当:cmd恒等于F_GETPIPE_SZ |
| 419 | 当:cmd恒等于Set/Get seals |
| 420 | 当:cmd恒等于F_GET_SEALS |
| 423 | 当:cmd恒等于Set/Get write life time hints. {GET,SET}_RW_HINT operate on the* underlying inode, while {GET,SET}_FILE_RW_HINT operate only on* the specific file. |
| 424 | 当:cmd恒等于F_SET_RW_HINT |
| 425 | 当:cmd恒等于F_GET_FILE_RW_HINT |
| 426 | 当:cmd恒等于F_SET_FILE_RW_HINT |
| 429 | 默认 |
| 430 | 退出 |
| 432 | 返回:err |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |