/FileX-v6.2.1/common/src/ |
D | fx_utility_32_unsigned_write.c | 73 VOID _fx_utility_32_unsigned_write(UCHAR *dest_ptr, ULONG value) in _fx_utility_32_unsigned_write() argument 77 *(dest_ptr) = (UCHAR)(value & 0xFF); in _fx_utility_32_unsigned_write() 78 *(dest_ptr + 1) = (UCHAR)((value >> 8) & 0xFF); in _fx_utility_32_unsigned_write() 79 *(dest_ptr + 2) = (UCHAR)((value >> 16) & 0xFF); in _fx_utility_32_unsigned_write() 80 *(dest_ptr + 3) = (UCHAR)((value >> 24) & 0xFF); in _fx_utility_32_unsigned_write()
|
D | fx_partition_offset_calculate.c | 284 ULONG base_sector, value; in _fx_utility_partition_get() local 303 value = (ULONG) sector_buffer[i + 8]; /* little endian start value */ in _fx_utility_partition_get() 304 value = (((ULONG) sector_buffer[i + 9]) << 8) | value; in _fx_utility_partition_get() 305 value = (((ULONG) sector_buffer[i + 10]) << 16) | value; in _fx_utility_partition_get() 306 value = (((ULONG) sector_buffer[i + 11]) << 24) | value; in _fx_utility_partition_get() 307 partition_table[*count].fx_media_part_start = value + base_sector; in _fx_utility_partition_get() 309 value = (ULONG) sector_buffer[i + 12]; /* little endian size value */ in _fx_utility_partition_get() 310 value = (((ULONG) sector_buffer[i + 13]) << 8) | value; in _fx_utility_partition_get() 311 value = (((ULONG) sector_buffer[i + 14]) << 16) | value; in _fx_utility_partition_get() 312 value = (((ULONG) sector_buffer[i + 15]) << 24) | value; in _fx_utility_partition_get() [all …]
|
D | fx_utility_64_unsigned_read.c | 75 ULONG64 value; in _fx_utility_64_unsigned_read() local 83 value = ((ULONG64)upper_portion) << 32; in _fx_utility_64_unsigned_read() 84 value |= (ULONG64)lower_portion; in _fx_utility_64_unsigned_read() 87 return(value); in _fx_utility_64_unsigned_read()
|
D | fx_utility_16_unsigned_read.c | 75 UINT value; in _fx_utility_16_unsigned_read() local 78 value = ((((UINT)*(source_ptr + 1)) & 0xFF) << 8) | in _fx_utility_16_unsigned_read() 82 return(value); in _fx_utility_16_unsigned_read()
|
D | fx_utility_16_unsigned_write.c | 73 VOID _fx_utility_16_unsigned_write(UCHAR *dest_ptr, UINT value) in _fx_utility_16_unsigned_write() argument 77 *(dest_ptr) = (UCHAR)(value & 0xFF); in _fx_utility_16_unsigned_write() 78 *(dest_ptr + 1) = (UCHAR)((value >> 8) & 0xFF); in _fx_utility_16_unsigned_write()
|
D | fx_utility_64_unsigned_write.c | 73 VOID _fx_utility_64_unsigned_write(UCHAR *dest_ptr, ULONG64 value) in _fx_utility_64_unsigned_write() argument 77 _fx_utility_32_unsigned_write(dest_ptr, (ULONG)value); in _fx_utility_64_unsigned_write() 78 _fx_utility_32_unsigned_write(dest_ptr + sizeof(ULONG), (ULONG)(value >> 32)); in _fx_utility_64_unsigned_write()
|
D | fx_utility_32_unsigned_read.c | 75 ULONG value; in _fx_utility_32_unsigned_read() local 78 value = ((((ULONG) *(source_ptr+3)) & 0xFF) << 24) | in _fx_utility_32_unsigned_read() 84 return(value); in _fx_utility_32_unsigned_read()
|
D | fx_utility_memory_set.c | 81 VOID _fx_utility_memory_set(UCHAR *dest_ptr, UCHAR value, ULONG size) in _fx_utility_memory_set() argument 89 *dest_ptr++ = value; in _fx_utility_memory_set()
|
D | fx_fault_tolerant_add_FAT_log.c | 73 UINT _fx_fault_tolerant_add_FAT_log(FX_MEDIA *media_ptr, ULONG cluster, ULONG value) in _fx_fault_tolerant_add_FAT_log() argument 103 _fx_utility_32_unsigned_write((UCHAR *)&fat_log -> fx_fault_tolerant_FAT_log_value, value); in _fx_fault_tolerant_add_FAT_log()
|
D | fx_fault_tolerant_read_FAT.c | 78 UINT _fx_fault_tolerant_read_FAT(FX_MEDIA *media_ptr, ULONG cluster, ULONG *value, ULONG log_typ… in _fx_fault_tolerant_read_FAT() argument 140 … *value = _fx_utility_32_unsigned_read((UCHAR *)&fat_log -> fx_fault_tolerant_FAT_log_value); in _fx_fault_tolerant_read_FAT()
|
/FileX-v6.2.1/common/inc/ |
D | fx_utility.h | 56 VOID _fx_utility_16_unsigned_write(UCHAR *dest_ptr, UINT value); 58 VOID _fx_utility_32_unsigned_write(UCHAR *dest_ptr, ULONG value); 60 VOID _fx_utility_64_unsigned_write(UCHAR *dest_ptr, ULONG64 value); 62 VOID _fx_utility_memory_set(UCHAR *dest_ptr, UCHAR value, ULONG size);
|
D | fx_fault_tolerant.h | 365 UINT _fx_fault_tolerant_add_FAT_log(FX_MEDIA *media_ptr, ULONG cluster, ULONG value); 376 UINT _fx_fault_tolerant_read_FAT(FX_MEDIA *media_ptr, ULONG cluster, ULONG *value, ULONG log_type);
|
D | fx_api.h | 1524 VOID _fx_utility_16_unsigned_write(UCHAR *dest_ptr, UINT value); 1526 VOID _fx_utility_32_unsigned_write(UCHAR *dest_ptr, ULONG value); 1528 VOID _fx_utility_64_unsigned_write(UCHAR *dest_ptr, ULONG64 value); 1530 VOID _fx_utility_memory_set(UCHAR *dest_ptr, UCHAR value, ULONG size);
|
/FileX-v6.2.1/test/regression_test/ |
D | filex_fault_tolerant_enable_test.c | 105 ULONG value; in ftest_0_entry() local 264 status = _fx_utility_FAT_entry_read(&ram_disk, start_cluster + j, &value); in ftest_0_entry() 269 return_if_fail (value == (start_cluster + j + 1)); in ftest_0_entry() 273 return_if_fail (value == ram_disk.fx_media_fat_last); in ftest_0_entry()
|
D | filex_fault_tolerant_corrupted_log_file_test.c | 6 …value of log_len smaller than FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE to cause a integer underflow an… 8 For example with log_len set to 15 copy_size will have the value of 4294967295 due to integer under…
|
D | filex_utility_test.c | 246 ULONG64 value; in ftest_0_entry() local 787 value = _fx_utility_64_unsigned_read((UCHAR*)buffer); in ftest_0_entry() 788 return_if_fail(0x0001 == value); in ftest_0_entry()
|
/FileX-v6.2.1/docs/ |
D | revision_history.txt | 60 …o_extract.c Added fx_media_exfat_bytes_per_sector_shift value validation, fixed 81 … fx_media_check_FAT_chain_check.c Fixed the up bound check for the value of cluster. 180 … Modified the check of return value for exFAT. 194 … fx_utility_exFAT_bitmap_free_cluster_find.c Unified the return value for exFAT and FAT. 195 … fx_utility_exFAT_bitmap_cache_prepare.c Unified the return value for exFAT and FAT.
|