Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\nsfs.c Create Date:2022-07-28 20:12:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:proc_ns_fget

Proto:struct file *proc_ns_fget(int fd)

Type:struct file

Parameter:

TypeParameterName
intfd
237  file = fget(fd)
238  If Not file Then Return ERR_PTR( - EBADF)
241  If f_op != ns_file_operations Then Go to out_invalid
244  Return file
246  out_invalid :
247  fput(file)
248  Return ERR_PTR( - EINVAL)