Function report |
Source Code:fs\fcntl.c |
Create Date:2022-07-28 20:05:53 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:SYSCALL_DEFINE3
Proto:SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd, unsigned long, arg)
Type:
Parameter:Nothing
| 484 | If Not check_fcntl_cmd(cmd) Then Go to out1 |
| 488 | err = security_file_fcntl(file, cmd, arg) |
| 493 | Case cmd == using 'struct flock64' |
| 494 | Case cmd == F_OFD_GETLK |
| 496 | If copy_from_user( & flock, argp, size of flock ) Then Break |
| 498 | err = fcntl_getlk64(file, cmd, & flock) |
| 501 | Break |
| 503 | Case cmd == F_SETLKW64 |
| 504 | Case cmd == F_OFD_SETLK |
| 505 | Case cmd == F_OFD_SETLKW |
| 507 | If copy_from_user( & flock, argp, size of flock ) Then Break |
| 510 | Break |
| 511 | Default |
| 515 | out1 : |
| 517 | out : |
| 518 | Return err |
| 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 |