函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fdtable.h Create Date:2022-07-27 06:58:27
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:fcheck_files

函数原型:static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd)

返回类型:struct file

参数:

类型参数名称
struct files_struct *files
unsigned intfd
95  RCU_LOCKDEP_WARN(!rcu_read_lock_held() && !lockdep_is_held( & written part on a separate cache line in SMP), "suspicious rcu_dereference_check() usage")
98  返回:The caller must ensure that fd table isn't shared or hold rcu or file lock
调用者
名称描述
get_file_raw_ptrThe caller must have pinned the task
kcmp_epoll_target
bpf_task_fd_query
__fget
SYSCALL_DEFINE2