Function report | 
Source Code:fs\locks.c | 
Create Date:2022-07-28 20:25:34 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Report the first existing lock that would conflict with l.* This implements the F_GETLK command of fcntl().
Proto:int fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | filp | |
| unsigned int | cmd | |
| struct flock64 * | flock | 
| 2545 | error = flock64_to_posix_lock(filp, fl, flock) | 
| 2549 | If cmd == F_OFD_GETLK Then | 
| 2554 | cmd = using 'struct flock64' | 
| 2564 | If fl_type != F_UNLCK Then posix_lock_to_flock64(flock, fl) | 
| 2567 | out : | 
| 2569 | Return error | 
| 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  |