Searched refs:sysfs_path (Results 1 – 7 of 7) sorted by relevance
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)
81 const char *sysfs_path; in main() local97 sysfs_path = argv[optind]; in main()98 if (!sysfs_path) { in main()109 hid_id = get_hid_id(sysfs_path); in main()
120 const char *sysfs_path; in main() local157 sysfs_path = argv[optind]; in main()158 if (!sysfs_path) { in main()169 hid_id = get_hid_id(sysfs_path); in main()
79 d.sysfs_path = '%s/%s' % (vmbus_sys_path, f)110 d.device_id, d.sysfs_path, d.chn_vp_mapping
172 sysfs_path = os.path.join(parent_sysfs, pathdir)174 sysfs_path = parent_sysfs177 return find_controller_in_sysfs(device, sysfs_path)179 return [sysfs_path]
219 sysfs_path = Path("/sys/bus/hid/drivers")221 sysfs_path /= kernel_driver225 sysfs_path = Path("/sys/module") / kernel_module.replace("-", "_")226 if not sysfs_path.exists():
125 struct sysfs_path { struct128 struct sysfs_path *next; argument134 struct sysfs_path *sp;4493 char *find_sysfs_path_by_id(struct sysfs_path *sp, int id) in find_sysfs_path_by_id()9721 struct sysfs_path *sp; in add_counter()9723 sp = calloc(1, sizeof(struct sysfs_path)); in add_counter()