Searched refs:erase_states (Results 1 – 2 of 2) sorted by relevance
58 this->erase_states = (bool*) calloc(this->sectors, sizeof(bool)); in init()59 memset(this->erase_states, 0xFF, this->sectors * sizeof(bool)); in init()89 free(this->erase_states); in deinit()139 if (this->erase_states[sector]) { in erase_sector()150 this->erase_states[sector] = true; in erase_sector()182 this->erase_states[i] = false; in write()
71 bool* erase_states; variable