函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\file.c Create Date:2022-07-29 10:38:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:reset_files_struct

函数原型:void reset_files_struct(struct files_struct *files)

返回类型:void

参数:

类型参数名称
struct files_struct *files
427  tsk等于当前进程
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)