Function report |
Source Code:fs\file_table.c |
Create Date:2022-07-28 20:01:52 |
| Last Modify:2020-03-18 10:20:10 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:he real guts of fput() - releasing the last reference to file
Proto:static void __fput(struct file *file)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct file * | file |
| 258 | inode = cached value |
| 261 | If Value for the false possibility is greater at compile time(!(f_mode & FMODE_OPENED)) Then Go to out |
| 264 | might_sleep() |
| 272 | locks_remove_file(file) |
| 274 | ima_file_free(file) |
| 287 | If (mode & (le is open for reading | le is open for writing )) == le is open for reading Then i_readcount_dec(inode) |
| 289 | If mode & Write access to underlying fs Then |
| 294 | If Value for the false possibility is greater at compile time(mode & File represents mount that needs unmounting ) Then dissolve_on_fput(mnt) |
| 297 | out : |
| Name | Describe |
|---|---|
| delayed_fput | |
| ____fput | |
| __fput_sync | synchronous analog of fput(); for kernel threads that might be needed* in some umount() (and thus can't use flush_delayed_fput() without* risking deadlocks), need to wait for completion of __fput() and know* for this specific struct file it won't involve |
| 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 |