Searched defs:sysfs (Results 1 - 3 of 3) sorted by relevance

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dsysfs.c3 #include "sysfs.h"
13 static int sysfs_valid_mountpoint(const char *sysfs) argument
18 if (statfs(sysfs, &st_fs) < 0)
55 if (strcmp(type, "sysfs") == 0)
H A Dpmu.c7 #include "sysfs.h"
34 * Parse & process all the sysfs attributes located under
74 * /sys/bus/event_source/devices/<dev>/format as sysfs group attributes.
80 const char *sysfs; local
82 sysfs = sysfs_find_mountpoint();
83 if (!sysfs)
87 "%s" EVENT_SOURCE_DEVICE_PATH "%s/format", sysfs, name);
126 * Process all the sysfs attributes located under the directory
163 * /sys/bus/event_source/devices/<dev>/events as sysfs group attributes.
169 const char *sysfs; local
215 const char *sysfs; local
244 const char *sysfs; local
273 const char *sysfs; local
[all...]
/external/iputils/
H A Darping.c41 #include <sysfs/libsysfs.h>
71 struct sysfs_devattr_values *sysfs; member in struct:device
567 * by_sysfs(): requires libsysfs , and sysfs in kernel.
729 if (!device.sysfs) {
730 device.sysfs = malloc(sizeof(*device.sysfs));
731 sysfs_devattr_values_init(device.sysfs, 0);
786 if (device.sysfs->value[SYSFS_DEVATTR_IFINDEX].ulong) {
787 if (device.sysfs->value[SYSFS_DEVATTR_FLAGS].ulong & IFF_RUNNING)
797 sysfs_devattr_values_init(device.sysfs,
[all...]

Completed in 2600 milliseconds