Searched refs:sector_number (Results 1 – 1 of 1) sorted by relevance
666 ULONG sector_number; in thread_0_entry() local679 sector_number = ((ULONG)rand() * (ULONG)rand()) % MAX_SECTOR_ADDRESS; in thread_0_entry()681 if (sector_number + sector_count > MAX_SECTOR_ADDRESS) in thread_0_entry()683 sector_count = MAX_SECTOR_ADDRESS - sector_number; in thread_0_entry()688 status = lx_nand_flash_sector_read(&nand_sim_flash, sector_number, readbuffer); in thread_0_entry()700 … status = memcmp((local_data_buffer + sector_number * SECTOR_SIZE), readbuffer, SECTOR_SIZE); in thread_0_entry()702 status = *(ULONG*)(local_data_buffer + sector_number * SECTOR_SIZE) - readbuffer[0]; in thread_0_entry()715 sector_number++; in thread_0_entry()720 sector_number = ((ULONG)rand() * (ULONG)rand()) % MAX_SECTOR_ADDRESS; in thread_0_entry()722 if (sector_number + sector_count > MAX_SECTOR_ADDRESS) in thread_0_entry()[all …]