函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kernfs_path_from_node

函数原型:static inline int kernfs_path_from_node(struct kernfs_node *root_kn, struct kernfs_node *kn, char *buf, size_t buflen)

返回类型:int

参数:

类型参数名称
struct kernfs_node *root_kn
struct kernfs_node *kn
char *buf
size_tbuflen
422  返回:负ENOSYS
调用者
名称描述
cgroup_show_path
cgroup_path_ns_locked
kernfs_pathkernfs_path - build full path of a given node*@kn: kernfs_node of interest*@buf: buffer to copy @kn's name into*@buflen: size of @buf* If @kn is NULL result will be "(null)"