函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_files_struct

函数原型:struct files_struct *get_files_struct(struct task_struct *task)

返回类型:struct files_struct

参数:

类型参数名称
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  如果filesatomic_inc( & ad mostly part)
408  task_unlock(task)
410  返回:files
调用者
名称描述
bpf_task_fd_query
kcmp_epoll_target