Lines Matching full:sysfs
25 add a file path to the sysfs graph stored at self.root
89 Walk through sysfs to get all devnodes that aren't ignored.
91 By default, uses /sys as sysfs mounting point. If another
98 if self.sysfs:
99 p = path.replace(self.sysfs, "/sys", count=1)
109 if not self.sysfs:
112 real = real.replace(self.sysfs, "/sys", count=1)
125 def __init__(self, abi, sysfs="/sys", hints=False): argument
128 sysfs that can currently be parsed.
130 Please notice that there are several entries on sysfs that aren't
140 if sysfs != "/sys":
141 self.sysfs = sysfs.rstrip("/")
143 self.sysfs = None
153 f"^{sysfs}/kernel/debug",
154 f"^{sysfs}/kernel/tracing",
155 f"^{sysfs}/fs/pstore",
156 f"^{sysfs}/fs/bpf",
157 f"^{sysfs}/fs/fuse",
160 f"^{sysfs}/module",
162 f"^{sysfs}/fs/cgroup", # this is big and has zero docs under ABI
163 f"^{sysfs}/firmware", # documented elsewhere: ACPI, DT bindings
172 print(f"Reading {sysfs} directory contents...", file=sys.stderr)
173 self._walk(sysfs)
176 """Check missing ABI symbols for a given sysfs file"""
217 """Recursive function to interact over the sysfs tree"""
253 """Seach ABI for sysfs symbols missing documentation"""