Function report |
Source Code:fs\locks.c |
Create Date:2022-07-28 20:25:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:vfs_test_lock - test file byte range lock*@filp: The file to test lock for*@fl: The lock to test; also used to hold result* Returns -ERRNO on failure. Indicates presence of conflicting lock by* setting conf->fl_type to something other than F_UNLCK.
Proto:int vfs_test_lock(struct file *filp, struct file_lock *fl)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct file * | filp | |
struct file_lock * | fl |
2248 | posix_test_lock(filp, fl) |
2249 | Return 0 |
Name | Describe |
---|---|
fcntl_getlk | Report the first existing lock that would conflict with l.* This implements the F_GETLK command of fcntl(). |
fcntl_getlk64 | Report the first existing lock that would conflict with l.* This implements the F_GETLK command 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 |