Home
last modified time | relevance | path

Searched refs:sysfs_path (Results 1 – 6 of 6) sorted by relevance

/tools/testing/selftests/ublk/
A Dtest_generic_03.sh14 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 Dlsvmbus79 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 Dtest_discoverable_devices.py172 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 Dbase.py232 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 Dpmu.c41 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 Dturbostat.c126 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