/tools/testing/selftests/powerpc/eeh/ |
D | eeh-basic.sh | 14 devices="" 17 for dev in `ls -1 /sys/bus/pci/devices/ | grep '\.0$'` ; do 31 devices="$devices $dev" 34 dev_count="$(echo $devices | wc -w)" 38 for dev in $devices ; do
|
D | eeh-functions.sh | 100 if ! test -e /sys/bus/pci/devices/$dev/ ; then 139 test -e /sys/bus/pci/devices/$1/driver; 152 devices="" 165 for dev in `ls -1 /sys/bus/pci/devices/` ; do 183 devices="$devices $dev" 186 if [ -z "$devices" ] ; then 190 echo $devices
|
D | eeh-vf-unaware.sh | 22 echo "$vf" > /sys/bus/pci/devices/$vf/driver/unbind
|
/tools/testing/selftests/cpu-hotplug/ |
D | cpu-on-off-test.sh | 27 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 33 online_cpus=`cat $SYSFS/devices/system/cpu/online` 41 present_cpus=`cat $SYSFS/devices/system/cpu/present` 47 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 63 for cpu in $SYSFS/devices/system/cpu/cpu*; do 82 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online 87 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online 92 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online 97 echo 0 > $SYSFS/devices/system/cpu/cpu$1/online
|
/tools/power/cpupower/bench/ |
D | cpufreq-bench_script.sh | 30 echo $up_threshold >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold 31 echo $sampling_rate >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate 32 up_threshold_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold) 33 sampling_rate_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate)
|
/tools/testing/selftests/net/forwarding/ |
D | tsn_lib.sh | 113 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then 122 cat /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_max_freq > \ 123 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq 125 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor 134 if ! [ -d /sys/bus/cpu/devices/cpu${cpu}/cpufreq ]; then 138 echo "${!freq}" > /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_min_freq 140 /sys/bus/cpu/devices/cpu${cpu}/cpufreq/scaling_governor
|
/tools/testing/selftests/memory-hotplug/ |
D | mem-on-off-test.sh | 25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then 30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then 43 for memory in $SYSFS/devices/system/memory/memory*; do 63 grep -q online $SYSFS/devices/system/memory/memory$1/state 68 grep -q offline $SYSFS/devices/system/memory/memory$1/state 73 echo online > $SYSFS/devices/system/memory/memory$1/state 78 echo offline > $SYSFS/devices/system/memory/memory$1/state
|
/tools/usb/usbip/ |
D | README | 75 - List driver assignments for USB devices. 110 - List exported USB devices on the <host>. 128 Physically attach your USB devices to this host. 134 In another terminal, let's look up what USB devices are physically 138 Local USB devices 178 Local USB devices 189 First, let's list available remote devices that are marked as 196 Exportable USB devices 200 : /sys/devices/pci0000:00/0000:00:1f.2/usb1/1-1 205 : /sys/devices/pci0000:00/0000:00:1f.2/usb1/1-2/1-2.2/1-2.2.1 [all …]
|
/tools/testing/selftests/zram/ |
D | README | 1 zram: Compressed RAM based block devices 5 The zram module creates RAM based block devices named /dev/zram<id> 11 Statistics for individual zram devices are exported through sysfs nodes at
|
/tools/testing/selftests/drivers/net/netdevsim/ |
D | ethtool-common.sh | 5 NSIM_DEV_SYS=/sys/bus/netdevsim/devices/netdevsim$NSIM_ID 55 ls /sys/bus/netdevsim/devices/netdevsim${NSIM_ID}/net/
|
D | devlink_in_netns.sh | 13 SYSFS_NET_DIR=/sys/bus/netdevsim/devices/$DEV_NAME/net/
|
D | devlink_trap.sh | 469 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/new_port 474 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/del_port 498 NETDEV=$(ls ${NETDEVSIM_PATH}/devices/${DEV}/net/)
|
/tools/usb/usbip/src/ |
D | usbip_list.c | 171 struct udev_list_entry *devices, *dev_list_entry; in list_devices() local 197 devices = udev_enumerate_get_list_entry(enumerate); in list_devices() 200 udev_list_entry_foreach(dev_list_entry, devices) { in list_devices() 254 struct udev_list_entry *devices, *dev_list_entry; in list_gadget_devices() local 275 devices = udev_enumerate_get_list_entry(enumerate); in list_gadget_devices() 277 udev_list_entry_foreach(dev_list_entry, devices) { in list_gadget_devices()
|
/tools/perf/Documentation/ |
D | perf-iostat.txt | 18 - Inbound Read - I/O devices below root port read from the host memory, in MB 20 - Inbound Write - I/O devices below root port write to the host memory, in MB 22 - Outbound Read - CPU reads from I/O devices below root port, in MB 24 - Outbound Write - CPU writes to I/O devices below root port, in MB
|
D | intel-hybrid.txt | 11 /sys/devices/cpu_core 12 /sys/devices/cpu_atom 16 cat /sys/devices/cpu_core/cpus 19 cat /sys/devices/cpu_atom/cpus 63 /sys/devices/cpu_atom/type 64 /sys/devices/cpu_core/type
|
/tools/testing/selftests/rcutorture/bin/ |
D | jitter.sh | 31 for i in /sys/devices/system/cpu/cpu[0-9]* 58 if cpus=`grep 1 /sys/devices/system/cpu/*/online 2>&1 |
|
D | kvm-assign-cpus.sh | 13 sysfsdir=${1-/sys/devices/system/node}
|
/tools/power/cpupower/ |
D | cpupower-completion.sh | 24 if [ -d /sys/devices/system/cpu/cpufreq/ ] ; then 28 if [ -d /sys/devices/system/cpu/cpufreq/ ] ; then
|
/tools/bpf/bpftool/ |
D | net.c | 37 struct ip_devname_ifindex *devices; member 368 netinfo->devices = realloc(netinfo->devices, in dump_link_nlmsg() 371 if (!netinfo->devices) in dump_link_nlmsg() 376 netinfo->devices[netinfo->used_len].ifindex = ifinfo->ifi_index; in dump_link_nlmsg() 377 snprintf(netinfo->devices[netinfo->used_len].devname, in dump_link_nlmsg() 378 sizeof(netinfo->devices[netinfo->used_len].devname), in dump_link_nlmsg() 864 dev_array.devices = NULL; in do_show() 879 show_dev_tc_bpf(&dev_array.devices[i]); in do_show() 881 &dev_array.devices[i]); in do_show() 907 free(dev_array.devices); in do_show()
|
/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func_cpumask.tc | 8 ls -d /sys/devices/system/cpu/cpu[0-9]* | wc -l
|
/tools/usb/usbip/libsrc/ |
D | usbip_host_common.c | 122 struct udev_list_entry *devices, *dev_list_entry; in refresh_exported_devices() local 130 devices = udev_enumerate_get_list_entry(enumerate); in refresh_exported_devices() 132 udev_list_entry_foreach(dev_list_entry, devices) { in refresh_exported_devices()
|
/tools/power/cpupower/utils/helpers/ |
D | pci.c | 47 for (device = (*pacc)->devices; device; device = device->next) { in pci_acc_init()
|
/tools/thermal/tmon/ |
D | README | 5 Increasingly, Linux is running on thermally constrained devices. The simple 12 devices, zones, sensors, and trip points. They can also change dynamically.
|
/tools/testing/selftests/gpio/ |
D | gpio-mockup-sysfs.sh | 12 PLATFORM_SYSFS=$SYSFS/devices/platform
|
/tools/testing/selftests/amd-pstate/ |
D | run.sh | 242 scaling_driver=$(cat /sys/devices/system/cpu/cpufreq/policy0/scaling_driver) 296 CPUROOT=$SYSFS/devices/system/cpu
|