Searched refs:sysfs_path (Results 1 – 6 of 6) sorted by relevance
| /tools/testing/selftests/ublk/ |
| A D | test_generic_03.sh | 14 sysfs_path=/sys/block/ublkb"${dev_id}" 15 dma_align=$(cat "$sysfs_path"/queue/dma_alignment) 16 max_segments=$(cat "$sysfs_path"/queue/max_segments) 17 max_segment_size=$(cat "$sysfs_path"/queue/max_segment_size)
|
| /tools/hv/ |
| A D | lsvmbus | 79 d.sysfs_path = '%s/%s' % (vmbus_sys_path, f) 110 d.device_id, d.sysfs_path, d.chn_vp_mapping
|
| /tools/testing/selftests/devices/probe/ |
| A D | test_discoverable_devices.py | 172 sysfs_path = os.path.join(parent_sysfs, pathdir) 174 sysfs_path = parent_sysfs 177 return find_controller_in_sysfs(device, sysfs_path) 179 return [sysfs_path]
|
| /tools/testing/selftests/hid/tests/ |
| A D | base.py | 232 sysfs_path = Path("/sys/bus/hid/drivers") 234 sysfs_path /= kernel_driver 238 sysfs_path = Path("/sys/module") / kernel_module.replace("-", "_") 239 if not sysfs_path.exists():
|
| /tools/perf/arch/x86/util/ |
| A D | pmu.c | 41 static struct perf_cpu_map *read_sysfs_cpu_map(const char *sysfs_path) in read_sysfs_cpu_map() argument 47 if (sysfs__read_str(sysfs_path, &buf, &buf_len) < 0) in read_sysfs_cpu_map()
|
| /tools/power/x86/turbostat/ |
| A D | turbostat.c | 126 struct sysfs_path { struct 129 struct sysfs_path *next; argument 135 struct sysfs_path *sp; 4789 char *find_sysfs_path_by_id(struct sysfs_path *sp, int id) in find_sysfs_path_by_id() 10253 struct sysfs_path *sp; in add_counter() 10255 sp = calloc(1, sizeof(struct sysfs_path)); in add_counter()
|
Completed in 835 milliseconds