Function report |
Source Code:fs\locks.c |
Create Date:2022-07-28 20:25:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:do_lock_file_wait
Proto:static int do_lock_file_wait(struct file *filp, unsigned int cmd, struct file_lock *fl)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
unsigned int | cmd | |
struct file_lock * | fl |
2408 | error = security_file_lock(filp, fl_type) |
2412 | cycle |
2413 | error = vfs_lock_file - file byte range lock*@filp: The file to apply the lock to*@cmd: type of locking operation (F_SETLK, F_GETLK, etc |
2414 | If error != Special return value from posix_lock_file() and vfs_lock_file() for* asynchronous locking. Then Break |
2417 | If error Then Break |
2422 | Return error |
Name | Describe |
---|---|
fcntl_setlk | Apply the lock described by l to an open file descriptor.* This implements both the F_SETLK and F_SETLKW commands of fcntl(). |
fcntl_setlk64 | Apply the lock described by l to an open file descriptor.* This implements both the F_SETLK and F_SETLKW commands of fcntl(). |
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 |