/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 | 26 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then 32 online_cpus=`cat $SYSFS/devices/system/cpu/online` 40 present_cpus=`cat $SYSFS/devices/system/cpu/present` 46 offline_cpus=`cat $SYSFS/devices/system/cpu/offline` 62 for cpu in $SYSFS/devices/system/cpu/cpu*; do 81 grep -q 1 $SYSFS/devices/system/cpu/cpu$1/online 86 grep -q 0 $SYSFS/devices/system/cpu/cpu$1/online 91 echo 1 > $SYSFS/devices/system/cpu/cpu$1/online 96 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/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 | 456 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/new_port 461 echo 1 > ${NETDEVSIM_PATH}/devices/${DEV}/del_port 485 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 70 /sys/devices/cpu_atom/type 71 /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 | 14 sysfsdir=${1-/sys/devices/system/node}
|
/tools/bpf/bpftool/ |
D | net.c | 35 struct ip_devname_ifindex *devices; member 361 netinfo->devices = realloc(netinfo->devices, in dump_link_nlmsg() 364 if (!netinfo->devices) in dump_link_nlmsg() 369 netinfo->devices[netinfo->used_len].ifindex = ifinfo->ifi_index; in dump_link_nlmsg() 370 snprintf(netinfo->devices[netinfo->used_len].devname, in dump_link_nlmsg() 371 sizeof(netinfo->devices[netinfo->used_len].devname), in dump_link_nlmsg() 674 dev_array.devices = NULL; in do_show() 690 &dev_array.devices[i]); in do_show() 712 free(dev_array.devices); in do_show()
|
/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/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/testing/selftests/vm/ |
D | test_hmm.sh | 45 major=$(awk "\$2==\"HMM_DMIRROR\" {print \$1}" /proc/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/cpufreq/ |
D | main.sh | 56 CPUROOT=$SYSFS/devices/system/cpu
|