Home
last modified time | relevance | path

Searched refs:current_file (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/arm-trusted-firmware/drivers/io/
Dio_memmap.c50 static file_state_t current_file = {0}; variable
130 if (current_file.in_use == 0) { in memmap_block_open()
134 current_file.in_use = 1; in memmap_block_open()
135 current_file.base = block_spec->offset; in memmap_block_open()
137 current_file.file_pos = 0; in memmap_block_open()
138 entity->info = (uintptr_t)&current_file; in memmap_block_open()
222 memset((void *)&current_file, 0, sizeof(current_file)); in memmap_block_close()
Dio_fip.c99 static file_state_t current_file = {0}; variable
278 if (current_file.entry.offset_address != 0) { in fip_file_open()
305 (uintptr_t)&current_file.entry, in fip_file_open()
306 sizeof(current_file.entry), in fip_file_open()
309 if (compare_uuids(&current_file.entry.uuid, in fip_file_open()
318 } while (compare_uuids(&current_file.entry.uuid, &uuid_null) != 0); in fip_file_open()
325 current_file.file_pos = 0; in fip_file_open()
326 entity->info = (uintptr_t)&current_file; in fip_file_open()
329 current_file.entry.offset_address = 0; in fip_file_open()
415 if (current_file.entry.offset_address != 0) { in fip_file_close()
[all …]
Dio_block.c63 static file_state_t current_file = {0}; variable
152 if (current_file.in_use == 0) { in block_open()
156 current_file.in_use = 1; in block_open()
157 current_file.base = block_spec->offset; in block_open()
159 current_file.file_pos = 0; in block_open()
160 current_file.flags = info->flags; in block_open()
161 entity->info = (uintptr_t)&current_file; in block_open()
262 memset((void *)&current_file, 0, sizeof(current_file)); in block_close()