函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\file_table.c Create Date:2022-07-29 10:31:55
Last Modify:2020-03-18 10:20:10 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:void __fput_sync(struct file *file)

返回类型:void

参数:

类型参数名称
struct file *file
370  如果atomic_long_dec_and_test( & f_count)则
371  task等于当前进程
372  BUG_ON(!(flags & I am a kernel thread ))
373  he real guts of fput() - releasing the last reference to file
调用者
名称描述
close_work