函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:find_pid_ns

函数原型:struct pid *find_pid_ns(int nr, struct pid_namespace *ns)

返回类型:struct pid

参数:

类型参数名称
intnr
struct pid_namespace *ns
305  返回:dr_find() - Return pointer for given ID
调用者
名称描述
find_vpid
find_task_by_pid_nsMust be called under rcu_read_lock().
locks_translate_pidlocks_translate_pid - translate a file_lock's fl_pid number into a namespace*@fl: The file_lock who's fl_pid should be translated*@ns: The namespace into which the pid should be translated* Used to tranlate a fl_pid into a namespace virtual pid number