Lines Matching refs:sysfs
71 struct sysfs_devattr_values *sysfs; member
729 if (!device.sysfs) { in find_device_by_sysfs()
730 device.sysfs = malloc(sizeof(*device.sysfs)); in find_device_by_sysfs()
731 sysfs_devattr_values_init(device.sysfs, 0); in find_device_by_sysfs()
786 if (device.sysfs->value[SYSFS_DEVATTR_IFINDEX].ulong) { in find_device_by_sysfs()
787 if (device.sysfs->value[SYSFS_DEVATTR_FLAGS].ulong & IFF_RUNNING) in find_device_by_sysfs()
797 sysfs_devattr_values_init(device.sysfs, 1); in find_device_by_sysfs()
798 memcpy(device.sysfs, &sysfs_devattr_values, sizeof(*device.sysfs)); in find_device_by_sysfs()
810 device.ifindex = device.sysfs->value[SYSFS_DEVATTR_IFINDEX].ulong; in find_device_by_sysfs()
811 device.name = device.sysfs->ifname; in find_device_by_sysfs()
967 v = device->sysfs; in set_device_broadcast_sysfs()