Home
last modified time | relevance | path

Searched refs:entry_ptr (Results 1 – 13 of 13) sorted by relevance

/FileX-v6.2.1/test/regression_test/
Dfilex_unicode_directory_entry_change_test.c39 extern UINT _fx_unicode_directory_entry_change(FX_MEDIA *media_ptr, FX_DIR_ENTRY *entry_ptr, UCHAR…
97 FX_DIR_ENTRY *entry_ptr=&entry; in ftest_0_entry() local
127 entry_ptr->fx_dir_entry_name = "Z12345"; in ftest_0_entry()
128 entry_ptr->fx_dir_entry_attributes = 16; in ftest_0_entry()
129 entry_ptr->fx_dir_entry_byte_offset = 0; in ftest_0_entry()
130 entry_ptr->fx_dir_entry_cluster = 3; in ftest_0_entry()
131 entry_ptr->fx_dir_entry_created_date = 18977; in ftest_0_entry()
132 entry_ptr->fx_dir_entry_created_time = 0; in ftest_0_entry()
133 entry_ptr->fx_dir_entry_created_time_ms = 0; in ftest_0_entry()
134 entry_ptr->fx_dir_entry_date = 18977; in ftest_0_entry()
[all …]
/FileX-v6.2.1/common/src/
Dfx_directory_free_search.c87 …fx_directory_free_search(FX_MEDIA *media_ptr, FX_DIR_ENTRY *directory_ptr, FX_DIR_ENTRY *entry_ptr) in _fx_directory_free_search() argument
118 entry_ptr -> fx_dir_entry_long_name_present = 0; in _fx_directory_free_search()
121 if (entry_ptr -> fx_dir_entry_name[0] == '.') in _fx_directory_free_search()
125 if (entry_ptr -> fx_dir_entry_name[1] == '.') in _fx_directory_free_search()
133 for (i = 0, j = 0; entry_ptr -> fx_dir_entry_name[i]; i++) in _fx_directory_free_search()
137 … if ((entry_ptr -> fx_dir_entry_name[i] >= 'A') && (entry_ptr -> fx_dir_entry_name[i] <= 'Z')) in _fx_directory_free_search()
142 … else if ((entry_ptr -> fx_dir_entry_name[i] >= '0') && (entry_ptr -> fx_dir_entry_name[i] <= '9')) in _fx_directory_free_search()
147 … else if ((entry_ptr -> fx_dir_entry_name[i] >= 'a') && (entry_ptr -> fx_dir_entry_name[i] <= 'z')) in _fx_directory_free_search()
149 entry_ptr -> fx_dir_entry_long_name_present = 1; in _fx_directory_free_search()
152 else if (entry_ptr -> fx_dir_entry_name[i] == ' ') in _fx_directory_free_search()
[all …]
Dfx_directory_entry_write.c84 UINT _fx_directory_entry_write(FX_MEDIA *media_ptr, FX_DIR_ENTRY *entry_ptr) in _fx_directory_entry_write() argument
118 if (((UCHAR)entry_ptr -> fx_dir_entry_name[0] == (UCHAR)FX_DIR_ENTRY_FREE) && in _fx_directory_entry_write()
119 ((UCHAR)entry_ptr -> fx_dir_entry_short_name[0] == (UCHAR)FX_DIR_ENTRY_FREE)) in _fx_directory_entry_write()
126 entry_ptr -> fx_dir_entry_short_name[0] = 0; in _fx_directory_entry_write()
136 byte_offset = entry_ptr -> fx_dir_entry_byte_offset; in _fx_directory_entry_write()
139 logical_sector = (ULONG)entry_ptr -> fx_dir_entry_log_sector; in _fx_directory_entry_write()
162 …status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) entry_ptr -> fx_dir_entry_log_secto… in _fx_directory_entry_write()
175 work_ptr = sector_base_ptr + (UINT)entry_ptr -> fx_dir_entry_byte_offset; in _fx_directory_entry_write()
181 changed_offset = entry_ptr -> fx_dir_entry_byte_offset; in _fx_directory_entry_write()
185 if (entry_ptr -> fx_dir_entry_long_name_present) in _fx_directory_entry_write()
[all …]
Dfx_unicode_directory_search.c104 UINT _fx_unicode_directory_search(FX_MEDIA *media_ptr, FX_DIR_ENTRY *entry_ptr, in _fx_unicode_directory_search() argument
274 …status = _fx_unicode_directory_entry_read(media_ptr, search_dir_ptr, &i, entry_ptr, &_fx_unicode_… in _fx_unicode_directory_search()
284 …if (((UCHAR)entry_ptr -> fx_dir_entry_name[0] == (UCHAR)FX_DIR_ENTRY_FREE) && (entry_ptr -> fx_dir… in _fx_unicode_directory_search()
290 if ((UCHAR)entry_ptr -> fx_dir_entry_name[0] == (UCHAR)FX_DIR_ENTRY_DONE) in _fx_unicode_directory_search()
300 if (entry_ptr -> fx_dir_entry_short_name[0]) in _fx_unicode_directory_search()
302 short_name_ptr = entry_ptr -> fx_dir_entry_short_name; in _fx_unicode_directory_search()
306 short_name_ptr = entry_ptr -> fx_dir_entry_name; in _fx_unicode_directory_search()
355 if (entry_ptr -> fx_dir_entry_short_name[0]) in _fx_unicode_directory_search()
359 if (short_name[j] != (UCHAR)entry_ptr -> fx_dir_entry_short_name[j]) in _fx_unicode_directory_search()
370 if (short_name[j] != (UCHAR)entry_ptr -> fx_dir_entry_name[j]) in _fx_unicode_directory_search()
[all …]
Dfx_directory_search.c97 UINT _fx_directory_search(FX_MEDIA *media_ptr, CHAR *name_ptr, FX_DIR_ENTRY *entry_ptr, in _fx_directory_search() argument
390 temp_ptr = entry_ptr -> fx_dir_entry_name; in _fx_directory_search()
393 *entry_ptr = media_ptr -> fx_media_last_found_entry; in _fx_directory_search()
396 entry_ptr -> fx_dir_entry_name = temp_ptr; in _fx_directory_search()
614 status = _fx_directory_entry_read(media_ptr, search_dir_ptr, &i, entry_ptr); in _fx_directory_search()
625 if ((UCHAR)entry_ptr -> fx_dir_entry_name[0] == (UCHAR)FX_DIR_ENTRY_DONE) in _fx_directory_search()
631 if ((entry_ptr -> fx_dir_entry_attributes & FX_VOLUME)) in _fx_directory_search()
637 …if (((UCHAR)entry_ptr -> fx_dir_entry_name[0] == (UCHAR)FX_DIR_ENTRY_FREE) && (entry_ptr -> fx_dir… in _fx_directory_search()
645 dir_name_ptr = &(entry_ptr -> fx_dir_entry_name[0]); in _fx_directory_search()
696 else if (entry_ptr -> fx_dir_entry_short_name[0] != 0) in _fx_directory_search()
[all …]
Dfx_utility_FAT_entry_read.c87 UINT _fx_utility_FAT_entry_read(FX_MEDIA *media_ptr, ULONG cluster, ULONG *entry_ptr) in _fx_utility_FAT_entry_read() argument
107 …status = _fx_fault_tolerant_read_FAT(media_ptr, cluster, entry_ptr, FX_FAULT_TOLERANT_FAT_LOG_TYPE… in _fx_utility_FAT_entry_read()
139 *entry_ptr = cache_entry_ptr -> fx_fat_cache_entry_value; in _fx_utility_FAT_entry_read()
150 *entry_ptr = (cache_entry_ptr + 1) -> fx_fat_cache_entry_value; in _fx_utility_FAT_entry_read()
164 *entry_ptr = (cache_entry_ptr + 2) -> fx_fat_cache_entry_value; in _fx_utility_FAT_entry_read()
179 *entry_ptr = (cache_entry_ptr + 3) -> fx_fat_cache_entry_value; in _fx_utility_FAT_entry_read()
196 *entry_ptr = (cache_entry_ptr + i) -> fx_fat_cache_entry_value; in _fx_utility_FAT_entry_read()
341 *entry_ptr = entry; in _fx_utility_FAT_entry_read()
380 *entry_ptr = entry; in _fx_utility_FAT_entry_read()
417 *entry_ptr = entry32; in _fx_utility_FAT_entry_read()
[all …]
Dfx_unicode_directory_entry_change.c80 UINT _fx_unicode_directory_entry_change(FX_MEDIA *media_ptr, FX_DIR_ENTRY *entry_ptr, UCHAR *unico… in _fx_unicode_directory_entry_change() argument
105 byte_offset = entry_ptr -> fx_dir_entry_byte_offset; in _fx_unicode_directory_entry_change()
108 logical_sector = (ULONG)entry_ptr -> fx_dir_entry_log_sector; in _fx_unicode_directory_entry_change()
131 …status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) entry_ptr -> fx_dir_entry_log_secto… in _fx_unicode_directory_entry_change()
144 work_ptr = sector_base_ptr + (UINT)entry_ptr -> fx_dir_entry_byte_offset; in _fx_unicode_directory_entry_change()
153 changed_offset = entry_ptr -> fx_dir_entry_byte_offset; in _fx_unicode_directory_entry_change()
Dfx_unicode_directory_entry_read.c80 ULONG *entry_ptr, FX_DIR_ENTRY *destination_ptr, in _fx_unicode_directory_entry_read() argument
95 ULONG entry = *entry_ptr; in _fx_unicode_directory_entry_read()
727 *entry_ptr = entry; in _fx_unicode_directory_entry_read()
Dfx_directory_entry_read.c83 ULONG *entry_ptr, FX_DIR_ENTRY *destination_ptr) in _fx_directory_entry_read() argument
97 ULONG entry = *entry_ptr; in _fx_directory_entry_read()
699 *entry_ptr = entry; in _fx_directory_entry_read()
/FileX-v6.2.1/ports/linux/gnu/inc/
Dfx_port.h187 … *entry_ptr = 1; \
193 … *entry_ptr = media_ptr -> fx_media_fat_reserved; \
199 … *entry_ptr = cluster; \
/FileX-v6.2.1/common/inc/
Dfx_unicode.h99 UINT _fx_unicode_directory_search(FX_MEDIA *media_ptr, FX_DIR_ENTRY *entry_ptr,
103 ULONG *entry_ptr, FX_DIR_ENTRY *destination_ptr,
105 UINT _fx_unicode_directory_entry_change(FX_MEDIA *media_ptr, FX_DIR_ENTRY *entry_ptr, UCHAR *unicod…
Dfx_directory.h62 UINT _fx_directory_entry_read_FAT(FX_MEDIA *media_ptr, FX_DIR_ENTRY *source_dir, ULONG *entry_ptr,
115 UINT _fx_directory_entry_write(FX_MEDIA *media_ptr, FX_DIR_ENTRY *entry_ptr);
116 …x_directory_free_search(FX_MEDIA *media_ptr, FX_DIR_ENTRY *directory_ptr, FX_DIR_ENTRY *entry_ptr);
118 UINT _fx_directory_search(FX_MEDIA *media_ptr, CHAR *name_ptr, FX_DIR_ENTRY *entry_ptr, FX_DIR_ENT…
Dfx_utility.h70 UINT _fx_utility_FAT_entry_read(FX_MEDIA *media_ptr, ULONG cluster, ULONG *entry_ptr);