Function report |
Source Code:include\linux\fs.h |
Create Date:2022-07-28 05:42:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:locks_lock_file_wait
Proto:static inline int locks_lock_file_wait(struct file *filp, struct file_lock *fl)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
struct file_lock * | fl |
1328 | Return locks_lock_inode_wait(locks_inode(filp), fl) |
Name | Describe |
---|---|
SYSCALL_DEFINE2 | sys_flock: - flock() system call.*@fd: the file descriptor to lock.*@cmd: the type of lock to apply.* Apply a %FL_FLOCK style lock to an open file descriptor.* The @cmd can be one of:* - %LOCK_SH -- a shared lock.* - %LOCK_EX -- an exclusive lock. |
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 |