Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\file.c Create Date:2022-07-28 20:08:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:exit_files

Proto:void exit_files(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
439  files = files
441  If files Then
442  Protects ->fs, ->files, ->mm, ->group_info, ->comm, keyring* subscriptions and synchronises with wait4(). Also used in procfs. Also* pins the final release of task.io_context. Also protects ->cpuset and* ->cgroup.subsys[]. And ->vfork_done.
443  files = NULL
444  task_unlock(tsk)
445  put_files_struct(files)
Caller
NameDescribe
do_exit