Lines Matching refs:k
80 int k; in get_chs() local
83 k = 0; in get_chs()
84 while (chs_table[k].size > 0 && size > chs_table[k].size) in get_chs()
85 k++; in get_chs()
87 if (chs_table[k].size > 0) { in get_chs()
89 *cyl = chs_table[k].cyl; in get_chs()
91 *head = chs_table[k].head; in get_chs()
93 *sec = chs_table[k].sec; in get_chs()
108 int ret, k, cis_sector; in get_valid_cis_sector() local
124 for (k = 0, offset = 0; k < 4; k++, offset += mtd->erasesize) { in get_valid_cis_sector()
188 int k; in get_parity() local
192 for (k = 0; k < size; k++) { in get_parity()
193 parity += (number >> k); in get_parity()