Lines Matching defs:size
55 unsigned long size;
61 /* Must be ordered by size */
74 static int get_chs(unsigned long size, unsigned short *cyl, unsigned char *head,
81 while (chs_table[k].size > 0 && size > chs_table[k].size)
84 if (chs_table[k].size > 0) {
182 /* Parity calculator on a word of n bit size */
183 static int get_parity(int number, int size)
189 for (k = 0; k < size; k++) {
291 mtd->size > UINT_MAX)
310 ssfdc->map_len = (u32)mtd->size / mtd->erasesize;
319 get_chs(mtd->size, NULL, &ssfdc->heads, &ssfdc->sectors);
320 ssfdc->cylinders = (unsigned short)(((u32)mtd->size >> SECTOR_SHIFT) /
328 ssfdc->mbd.size = (long)ssfdc->heads * (long)ssfdc->cylinders *