Function report |
Source Code:fs\locks.c |
Create Date:2022-07-28 20:25:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Verify a "struct flock" and copy it to a "struct file_lock" as a POSIX* style lock.
Proto:static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, struct flock *l)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
struct file_lock * | fl | |
struct flock * | l |
578 | Return flock64_to_posix_lock(filp, fl, & ll) |
Name | Describe |
---|---|
fcntl_getlk | Report the first existing lock that would conflict with l.* This implements the F_GETLK command of fcntl(). |
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(). |
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 |