Lines Matching defs:needle
1541 /* Find needle in haystack. If exact match found, return DEVICE_SAME,
1542 * and return needle location in *index. If scsi3addr matches, but not
1543 * vendor, model, serial num, etc. return DEVICE_CHANGED, and return needle
1547 * If needle not found, return DEVICE_NOT_FOUND.
1549 static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle,
1558 if (needle == NULL)
1564 if (SCSI3ADDR_EQ(needle->scsi3addr, haystack[i]->scsi3addr)) {
1566 if (device_is_the_same(needle, haystack[i])) {
1567 if (device_updated(needle, haystack[i]))
1572 if (needle->volume_offline)