| Function report | 
| Source Code: fs\locks.c | Create Date:2022-07-28 20:25:30 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Enquire what lease is currently active
Proto:int fcntl_getlease(struct file *filp)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct file * | filp | 
| 1738 | inode = locks_inode(filp) | 
| 1743 | ctx = smp_load_acquire( & i_flctx) | 
| 1745 | percpu_down_read( & file_rwsem) | 
| 1747 | time_out_leases(inode, & dispose) | 
| 1751 | type = target_leasetype(fl) | 
| 1752 | Break | 
| 1754 | spin_unlock( & flc_lock) | 
| 1755 | percpu_up_read( & file_rwsem) | 
| 1757 | locks_dispose_list( & dispose) | 
| 1759 | Return type | 
| 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 |