Home
last modified time | relevance | path

Searched refs:fx_file_dir_entry (Results 1 – 17 of 17) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_file_open.c166 file_ptr -> fx_file_dir_entry.fx_dir_entry_name = file_ptr -> fx_file_name_buffer; in _fx_file_open()
167 file_ptr -> fx_file_dir_entry.fx_dir_entry_short_name[0] = 0; in _fx_file_open()
170 …status = _fx_directory_search(media_ptr, file_name, &(file_ptr -> fx_file_dir_entry), FX_NULL, FX… in _fx_file_open()
184 if (file_ptr -> fx_file_dir_entry.fx_dir_entry_attributes & not_a_file_attr) in _fx_file_open()
207 if ((search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == in _fx_file_open()
208 file_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector) && in _fx_file_open()
209 (search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == in _fx_file_open()
210 file_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset) && in _fx_file_open()
245 if (file_ptr -> fx_file_dir_entry.fx_dir_entry_attributes & (UCHAR)(FX_READ_ONLY)) in _fx_file_open()
264 if ((search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == in _fx_file_open()
[all …]
Dfx_file_close.c151 file_ptr -> fx_file_dir_entry.fx_dir_entry_time = _fx_system_time; in _fx_file_close()
152 file_ptr -> fx_file_dir_entry.fx_dir_entry_date = _fx_system_date; in _fx_file_close()
155 file_ptr -> fx_file_dir_entry.fx_dir_entry_last_accessed_date = _fx_system_date; in _fx_file_close()
161 file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = in _fx_file_close()
165 status = _fx_directory_entry_write(media_ptr, &(file_ptr -> fx_file_dir_entry)); in _fx_file_close()
Dfx_file_extended_truncate_release.c217 file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = size; in _fx_file_extended_truncate_release()
225 file_ptr -> fx_file_dir_entry.fx_dir_entry_cluster = FX_NULL; in _fx_file_extended_truncate_release()
229 status = _fx_directory_entry_write(media_ptr, &(file_ptr -> fx_file_dir_entry)); in _fx_file_extended_truncate_release()
596 (search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == in _fx_file_extended_truncate_release()
597 file_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector) && in _fx_file_extended_truncate_release()
598 (search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == in _fx_file_extended_truncate_release()
599 file_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset)) in _fx_file_extended_truncate_release()
611 …search_ptr -> fx_file_dir_entry.fx_dir_entry_cluster = file_ptr -> fx_file_dir_entry.fx_dir_e… in _fx_file_extended_truncate_release()
612 …search_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = file_ptr -> fx_file_dir_entry.fx_dir_e… in _fx_file_extended_truncate_release()
613 …search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector = file_ptr -> fx_file_dir_entry.fx_dir_e… in _fx_file_extended_truncate_release()
[all …]
Dfx_file_extended_truncate.c192 (search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == in _fx_file_extended_truncate()
193 file_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector) && in _fx_file_extended_truncate()
194 (search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == in _fx_file_extended_truncate()
195 file_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset)) in _fx_file_extended_truncate()
202 search_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = size; in _fx_file_extended_truncate()
300 … file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = file_ptr -> fx_file_current_file_size; in _fx_file_extended_truncate()
303 status = _fx_directory_entry_write(media_ptr, &(file_ptr -> fx_file_dir_entry)); in _fx_file_extended_truncate()
Dfx_file_rename.c470 if ((search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == in _fx_file_rename()
472 (search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == in _fx_file_rename()
478 … search_ptr -> fx_file_dir_entry.fx_dir_entry_cluster = new_dir_entry.fx_dir_entry_cluster; in _fx_file_rename()
479 … search_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = new_dir_entry.fx_dir_entry_file_size; in _fx_file_rename()
480 … search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector = new_dir_entry.fx_dir_entry_log_sector; in _fx_file_rename()
481 …search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset = new_dir_entry.fx_dir_entry_byte_offset; in _fx_file_rename()
489 … search_ptr -> fx_file_dir_entry.fx_dir_entry_name[i] = new_dir_entry.fx_dir_entry_name[i]; in _fx_file_rename()
509 search_ptr -> fx_file_dir_entry.fx_dir_entry_name[i] = FX_NULL; in _fx_file_rename()
Dfx_file_write.c731 file_ptr -> fx_file_dir_entry.fx_dir_entry_cluster = FAT_index; in _fx_file_write()
1280 file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = in _fx_file_write()
1302 (search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == in _fx_file_write()
1303 file_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector) && in _fx_file_write()
1304 (search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == in _fx_file_write()
1305 file_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset)) in _fx_file_write()
1314 …search_ptr -> fx_file_dir_entry.fx_dir_entry_cluster = file_ptr -> fx_file_dir_entry.fx_dir_e… in _fx_file_write()
1315 …search_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = file_ptr -> fx_file_dir_entry.fx_dir_e… in _fx_file_write()
1316 …search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector = file_ptr -> fx_file_dir_entry.fx_dir_e… in _fx_file_write()
1317 …search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset = file_ptr -> fx_file_dir_entry.fx_dir_e… in _fx_file_write()
[all …]
Dfx_directory_information_get.c147 …if ((search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == dir_entry.fx_dir_entry_log_sector)… in _fx_directory_information_get()
148 …(search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == dir_entry.fx_dir_entry_byte_offset) && in _fx_directory_information_get()
154 …_fx_utility_memory_copy((UCHAR *)&search_ptr -> fx_file_dir_entry, (UCHAR *)&dir_entry, sizeof(FX_… in _fx_directory_information_get()
Dfx_media_flush.c142 file_ptr -> fx_file_dir_entry.fx_dir_entry_time = _fx_system_time; in _fx_media_flush()
143 file_ptr -> fx_file_dir_entry.fx_dir_entry_date = _fx_system_date; in _fx_media_flush()
149 file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = in _fx_media_flush()
153 status = _fx_directory_entry_write(media_ptr, &(file_ptr -> fx_file_dir_entry)); in _fx_media_flush()
Dfx_media_close.c138 file_ptr -> fx_file_dir_entry.fx_dir_entry_time = _fx_system_time; in _fx_media_close()
139 file_ptr -> fx_file_dir_entry.fx_dir_entry_date = _fx_system_date; in _fx_media_close()
145 file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = in _fx_media_close()
149 status = _fx_directory_entry_write(media_ptr, &(file_ptr -> fx_file_dir_entry)); in _fx_media_close()
Dfx_file_attributes_set.c169 …if ((search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == dir_entry.fx_dir_entry_log_sector)… in _fx_file_attributes_set()
170 … (search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == dir_entry.fx_dir_entry_byte_offset)) in _fx_file_attributes_set()
Dfx_file_extended_allocate.c428 file_ptr -> fx_file_dir_entry.fx_dir_entry_cluster = FAT_index; in _fx_file_extended_allocate()
455 … file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = file_ptr -> fx_file_current_file_size; in _fx_file_extended_allocate()
471 status = _fx_directory_entry_write(media_ptr, &(file_ptr -> fx_file_dir_entry)); in _fx_file_extended_allocate()
529 … file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = file_ptr -> fx_file_current_file_size; in _fx_file_extended_allocate()
Dfx_file_extended_best_effort_allocate.c463 file_ptr -> fx_file_dir_entry.fx_dir_entry_cluster = FAT_index; in _fx_file_extended_best_effort_allocate()
508 … file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size = file_ptr -> fx_file_current_file_size; in _fx_file_extended_best_effort_allocate()
515 status = _fx_directory_entry_write(media_ptr, &(file_ptr -> fx_file_dir_entry)); in _fx_file_extended_best_effort_allocate()
Dfx_file_delete.c207 …if ((search_ptr -> fx_file_dir_entry.fx_dir_entry_log_sector == dir_entry.fx_dir_entry_log_sector)… in _fx_file_delete()
208 … (search_ptr -> fx_file_dir_entry.fx_dir_entry_byte_offset == dir_entry.fx_dir_entry_byte_offset)) in _fx_file_delete()
Dfx_file_read.c432 file_ptr -> fx_file_dir_entry.fx_dir_entry_last_accessed_date = _fx_system_date; in _fx_file_read()
/FileX-v6.2.1/test/regression_test/
Dfilex_file_name_test.c151 my_file.fx_file_dir_entry.fx_dir_entry_reserved = 0x08; in ftest_0_entry()
Dfilex_directory_create_delete_test.c2272 file_1.fx_file_dir_entry.fx_dir_entry_short_name[0] = (CHAR)0xE5; in ftest_0_entry()
/FileX-v6.2.1/common/inc/
Dfx_api.h1154 FX_DIR_ENTRY fx_file_dir_entry; member