函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cgroup_path_from_kernfs_id

函数原型:void cgroup_path_from_kernfs_id(u64 id, char *buf, size_t buflen)

返回类型:void

参数:

类型参数名称
u64id
char *buf
size_tbuflen
5769  kn等于kernfs_find_and_get_node_by_id(kf_root, id)
5770  如果非kn则返回
5772  kernfs_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)"
5773  kernfs_put(kn)