Home
last modified time | relevance | path

Searched refs:file_map (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/tools/hv/
Dvmbus_testing71 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
[all …]
/Linux-v6.6/scripts/
Drecordmcount.c61 static void *file_map; /* pointer of the mapped file */ variable
81 munmap(file_map, sb.st_size); in mmap_cleanup()
83 free(file_map); in mmap_cleanup()
84 file_map = NULL; in mmap_cleanup()
93 file_ptr = file_map + offset; in ulseek()
99 file_ptr = file_map + (sb.st_size - offset); in ulseek()
102 if (file_ptr < file_map) { in ulseek()
106 return file_ptr - file_map; in ulseek()
181 file_map = NULL; in mmap_file()
199 file_map = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, in mmap_file()
[all …]