Lines Matching refs:sysfs
147 FS(sysfs, sysfs, SYSFS);
402 const char *sysfs = sysfs__mountpoint(); in sysfs__read_ull_base() local
404 if (!sysfs) in sysfs__read_ull_base()
407 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_ull_base()
425 const char *sysfs = sysfs__mountpoint(); in sysfs__read_int() local
427 if (!sysfs) in sysfs__read_int()
430 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_int()
438 const char *sysfs = sysfs__mountpoint(); in sysfs__read_str() local
440 if (!sysfs) in sysfs__read_str()
443 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_str()
454 const char *sysfs = sysfs__mountpoint(); in sysfs__read_bool() local
456 if (!sysfs) in sysfs__read_bool()
459 snprintf(path, sizeof(path), "%s/%s", sysfs, entry); in sysfs__read_bool()
499 const char *sysfs = sysfs__mountpoint(); in sysfs__write_int() local
501 if (!sysfs) in sysfs__write_int()
504 if (snprintf(path, sizeof(path), "%s/%s", sysfs, entry) >= PATH_MAX) in sysfs__write_int()