Function report |
Source Code:fs\locks.c |
Create Date:2022-07-28 20:25:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:The i_flctx must be valid when calling into here
Proto:static void locks_remove_lease(struct file *filp, struct file_lock_context *ctx)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | filp | |
| struct file_lock_context * | ctx |
| 2728 | If list_empty - tests whether a list is empty*@head: the list to test. Then Return |
| 2731 | percpu_down_read( & file_rwsem) |
| 2734 | If filp == fl_file Then We already had a lease on this file; just change its type |
| 2736 | spin_unlock( & flc_lock) |
| 2737 | percpu_up_read( & file_rwsem) |
| 2739 | locks_dispose_list( & dispose) |
| Name | Describe |
|---|---|
| locks_remove_file | This function is called on the last close of an open file. |
| 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 |