Lines Matching refs:array_get
104 static inline void* array_get(array_t* array,unsigned int index) { in array_get() function
127 return array_get(array, next); in array_get_next()
428 entry=array_get(&(s->directory),s->directory.next-1-(i/26)); in create_long_filename()
438 return array_get(&(s->directory),s->directory.next-number_of_entries); in create_long_filename()
602 for (entry1 = array_get(&(s->directory), directory_start); in create_short_filename()
646 uint32_t* entry=array_get(&(s->fat),cluster); in fat_set()
649 uint16_t* entry=array_get(&(s->fat),cluster); in fat_set()
653 unsigned char* p = array_get(&(s->fat), offset); in fat_set()
670 uint32_t* entry=array_get(&(s->fat),cluster); in fat_get()
673 uint16_t* entry=array_get(&(s->fat),cluster); in fat_get()
732 entry_long=array_get(&(s->directory),long_index); in create_short_and_long_name()
747 mapping_t* mapping = array_get(&(s->mapping), mapping_index); in read_directory()
753 (parent_index >= 0 ? array_get(&(s->mapping), parent_index) : NULL); in read_directory()
805 direntry = array_get(&(s->directory), is_dot ? i : i + 1); in read_directory()
870 memset(array_get(&(s->directory), cur), 0, in read_directory()
875 mapping = array_get(&(s->mapping), mapping_index); in read_directory()
880 direntry = array_get(&(s->directory), mapping->dir_index); in read_directory()
958 mapping = array_get(&(s->mapping), i); in init_directories()
967 mapping = array_get(&(s->mapping), i); in init_directories()
973 direntry_t* direntry = array_get(&(s->directory), in init_directories()
1005 mapping = array_get(&(s->mapping), 0); in init_directories()
1325 mapping=array_get(&(s->mapping),index3); in find_mapping_for_cluster_aux()
1338 DLOG(mapping=array_get(&(s->mapping),index1); in find_mapping_for_cluster_aux()
1341 ((mapping = array_get(&(s->mapping),index2)) && in find_mapping_for_cluster_aux()
1352 mapping=array_get(&(s->mapping),index); in find_mapping_for_cluster()
1607 commit_t* commit = array_get(&(s->commits), i); in clear_commits()
2180 mapping_t* mapping = array_get(&(s->mapping), i); in is_consistent()
2220 mapping_t* mapping = array_get(&(s->mapping), i); in adjust_mapping_indices()
2245 mapping_t* first_mapping = array_get(&(s->mapping), 0); in insert_mapping()
2247 if (index < s->mapping.next && (mapping = array_get(&(s->mapping), index)) in insert_mapping()
2251 mapping = array_get(&(s->mapping), index); in insert_mapping()
2264 ((next_mapping = array_get(&(s->mapping), index + 1)) && in insert_mapping()
2268 s->current_mapping = array_get(&(s->mapping), in insert_mapping()
2276 mapping_t* mapping = array_get(&(s->mapping), mapping_index); in remove_mapping()
2277 mapping_t* first_mapping = array_get(&(s->mapping), 0); in remove_mapping()
2291 s->current_mapping = array_get(&(s->mapping), in remove_mapping()
2301 mapping_t* mapping = array_get(&(s->mapping), i); in adjust_dirindices()
2343 direntry_t* direntry = array_get(&(s->directory), dir_index); in commit_mappings()
2369 assert(mapping == array_get(&(s->mapping), s->mapping.next - 1) in commit_mappings()
2376 array_get(&(s->mapping), i); in commit_mappings()
2385 mapping = array_get(&(s->mapping), i1); in commit_mappings()
2419 direntry_t* direntry = array_get(&(s->directory), dir_index); in commit_direntries()
2469 direntry = array_get(&(s->directory), current_dir_index); in commit_direntries()
2488 direntry = array_get(&(s->directory), first_dir_index + i); in commit_direntries()
2510 direntry_t* direntry = array_get(&(s->directory), dir_index); in commit_one_file()
2593 mapping_t* mapping = array_get(&(s->mapping), i); in check1()
2599 direntry_t* direntry = array_get(&(s->directory), mapping->dir_index); in check1()
2615 direntry_t* direntry = array_get(&(s->directory), i); in check2()
2629 mapping_t* mapping = array_get(&(s->mapping), j); in check2()
2642 … mapping_t* parent = array_get(&(s->mapping), mapping->info.dir.parent_mapping_index); in check2()
2663 commit_t* commit = array_get(&(s->commits), i); in handle_renames_and_mkdirs()
2671 commit_t* commit = array_get(&(s->commits), i); in handle_renames_and_mkdirs()
2690 direntry_t* direntry = array_get(&(s->directory), in handle_renames_and_mkdirs()
2753 mapping_t* m = array_get(&(s->mapping), j); in handle_renames_and_mkdirs()
2781 commit_t* commit = array_get(&(s->commits), i); in handle_commits()
2788 direntry_t* entry = array_get(&(s->directory), in handle_commits()
2811 entry = array_get(&(s->directory), j); in handle_commits()
2862 mapping_t* mapping = array_get(&(s->mapping), i); in handle_deletes()
2864 direntry_t* entry = array_get(&(s->directory), in handle_deletes()
2882 mapping_t* m = array_get(&(s->mapping), j); in handle_deletes()
3069 array_get(&(s->directory), dir_index + k), in vvfat_write()
3284 assert(((mapping_t*)array_get(&(vvv->mapping), 0))->end == 2); in checkpoint()