Lines Matching refs:file_map

71         file_map = recursive_file_lookup(debugfs_hyperv_path, dict())
81 validate_args_path(path, arg_set, file_map)
83 state_path = locate_state(path, file_map)
90 set_delay_all_devices(file_map, args.delay_time,
93 set_delay_values(path, file_map, args.delay_time,
96 disable_all_testing(file_map)
98 disable_testing_single_device(path, file_map)
100 get_all_devices_test_status(file_map)
102 get_device_test_values(path, file_map)
105 def locate_state(device, file_map): argument
106 return file_map[device][f_names.state_f.value]
122 def validate_args_path(path, arg_set, file_map): argument
132 elif (path not in file_map and any(item in arg_set
138 def get_device_test_values(path, file_map): argument
140 for name in file_map[path]:
141 file_location = file_map[path][name]
146 def recursive_file_lookup(path, file_map): argument
155 if (file_map.get(directory)):
156 file_map[directory].update({f_name:f_path})
158 file_map[directory] = {f_name:f_path}
160 recursive_file_lookup(f_path,file_map)
161 return file_map
164 def get_all_devices_test_status(file_map): argument
166 for device in file_map:
167 if (get_test_state(locate_state(device, file_map)) is 1):
224 def set_delay_values(device, file_map, delay_length, quiet): argument
227 interrupt = file_map[device][f_names.buff_f.value]
228 message = file_map[device][f_names.mess_f.value]
249 def set_delay_all_devices(file_map, delay, quiet): argument
251 for device in (file_map):
252 set_test_state(locate_state(device, file_map),
255 set_delay_values(device, file_map, delay, quiet)
258 def disable_testing_single_device(device, file_map): argument
260 for name in file_map[device]:
261 file_location = file_map[device][name]
266 def disable_all_testing(file_map): argument
268 for device in file_map:
269 disable_testing_single_device(device, file_map)