Searched refs:SYSFS_PATH_MAX (Results 1 – 11 of 11) sorted by relevance
/linux-4.1.27/tools/power/cpupower/lib/ |
D | sysfs.c | 21 #define SYSFS_PATH_MAX 255 macro 53 char path[SYSFS_PATH_MAX]; in sysfs_cpufreq_read_file() 66 char path[SYSFS_PATH_MAX]; in sysfs_cpufreq_write_file() 331 char one_value[SYSFS_PATH_MAX]; in sysfs_get_available_frequencies() 346 if (i - pos >= SYSFS_PATH_MAX) in sysfs_get_available_frequencies() 387 char one_value[SYSFS_PATH_MAX]; in sysfs_get_cpu_list() 401 if (i - pos >= SYSFS_PATH_MAX) in sysfs_get_cpu_list() 452 char one_value[SYSFS_PATH_MAX]; in sysfs_get_freq_stats() 468 if ((i - pos) >= SYSFS_PATH_MAX) in sysfs_get_freq_stats() 549 char new_gov[SYSFS_PATH_MAX]; in sysfs_modify_freq_policy_governor() [all …]
|
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 50 char path[SYSFS_PATH_MAX]; in sysfs_is_cpu_online() 108 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_file_exists() 128 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_read_file() 163 char path[SYSFS_PATH_MAX]; in sysfs_idlestate_write_file() 303 char value[SYSFS_PATH_MAX]; in sysfs_idlestate_disable() 313 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in sysfs_idlestate_disable() 357 char file[SYSFS_PATH_MAX]; in sysfs_get_idlestate_count() 362 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in sysfs_get_idlestate_count() 366 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in sysfs_get_idlestate_count() 371 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in sysfs_get_idlestate_count() [all …]
|
D | sysfs.h | 6 #define SYSFS_PATH_MAX 255 macro
|
D | topology.c | 27 char path[SYSFS_PATH_MAX]; in sysfs_topology_read_file()
|
/linux-4.1.27/tools/usb/usbip/src/ |
D | usbip_unbind.c | 48 char unbind_attr_path[SYSFS_PATH_MAX]; in unbind_device() 50 char rebind_attr_path[SYSFS_PATH_MAX]; in unbind_device()
|
D | usbip_bind.c | 53 char bind_attr_path[SYSFS_PATH_MAX]; in bind_usbip() 76 char unbind_attr_path[SYSFS_PATH_MAX]; in unbind_other()
|
D | utils.c | 31 char match_busid_attr_path[SYSFS_PATH_MAX]; in modify_match_busid()
|
/linux-4.1.27/tools/usb/usbip/libsrc/ |
D | usbip_host_driver.c | 41 char status_attr_path[SYSFS_PATH_MAX]; in read_attr_usbip_status() 47 snprintf(status_attr_path, SYSFS_PATH_MAX, "%s/usbip_status", in read_attr_usbip_status() 227 char sockfd_attr_path[SYSFS_PATH_MAX]; in usbip_host_export_device()
|
D | usbip_common.h | 39 #define SYSFS_PATH_MAX 256 macro 98 char path[SYSFS_PATH_MAX];
|
D | vhci_driver.c | 304 char attach_attr_path[SYSFS_PATH_MAX]; in usbip_vhci_attach_device2() 345 char detach_attr_path[SYSFS_PATH_MAX]; in usbip_vhci_detach_device()
|
D | usbip_common.c | 205 strncpy(udev->path, path, SYSFS_PATH_MAX); in read_usb_device()
|