Home
last modified time | relevance | path

Searched refs:haystack (Results 1 – 3 of 3) sorted by relevance

/drivers/scsi/
DNCR5380.c2244 static bool list_find_cmd(struct list_head *haystack, in list_find_cmd() argument
2249 list_for_each_entry(ncmd, haystack, list) in list_find_cmd()
2261 static bool list_del_cmd(struct list_head *haystack, in list_del_cmd() argument
2264 if (list_find_cmd(haystack, needle)) { in list_del_cmd()
Dhpsa.c1495 struct hpsa_scsi_dev_t *haystack[], int haystack_size, in hpsa_scsi_find_entry() argument
1507 if (haystack[i] == NULL) /* previously removed. */ in hpsa_scsi_find_entry()
1509 if (SCSI3ADDR_EQ(needle->scsi3addr, haystack[i]->scsi3addr)) { in hpsa_scsi_find_entry()
1511 if (device_is_the_same(needle, haystack[i])) { in hpsa_scsi_find_entry()
1512 if (device_updated(needle, haystack[i])) in hpsa_scsi_find_entry()
/drivers/media/dvb-core/
Ddvb_ca_en50221.c207 static char *findstr(char * haystack, int hlen, char * needle, int nlen) in findstr() argument
215 if (!strncmp(haystack + i, needle, nlen)) in findstr()
216 return haystack + i; in findstr()