Function Report

Linux Kernel (v4.4)

Source File:fs\file.c Create Date:2016-01-14 14:34:00
Last Modify:2016-01-11 07:01:32 Copyright©Brick
home page Tree
Annotate the kernelChinese

Function Name:exit_files

Function:void exit_files(struct task_struct *tsk)

Return Type:void


Type Parameter NameRemarks
struct task_struct * tsk

Function description:

456  *Open file table structure = open file information
458  If Open file table structure then
459  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.
460  open file information = NULL
461  task_unlock(tsk)
462  put_files_struct(Open file table structure)
Function NameFunction description
copy_processCreate a new process