Lines Matching refs:needle
1547 /* Find needle in haystack. If exact match found, return DEVICE_SAME,
1548 * and return needle location in *index. If scsi3addr matches, but not
1549 * vendor, model, serial num, etc. return DEVICE_CHANGED, and return needle
1553 * If needle not found, return DEVICE_NOT_FOUND.
1555 static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle,
1564 if (needle == NULL)
1570 if (SCSI3ADDR_EQ(needle->scsi3addr, haystack[i]->scsi3addr)) {
1572 if (device_is_the_same(needle, haystack[i])) {
1573 if (device_updated(needle, haystack[i]))
1578 if (needle->volume_offline)