Lines Matching defs:geo
202 static void set_ch_t(struct ch_t *geo, __u32 cyl, __u8 head)
204 geo->cyl = (__u16) cyl;
205 geo->head = cyl >> 16;
206 geo->head <<= 4;
207 geo->head |= head;
2397 dasd_eckd_fill_geometry(struct dasd_block *block, struct hd_geometry *geo)
2402 geo->sectors = recs_per_track(&private->rdc_data,
2405 geo->cylinders = private->rdc_data.no_cyl;
2406 geo->heads = private->rdc_data.trk_per_cyl;
3297 struct ch_t geo;
3322 /* Calculate the expected geo values for the current track */
3323 set_ch_t(&geo, i / trk_per_cyl, i % trk_per_cyl);
3346 geo.cyl == 0 && geo.head == 0) {
3353 geo.cyl == 0 && geo.head == 1) {
3369 if (fmt_buffer[pos].cyl != geo.cyl ||
3370 fmt_buffer[pos].head != geo.head ||