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: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
Proto:int vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | filp | |
| unsigned int | cmd | |
| struct file_lock * | fl | |
| struct file_lock * | conf |
| 2398 | Else Return Apply a POSIX-style lock to a file |
| Name | Describe |
|---|---|
| do_lock_file_wait | |
| locks_remove_posix | This function is called when the file is being removed* from the task's fd array. POSIX locks belonging to this task* are deleted at this time. |
| 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 |