Searched refs:needle (Results 1 - 4 of 4) sorted by relevance
/drivers/net/wireless/bcmdhd/ |
H A D | bcmutils.c | 754 /* return pointer to location of substring 'needle' in 'haystack' */ 756 bcmstrstr(const char *haystack, const char *needle) argument 761 if ((haystack == NULL) || (needle == NULL)) 764 nlen = strlen(needle); 768 if (memcmp(needle, &haystack[i], nlen) == 0)
|
/drivers/media/dvb/dvb-core/ |
H A D | dvb_ca_en50221.c | 167 * Safely find needle in haystack. 171 * @param needle Buffer to find. 172 * @param nlen Number of bytes in needle. 173 * @return Pointer into haystack needle was found at, or NULL if not found. 175 static char *findstr(char * haystack, int hlen, char * needle, int nlen) argument 183 if (!strncmp(haystack + i, needle, nlen))
|
/drivers/net/wireless/bcmdhd/include/ |
H A D | bcmutils.h | 343 extern char *bcmstrstr(const char *haystack, const char *needle);
|
/drivers/scsi/ |
H A D | hpsa.c | 822 /* Find needle in haystack. If exact match found, return DEVICE_SAME, 823 * and return needle location in *index. If scsi3addr matches, but not 824 * vendor, model, serial num, etc. return DEVICE_CHANGED, and return needle 828 * If needle not found, return DEVICE_NOT_FOUND. 830 static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle, argument 842 if (SCSI3ADDR_EQ(needle->scsi3addr, haystack[i]->scsi3addr)) { 844 if (device_is_the_same(needle, haystack[i])) { 845 if (device_updated(needle, haystack[i]))
|
Completed in 151 milliseconds