Searched refs:current_file (Results 1 – 3 of 3) sorted by relevance
50 static file_state_t current_file = {0}; variable130 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)¤t_file; in memmap_block_open()222 memset((void *)¤t_file, 0, sizeof(current_file)); in memmap_block_close()
99 static file_state_t current_file = {0}; variable278 if (current_file.entry.offset_address != 0) { in fip_file_open()305 (uintptr_t)¤t_file.entry, in fip_file_open()306 sizeof(current_file.entry), in fip_file_open()309 if (compare_uuids(¤t_file.entry.uuid, in fip_file_open()318 } while (compare_uuids(¤t_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)¤t_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 …]
63 static file_state_t current_file = {0}; variable152 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)¤t_file; in block_open()262 memset((void *)¤t_file, 0, sizeof(current_file)); in block_close()