Home
last modified time | relevance | path

Searched refs:needle (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/scripts/selinux/genheaders/
Dgenheaders.c52 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/
Dcgroup_util.h28 const char *needle);
Dcgroup_util.c116 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/
Ddma-api.c107 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/
Dtest_offload.py581 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/
DNCR5380.c2156 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()
Dhpsa.c1543 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/
Dtas5086.c349 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/
Dnf_conntrack_sip.c345 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/
Ddvb_ca_en50221.c212 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/
Dteam.c260 const struct team_option_inst *needle) in __team_option_inst_tmp_find() argument
265 if (opt_inst == needle) in __team_option_inst_tmp_find()