/Linux-v4.19/scripts/selinux/genheaders/ |
D | genheaders.c | 52 const char *needle = "SOCKET"; in main() local 105 substr = strstr(map->name, needle); in main() 106 if (substr && strcmp(substr, needle) == 0) in main()
|
/Linux-v4.19/tools/testing/selftests/cgroup/ |
D | cgroup_util.h | 28 const char *needle);
|
D | cgroup_util.c | 116 int cg_read_strstr(const char *cgroup, const char *control, const char *needle) in cg_read_strstr() argument 123 return strstr(buf, needle) ? 0 : -1; in cg_read_strstr()
|
/Linux-v4.19/arch/sh/drivers/dma/ |
D | dma-api.c | 107 static int search_cap(const char **haystack, const char *needle) in search_cap() argument 112 if (strcmp(*p, needle) == 0) in search_cap()
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_offload.py | 581 def check_no_extack(res, needle): argument 582 fail((res[1] + res[2]).count(needle) or (res[1] + res[2]).count("Warning:"), 583 "Found '%s' in command output, leaky extack?" % (needle)) 592 def test_spurios_extack(sim, obj, skip_hw, needle): argument 595 check_no_extack(res, needle) 598 check_no_extack(res, needle) 601 check_no_extack(res, needle)
|
/Linux-v4.19/drivers/scsi/ |
D | NCR5380.c | 2156 struct scsi_cmnd *needle) in list_find_cmd() argument 2161 if (NCR5380_to_scmd(ncmd) == needle) in list_find_cmd() 2173 struct scsi_cmnd *needle) in list_del_cmd() argument 2175 if (list_find_cmd(haystack, needle)) { in list_del_cmd() 2176 struct NCR5380_cmd *ncmd = scsi_cmd_priv(needle); in list_del_cmd()
|
D | hpsa.c | 1543 static int hpsa_scsi_find_entry(struct hpsa_scsi_dev_t *needle, in hpsa_scsi_find_entry() argument 1552 if (needle == NULL) in hpsa_scsi_find_entry() 1558 if (SCSI3ADDR_EQ(needle->scsi3addr, haystack[i]->scsi3addr)) { in hpsa_scsi_find_entry() 1560 if (device_is_the_same(needle, haystack[i])) { in hpsa_scsi_find_entry() 1561 if (device_updated(needle, haystack[i])) in hpsa_scsi_find_entry() 1566 if (needle->volume_offline) in hpsa_scsi_find_entry()
|
/Linux-v4.19/sound/soc/codecs/ |
D | tas5086.c | 349 static int index_in_array(const int *array, int len, int needle) in index_in_array() argument 354 if (array[i] == needle) in index_in_array()
|
/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_sip.c | 345 const char *needle, unsigned int len) in ct_sip_header_search() argument 355 if (strncasecmp(dptr, needle, len) == 0) in ct_sip_header_search() 706 const char *needle, unsigned int len) in ct_sdp_header_search() argument 711 if (strncmp(dptr, needle, len) == 0) in ct_sdp_header_search()
|
/Linux-v4.19/drivers/media/dvb-core/ |
D | dvb_ca_en50221.c | 212 static char *findstr(char *haystack, int hlen, char *needle, int nlen) in findstr() argument 220 if (!strncmp(haystack + i, needle, nlen)) in findstr()
|
/Linux-v4.19/drivers/net/team/ |
D | team.c | 260 const struct team_option_inst *needle) in __team_option_inst_tmp_find() argument 265 if (opt_inst == needle) in __team_option_inst_tmp_find()
|