Lines Matching refs:errlocs
81 int *errlocs; member
103 kfree(ws->errlocs); in free_ws()
127 ws->errlocs = kmalloc_array(nn + nroots, sizeof(int), GFP_KERNEL); in alloc_ws()
128 if (!ws->errlocs) in alloc_ws()
131 ws->derrlocs = ws->errlocs + nn; in alloc_ws()
156 int *errlocs = ws->errlocs; in get_rcw_we() local
174 memset(errlocs, 0, len * sizeof(*errlocs)); in get_rcw_we()
187 } while (errlocs[errloc] != 0); in get_rcw_we()
189 errlocs[errloc] = 1; in get_rcw_we()
198 } while (errlocs[errloc] != 0); in get_rcw_we()
204 errlocs[errloc] = 2; in get_rcw_we()
212 errlocs[errloc] = 1; in get_rcw_we()
221 static void fix_err(uint16_t *data, int nerrs, uint16_t *corr, int *errlocs) in fix_err() argument
226 data[errlocs[i]] ^= corr[i]; in fix_err()
266 int *errlocs = ws->errlocs; in test_uc() local
302 if (errlocs[derrlocs[i]] != 1) in test_uc()