Lines Matching refs:modes
80 int modes[MaxFault]; member
108 switch (conf->modes[i] * 2 + dir) { in check_sector()
113 conf->modes[i] = NoPersist; in check_sector()
131 case NoPersist: conf->modes[i] = mode; return; in add_sector()
133 if (conf->modes[i] == ReadPersistent || in add_sector()
134 conf->modes[i] == ReadFixable) in add_sector()
135 conf->modes[i] = AllPersist; in add_sector()
137 conf->modes[i] = WritePersistent; in add_sector()
140 if (conf->modes[i] == WritePersistent) in add_sector()
141 conf->modes[i] = AllPersist; in add_sector()
143 conf->modes[i] = ReadPersistent; in add_sector()
146 if (conf->modes[i] == WritePersistent || in add_sector()
147 conf->modes[i] == ReadPersistent) in add_sector()
148 conf->modes[i] = AllPersist; in add_sector()
150 conf->modes[i] = ReadFixable; in add_sector()
153 } else if (conf->modes[i] == NoPersist) in add_sector()
159 conf->modes[n] = mode; in add_sector()