Lines Matching refs:ftl_hd
207 static struct hd_struct ftl_hd[MINOR_NR(MAX_DEV, 0, 0)]; variable
219 part: ftl_hd,
1180 put_user(ftl_hd[minor].start_sect, (u_long *)&geo->start); in ftl_ioctl()
1183 ret = put_user(ftl_hd[minor].nr_sects, (unsigned long *)arg); in ftl_ioctl()
1187 ret = put_user((u64)ftl_hd[minor].nr_sects << 9, (u64 *)arg); in ftl_ioctl()
1235 if (ftl_hd[whole+i].nr_sects > 0) { in ftl_reread_partitions()
1240 ftl_hd[whole+i].start_sect = 0; in ftl_reread_partitions()
1241 ftl_hd[whole+i].nr_sects = 0; in ftl_reread_partitions()
1251 if (ftl_hd[whole+i].nr_sects > 0) in ftl_reread_partitions()
1253 ftl_hd[whole+i].start_sect, in ftl_reread_partitions()
1254 ftl_hd[whole+i].nr_sects); in ftl_reread_partitions()
1284 CURRENT->sector+ftl_hd[minor].start_sect, in do_ftl_request()
1291 CURRENT->sector+ftl_hd[minor].start_sect, in do_ftl_request()
1428 ftl_hd[i].nr_sects = 0; in init_ftl()
1429 ftl_hd[i].start_sect = 0; in init_ftl()