Home
last modified time | relevance | path

Searched refs:sectors (Results 1 – 12 of 12) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_utility_logical_sector_read.c105 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type) in _fx_utility_logical_sector_read() argument
346 …if ((logical_sector == media_ptr -> fx_media_memory_buffer_sector) && (sectors == 1) && (buffer_pt… in _fx_utility_logical_sector_read()
375 if ((logical_sector + sectors - 1) > (ULONG)media_ptr -> fx_media_total_sectors) in _fx_utility_logical_sector_read()
382 while (sectors) in _fx_utility_logical_sector_read()
401 sectors--; in _fx_utility_logical_sector_read()
405 end_sector = logical_sector + sectors - 1; in _fx_utility_logical_sector_read()
408 while (sectors) in _fx_utility_logical_sector_read()
421 … ((UCHAR *)buffer_ptr) + ((sectors - 1) * media_ptr -> fx_media_bytes_per_sector), in _fx_utility_logical_sector_read()
426 sectors--; in _fx_utility_logical_sector_read()
430 if (sectors == 0) in _fx_utility_logical_sector_read()
[all …]
Dfx_file_read.c91 UINT sectors; in _fx_file_read() local
220 sectors = (UINT)(bytes_remaining / media_ptr -> fx_media_bytes_per_sector); in _fx_file_read()
225 …file_ptr -> fx_file_current_relative_sector); i < sectors; i += media_ptr -> fx_media_sectors_per_… in _fx_file_read()
258 if (i < sectors) in _fx_file_read()
260 sectors = i; in _fx_file_read()
265 if (sectors == 1) in _fx_file_read()
296 … destination_ptr, (ULONG) sectors, FX_DATA_SECTOR); in _fx_file_read()
318 (sectors - 1); in _fx_file_read()
322 (file_ptr -> fx_file_current_relative_sector + (sectors - 1)) / in _fx_file_read()
327 (sectors - 1)) % media_ptr -> fx_media_sectors_per_cluster; in _fx_file_read()
[all …]
Dfx_utility_logical_sector_write.c96 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type) in _fx_utility_logical_sector_write() argument
317 if ((logical_sector + sectors - 1) >= media_ptr -> fx_media_total_sectors) in _fx_utility_logical_sector_write()
339 media_ptr -> fx_media_driver_sectors = sectors; in _fx_utility_logical_sector_write()
353 …INE_INSERT(FX_TRACE_INTERNAL_IO_DRIVER_WRITE, media_ptr, logical_sector, sectors, buffer_ptr, FX_T… in _fx_utility_logical_sector_write()
387 if ((logical_sector + sectors - 1) >= media_ptr -> fx_media_total_sectors) in _fx_utility_logical_sector_write()
393 _fx_utility_logical_sector_flush(media_ptr, logical_sector, (ULONG64) sectors, FX_TRUE); in _fx_utility_logical_sector_write()
396 …ctor <= media_ptr -> fx_media_memory_buffer_sector) && (logical_sector + sectors >= media_ptr -> f… in _fx_utility_logical_sector_write()
417 media_ptr -> fx_media_driver_sectors = sectors; in _fx_utility_logical_sector_write()
431 …INE_INSERT(FX_TRACE_INTERNAL_IO_DRIVER_WRITE, media_ptr, logical_sector, sectors, buffer_ptr, FX_T… in _fx_utility_logical_sector_write()
Dfx_utility_logical_sector_flush.c83 …ogical_sector_flush(FX_MEDIA *media_ptr, ULONG64 starting_sector, ULONG64 sectors, UINT invalidate) in _fx_utility_logical_sector_flush() argument
101 ending_sector = starting_sector + sectors - 1; in _fx_utility_logical_sector_flush()
134 if (sectors == 0) in _fx_utility_logical_sector_flush()
242 sectors--; in _fx_utility_logical_sector_flush()
262 if (sectors < 32) in _fx_utility_logical_sector_flush()
285 if ((sectors == 0) || (starting_sector > ending_sector)) in _fx_utility_logical_sector_flush()
444 sectors--; in _fx_utility_logical_sector_flush()
468 if ((sectors == 0) && (invalidate == FX_FALSE)) in _fx_utility_logical_sector_flush()
514 FX_PARAMETER_NOT_USED(sectors); in _fx_utility_logical_sector_flush()
Dfx_fault_tolerant_read_log_file.c73 ULONG sectors; in _fx_fault_tolerant_read_log_file() local
77sectors = media_ptr -> fx_media_fault_tolerant_memory_buffer_size / media_ptr -> fx_media_bytes_pe… in _fx_fault_tolerant_read_log_file()
86 sectors, FX_DATA_SECTOR); in _fx_fault_tolerant_read_log_file()
Dfx_directory_create.c103 UINT sectors; in _fx_directory_create() local
384 sectors = media_ptr -> fx_media_sectors_per_cluster; in _fx_directory_create()
443 status = _fx_utility_logical_sector_flush(media_ptr, logical_sector, sectors, FX_TRUE); in _fx_directory_create()
461 if (sectors > 1) in _fx_directory_create()
473 …_fx_utility_logical_sector_flush(media_ptr, logical_sector + 1, ((ULONG64)(sectors - 1)), FX_TRUE); in _fx_directory_create()
492 sectors--; in _fx_directory_create()
493 while (sectors) in _fx_directory_create()
507 media_ptr -> fx_media_driver_logical_sector = logical_sector + ((ULONG)sectors); in _fx_directory_create()
509 … media_ptr -> fx_media_driver_logical_sector = (ULONG)logical_sector + ((ULONG)sectors); in _fx_directory_create()
518 …E_INTERNAL_IO_DRIVER_WRITE, media_ptr, ((ULONG)logical_sector) + ((ULONG)sectors), 1, media_ptr ->… in _fx_directory_create()
[all …]
Dfx_directory_free_search.c102 UINT sectors; in _fx_directory_free_search() local
420sectors = ((total_entries * FX_DIR_ENTRY_SIZE) + (media_ptr -> fx_media_bytes_per_sector - 1))/ in _fx_directory_free_search()
424 …clusters_needed = (sectors + (media_ptr -> fx_media_sectors_per_cluster - 1)) / media_ptr -> fx_me… in _fx_directory_free_search()
515 sectors = media_ptr -> fx_media_sectors_per_cluster; in _fx_directory_free_search()
559 if (sectors > 1) in _fx_directory_free_search()
566 …_logical_sector_flush(media_ptr, (ULONG64) (logical_sector + 1), (ULONG64) (sectors - 1), FX_TRUE); in _fx_directory_free_search()
577 sectors--; in _fx_directory_free_search()
578 while (sectors) in _fx_directory_free_search()
591 … media_ptr -> fx_media_driver_logical_sector = (ULONG)logical_sector + ((ULONG)sectors); in _fx_directory_free_search()
599 …E_INTERNAL_IO_DRIVER_WRITE, media_ptr, ((ULONG)logical_sector) + ((ULONG)sectors), 1, media_ptr ->… in _fx_directory_free_search()
[all …]
Dfx_fault_tolerant_read_directory_sector.c80 VOID *buffer_ptr, ULONG64 sectors) in _fx_fault_tolerant_read_directory_sector() argument
142 if ((log_sector >= logical_sector) && (log_sector < logical_sector + sectors)) in _fx_fault_tolerant_read_directory_sector()
Dfx_file_write.c110 UINT sectors; in _fx_file_write() local
1036 sectors = (UINT)(bytes_remaining / media_ptr -> fx_media_bytes_per_sector); in _fx_file_write()
1041 …file_ptr -> fx_file_current_relative_sector); i < sectors; i += media_ptr -> fx_media_sectors_per_… in _fx_file_write()
1077 if (i < sectors) in _fx_file_write()
1079 sectors = i; in _fx_file_write()
1085 source_ptr, (ULONG) sectors, FX_DATA_SECTOR); in _fx_file_write()
1108 (sectors - 1); in _fx_file_write()
1112 (file_ptr -> fx_file_current_relative_sector + (sectors - 1)) / in _fx_file_write()
1116 (file_ptr -> fx_file_current_relative_sector + (sectors - 1)) % in _fx_file_write()
1127 (((ULONG)media_ptr -> fx_media_bytes_per_sector) * sectors); in _fx_file_write()
[all …]
/FileX-v6.2.1/common/inc/
Dfx_utility.h66 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type);
68 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type);
69 …gical_sector_flush(FX_MEDIA *media_ptr, ULONG64 starting_sector, ULONG64 sectors, UINT invalidate);
Dfx_fault_tolerant.h380 VOID *buffer_ptr, ULONG64 sectors);
/FileX-v6.2.1/docs/
Drevision_history.txt661 sectors are read.