Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_path_from_kernfs_id

Proto:void cgroup_path_from_kernfs_id(u64 id, char *buf, size_t buflen)

Type:void

Parameter:

TypeParameterName
u64id
char *buf
size_tbuflen
5769  kn = kernfs_find_and_get_node_by_id(kf_root, id)
5770  If Not kn Then Return
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)