Searched refs:needle (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/scripts/selinux/genheaders/ |
D | genheaders.c | 46 const char *needle = "SOCKET"; in main() local 99 substr = strstr(map->name, needle); in main() 100 if (substr && strcmp(substr, needle) == 0) in main()
|
/linux-2.6.39/net/rds/ |
D | bind.c | 57 u64 needle = ((u64)be32_to_cpu(addr) << 32) | be16_to_cpu(port); in rds_bind_lookup() local 64 if (cmp == needle) { in rds_bind_lookup()
|
/linux-2.6.39/arch/sh/drivers/dma/ |
D | dma-api.c | 106 static int search_cap(const char **haystack, const char *needle) in search_cap() argument 111 if (strcmp(*p, needle) == 0) in search_cap()
|
/linux-2.6.39/net/netfilter/ |
D | nf_conntrack_sip.c | 383 const char *needle, unsigned int len) in ct_sip_header_search() argument 393 if (strnicmp(dptr, needle, len) == 0) in ct_sip_header_search() 698 const char *needle, unsigned int len) in ct_sdp_header_search() argument 703 if (strncmp(dptr, needle, len) == 0) in ct_sdp_header_search()
|
/linux-2.6.39/drivers/media/dvb/dvb-core/ |
D | dvb_ca_en50221.c | 175 static char *findstr(char * haystack, int hlen, char * needle, int nlen) in findstr() argument 183 if (!strncmp(haystack + i, needle, nlen)) in findstr()
|
/linux-2.6.39/drivers/scsi/ |
D | hpsa.c | 741 static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle, in hpsa_scsi_find_entry() argument 752 if (SCSI3ADDR_EQ(needle->scsi3addr, haystack[i]->scsi3addr)) { in hpsa_scsi_find_entry() 754 if (device_is_the_same(needle, haystack[i])) in hpsa_scsi_find_entry()
|