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:reset_files_struct

Proto:void reset_files_struct(struct files_struct *files)

Type:void

Parameter:

TypeParameterName
struct files_struct *files
427  tsk = current process
430  old = files
431  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.
432  files = files
433  task_unlock(tsk)
434  put_files_struct(old)