Searched refs:bytes_per_sector (Results 1 – 8 of 8) sorted by relevance
/FileX-v6.2.1/common/src/ |
D | fx_media_format.c | 130 ULONG total_sectors, UINT bytes_per_sector, UINT sectors_per_cluster, in _fx_media_format() argument 145 if((bytes_per_sector == 0) || (bytes_per_sector > 4096)) in _fx_media_format() 158 media_ptr -> fx_media_bytes_per_sector = bytes_per_sector; in _fx_media_format() 194 for (i = 0; i < bytes_per_sector; i++) in _fx_media_format() 201 _fx_utility_memory_set(byte_ptr, 0, bytes_per_sector); in _fx_media_format() 221 _fx_utility_16_unsigned_write(&byte_ptr[FX_BYTES_SECTOR], bytes_per_sector); in _fx_media_format() 233 if (bytes_per_sector < 512) in _fx_media_format() 235 reserved_sectors = 512 / bytes_per_sector; in _fx_media_format() 250 …d_sectors - ((directory_entries * FX_DIR_ENTRY_SIZE) + (bytes_per_sector - 1)) / bytes_per_sector)… in _fx_media_format() 261 sectors_per_fat = bytes_needed / bytes_per_sector; in _fx_media_format() [all …]
|
D | fx_ram_driver.c | 117 UINT bytes_per_sector; in _fx_ram_driver() local 322 bytes_per_sector = _fx_utility_16_unsigned_read(&source_buffer[FX_BYTES_SECTOR]); in _fx_ram_driver() 326 if (bytes_per_sector > media_ptr -> fx_media_memory_size) in _fx_ram_driver() 334 bytes_per_sector); in _fx_ram_driver()
|
D | fx_fault_tolerant_enable.c | 107 ULONG bytes_per_sector; local 114 bytes_per_sector = media_ptr -> fx_media_bytes_per_sector; local 115 bytes_per_cluster = bytes_per_sector * media_ptr -> fx_media_sectors_per_cluster; 130 if (memory_size < bytes_per_sector) 269 … -> fx_media_fault_tolerant_memory_buffer_size = memory_size / bytes_per_sector * bytes_per_sector;
|
D | fxe_media_format.c | 96 ULONG total_sectors, UINT bytes_per_sector, UINT sectors_per_cluster, in _fxe_media_format() argument 115 total_sectors, bytes_per_sector, sectors_per_cluster, in _fxe_media_format()
|
/FileX-v6.2.1/test/regression_test/ |
D | filex_media_hidden_sectors_test.c | 220 UINT bytes_per_sector; in hidden_sectors_driver() local 246 bytes_per_sector = _fx_utility_16_unsigned_read(&source_buffer[FX_BYTES_SECTOR]); in hidden_sectors_driver() 252 … _fx_utility_memory_copy(source_buffer, media_ptr -> fx_media_driver_buffer, bytes_per_sector); in hidden_sectors_driver()
|
D | fx_ram_driver_test.c | 204 UINT bytes_per_sector; in _fx_ram_driver() local 579 bytes_per_sector = _fx_utility_16_unsigned_read(&source_buffer[FX_BYTES_SECTOR]); in _fx_ram_driver() 585 … _fx_utility_memory_copy(source_buffer, media_ptr -> fx_media_driver_buffer, bytes_per_sector); in _fx_ram_driver()
|
/FileX-v6.2.1/common/inc/ |
D | fx_media.h | 62 ULONG total_sectors, UINT bytes_per_sector, UINT sectors_per_cluster, 85 ULONG total_sectors, UINT bytes_per_sector, UINT sectors_per_cluster,
|
D | fx_api.h | 1463 ULONG total_sectors, UINT bytes_per_sector, UINT sectors_per_cluster,
|