Lines Matching refs:dev1
503 static int device_is_the_same(struct cciss_scsi_dev_t *dev1, in device_is_the_same() argument
506 return dev1->devtype == dev2->devtype && in device_is_the_same()
507 memcmp(dev1->scsi3addr, dev2->scsi3addr, in device_is_the_same()
508 sizeof(dev1->scsi3addr)) == 0 && in device_is_the_same()
509 memcmp(dev1->device_id, dev2->device_id, in device_is_the_same()
510 sizeof(dev1->device_id)) == 0 && in device_is_the_same()
511 memcmp(dev1->vendor, dev2->vendor, in device_is_the_same()
512 sizeof(dev1->vendor)) == 0 && in device_is_the_same()
513 memcmp(dev1->model, dev2->model, in device_is_the_same()
514 sizeof(dev1->model)) == 0 && in device_is_the_same()
515 memcmp(dev1->revision, dev2->revision, in device_is_the_same()
516 sizeof(dev1->revision)) == 0; in device_is_the_same()