函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cgroup_path

函数原型:static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen)

返回类型:int

参数:

类型参数名称
struct cgroup *cgrp
char *buf
size_tbuflen
658  返回: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)"
调用者
名称描述
blkg_pathlkg_path - format cgroup path of blkg*@blkg: blkg of interest*@buf: target buffer*@buflen: target buffer length* Format the path of the cgroup of @blkg into @buf.