Lines Matching defs:dco
981 __u16 *dco = (void *)(args + 4);
995 __le16_to_cpus(&dco[i]);
996 //dump_sectors(dco, 1);
997 return dco;
1487 " --dco-freeze Freeze/lock current device configuration until next power cycle\n"
1488 " --dco-identify Read/dump device configuration identify data\n"
1489 " --dco-restore Reset device configuration back to factory defaults\n"
1874 __u16 *dco = get_dco_identify_data(fd, 0);
1875 if (dco)
1876 dco_identify_print(dco);
1880 confirm_i_know_what_i_am_doing("--dco-restore", "You are trying to deliberately reset your drive configuration back to the factory defaults.\nThis may change the apparent capacity and feature set of the drive, making all data on it inaccessible.\nYou could lose *everything*.");
2262 __u16 *dco = get_dco_identify_data(fd, 1);
2263 if (dco) {
2264 __u64 dco_max = dco[5];
2265 dco_max = ((((__u64)dco[5]) << 32) | (dco[4] << 16) | dco[3]) + 1;
2532 if (0 == strcasecmp(name, "dco-restore")) {
2631 } else if (0 == strcasecmp(name, "dco-freeze")) {
2633 } else if (0 == strcasecmp(name, "dco-identify")) {