Searched refs:current_file (Results 1 – 5 of 5) sorted by relevance
32 static file_state_t current_file = { 0 }; variable60 sector_add = current_file.file_pos >> EMMC_SECTOR_SIZE_SHIFT; in emmcdrv_block_read()65 current_file.partition, current_file.file_pos, in emmcdrv_block_read()88 if (current_file.in_use != 0U) { in emmcdrv_block_open()93 current_file.file_pos = 0; in emmcdrv_block_open()94 current_file.in_use = 1; in emmcdrv_block_open()100 current_file.partition = emmcdrv_bootpartition; in emmcdrv_block_open()112 current_file.partition = block_spec->partition; in emmcdrv_block_open()114 current_file.partition = emmcdrv_bootpartition; in emmcdrv_block_open()122 entity->info = (uintptr_t) ¤t_file; in emmcdrv_block_open()[all …]
35 static file_state_t current_file = { 0 }; variable52 if (current_file.in_use != 0U) { in memdrv_block_open()57 current_file.base = block_spec->offset; in memdrv_block_open()58 current_file.file_pos = 0; in memdrv_block_open()59 current_file.in_use = 1; in memdrv_block_open()61 entity->info = (uintptr_t) ¤t_file; in memdrv_block_open()105 memset((void *)¤t_file, 0, sizeof(current_file)); in memdrv_block_close()
507 current_file.offset = 1; in rcar_file_open()508 current_file.dst = 0; in rcar_file_open()509 current_file.size = 1; in rcar_file_open()510 current_file.position = 0; in rcar_file_open()512 current_file.partition = 0; in rcar_file_open()528 current_file.no_load = noload; in rcar_file_open()529 current_file.offset = offset; in rcar_file_open()530 current_file.position = 0; in rcar_file_open()531 current_file.size = len; in rcar_file_open()532 current_file.dst = dst; in rcar_file_open()[all …]
34 static file_state_t current_file = {0}; variable114 if (current_file.in_use == 0) { in memmap_block_open()118 current_file.in_use = 1; in memmap_block_open()119 current_file.base = block_spec->offset; in memmap_block_open()121 current_file.file_pos = 0; in memmap_block_open()122 current_file.size = block_spec->length; in memmap_block_open()123 entity->info = (uintptr_t)¤t_file; in memmap_block_open()233 zeromem((void *)¤t_file, sizeof(current_file)); in memmap_block_close()
20 static struct file_state current_file = {0}; variable88 if (current_file.in_use == 0) { in dummy_block_open()92 current_file.in_use = 1; in dummy_block_open()93 current_file.size = block_spec->length; in dummy_block_open()94 entity->info = (uintptr_t)¤t_file; in dummy_block_open()135 current_file.in_use = 0; in dummy_block_close()
Completed in 8 milliseconds