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

Proto:struct files_struct *get_files_struct(struct task_struct *task)

Type:struct files_struct

Parameter:

TypeParameterName
struct task_struct *task
404  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.
405  files = files
406  If files Then atomic_inc( & ad mostly part)
408  task_unlock(task)
410  Return files
Caller
NameDescribe
bpf_task_fd_query