Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fdtable.h Create Date:2022-07-28 05:59:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:fcheck_files

Proto:static inline struct file *fcheck_files(struct files_struct *files, unsigned int fd)

Type:struct file

Parameter:

TypeParameterName
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  Return The caller must ensure that fd table isn't shared or hold rcu or file lock
Caller
NameDescribe
get_file_raw_ptrThe caller must have pinned the task
kcmp_epoll_target
bpf_task_fd_query
__fget
SYSCALL_DEFINE2