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:posix_lock_to_flock
Proto:static int posix_lock_to_flock(struct flock *flock, struct file_lock *fl)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct flock * | flock | |
struct file_lock * | fl |
2292 | If fl_start > OFFT_OFFSET_MAX Then Return -EOVERFLOW |
2294 | If fl_end != OFFSET_MAX && fl_end > OFFT_OFFSET_MAX Then Return -EOVERFLOW |
2298 | l_len = If fl_end == OFFSET_MAX Then 0 Else fl_end - fl_start + 1 |
2300 | l_whence = 0 |
2302 | Return 0 |
Name | Describe |
---|---|
fcntl_getlk | 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 |