Searched refs:needle (Results 1 – 3 of 3) sorted by relevance
/drivers/scsi/ |
D | NCR5380.c | 2166 struct scsi_cmnd *needle) in list_find_cmd() argument 2171 if (NCR5380_to_scmd(ncmd) == needle) in list_find_cmd() 2183 struct scsi_cmnd *needle) in list_del_cmd() argument 2185 if (list_find_cmd(haystack, needle)) { in list_del_cmd() 2186 struct NCR5380_cmd *ncmd = scsi_cmd_priv(needle); in list_del_cmd()
|
D | hpsa.c | 1538 static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle, in hpsa_scsi_find_entry() argument 1547 if (needle == NULL) in hpsa_scsi_find_entry() 1553 if (SCSI3ADDR_EQ(needle->scsi3addr, haystack[i]->scsi3addr)) { in hpsa_scsi_find_entry() 1555 if (device_is_the_same(needle, haystack[i])) { in hpsa_scsi_find_entry() 1556 if (device_updated(needle, haystack[i])) in hpsa_scsi_find_entry() 1561 if (needle->volume_offline) in hpsa_scsi_find_entry()
|
/drivers/media/dvb-core/ |
D | dvb_ca_en50221.c | 201 static char *findstr(char *haystack, int hlen, char *needle, int nlen) in findstr() argument 209 if (!strncmp(haystack + i, needle, nlen)) in findstr()
|