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