Lines Matching refs:status
95 UINT status; in thread_0_entry() local
127 …status = fx_media_open(&nand_disk, "NAND DISK", _fx_nand_flash_simulator_driver, FX_NULL, media_m… in thread_0_entry()
130 if (status != FX_SUCCESS) in thread_0_entry()
138 status = fx_file_create(&nand_disk, "TEST.TXT"); in thread_0_entry()
141 if (status != FX_SUCCESS) in thread_0_entry()
146 if (status != FX_ALREADY_CREATED) in thread_0_entry()
155 status = fx_file_open(&nand_disk, &my_file, "TEST.TXT", FX_OPEN_FOR_WRITE); in thread_0_entry()
158 if (status != FX_SUCCESS) in thread_0_entry()
166 status = fx_file_seek(&my_file, 0); in thread_0_entry()
169 if (status != FX_SUCCESS) in thread_0_entry()
177 status = fx_file_write(&my_file, " ABCDEFGHIJKLMNOPQRSTUVWXYZ\n", 28); in thread_0_entry()
180 if (status != FX_SUCCESS) in thread_0_entry()
188 status = fx_file_seek(&my_file, 0); in thread_0_entry()
191 if (status != FX_SUCCESS) in thread_0_entry()
199 status = fx_file_read(&my_file, local_buffer, 28, &actual); in thread_0_entry()
202 if ((status != FX_SUCCESS) || (actual != 28)) in thread_0_entry()
210 status = fx_file_close(&my_file); in thread_0_entry()
213 if (status != FX_SUCCESS) in thread_0_entry()
221 status = fx_file_delete(&nand_disk, "TEST.TXT"); in thread_0_entry()
224 if (status != FX_SUCCESS) in thread_0_entry()
232 status = fx_media_close(&nand_disk); in thread_0_entry()
235 if (status != FX_SUCCESS) in thread_0_entry()