函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get the associated pid namespace for a file in procfs

函数原型:static inline struct pid_namespace *proc_pid_ns(const struct inode *inode)

返回类型:struct pid_namespace

参数:

类型参数名称
const struct inode *inode
149  返回:s_fs_info
调用者
名称描述
pidfd_show_fdinfopidfd_show_fdinfo - print information about a pidfd*@m: proc fdinfo file*@f: file referencing a pidfd* Pid:* This function will print the pid that a given pidfd refers to in the* pid namespace of the procfs instance