Home
last modified time | relevance | path

Searched refs:c_relpath (Results 1 – 2 of 2) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcpuinfo.c133 char c_relpath[PATH_MAX]; in present_cpumask() local
143 while_each_childdir(SYS_CPU_DIR, "/", c_relpath, in present_cpumask()
144 sizeof(c_relpath)) { in present_cpumask()
145 if (!strncmp(c_relpath + 1, "cpu", 3) in present_cpumask()
146 && sscanf(c_relpath + 4, "%d", &cpu) > 0) { in present_cpumask()
319 char c_relpath[PATH_MAX]; in find_domain_cpusets() local
348 while_each_childdir(cpuset_mountpoint(), relpath, c_relpath, in find_domain_cpusets()
349 sizeof(c_relpath)) { in find_domain_cpusets()
350 if ((ret = find_domain_cpusets(c_relpath))) in find_domain_cpusets()
Dcommon.h40 #define while_each_childdir(basepath, p_relpath, c_relpath, c_pathlen) \ argument
74 snprintf(c_relpath, c_pathlen, "%s", \