Lines Matching defs:sysfs
146 FS(sysfs, sysfs, SYSFS);
217 * testing). This matches the recommendation in Documentation/admin-guide/sysfs-rules.rst
430 const char *sysfs = sysfs__mountpoint();
432 if (!sysfs)
435 snprintf(path, sizeof(path), "%s/%s", sysfs, entry);
453 const char *sysfs = sysfs__mountpoint();
455 if (!sysfs)
458 snprintf(path, sizeof(path), "%s/%s", sysfs, entry);
466 const char *sysfs = sysfs__mountpoint();
468 if (!sysfs)
471 snprintf(path, sizeof(path), "%s/%s", sysfs, entry);
521 const char *sysfs = sysfs__mountpoint();
523 if (!sysfs)
526 if (snprintf(path, sizeof(path), "%s/%s", sysfs, entry) >= PATH_MAX)