Searched refs:flash_file_path (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/flash/ |
D | flash_simulator_native.c | 39 int *flash_fd, const char *flash_file_path, in flash_mock_init_native() argument 53 *flash_fd = open(flash_file_path, O_RDWR | O_CREAT, (mode_t)0600); in flash_mock_init_native() 57 flash_file_path, strerror(errno)); in flash_mock_init_native() 65 flash_file_path, strerror(errno)); in flash_mock_init_native() 72 flash_file_path, strerror(errno)); in flash_mock_init_native() 81 flash_file_path, strerror(errno)); in flash_mock_init_native() 100 unsigned int size, const char *flash_file_path, in flash_mock_cleanup_native() argument 119 if ((flash_rm_at_exit == true) && (flash_file_path != NULL)) { in flash_mock_cleanup_native() 121 (void) remove(flash_file_path); in flash_mock_cleanup_native()
|
D | flash_simulator_native.h | 15 int *flash_fd, const char *flash_file_path, 19 unsigned int size, const char *flash_file_path,
|
D | flash_simulator.c | 146 static const char *flash_file_path; variable 401 if (flash_in_ram == false && flash_file_path == NULL) { in flash_mock_init() 402 flash_file_path = DEFAULT_FLASH_FILE_PATH; in flash_mock_init() 406 &flash_fd, flash_file_path, FLASH_SIMULATOR_ERASE_VALUE, in flash_mock_init() 450 FLASH_SIMULATOR_FLASH_SIZE, flash_file_path, in flash_native_cleanup() 460 .dest = (void *)&flash_file_path, in flash_native_options()
|