Home
last modified time | relevance | path

Searched refs:strnstr (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.10/drivers/watchdog/
Dmlx_wdt.c231 if (strnstr(data->label, "action", sizeof(data->label))) in mlxreg_wdt_config()
233 else if (strnstr(data->label, "timeout", sizeof(data->label))) in mlxreg_wdt_config()
235 else if (strnstr(data->label, "timeleft", sizeof(data->label))) in mlxreg_wdt_config()
237 else if (strnstr(data->label, "ping", sizeof(data->label))) in mlxreg_wdt_config()
239 else if (strnstr(data->label, "reset", sizeof(data->label))) in mlxreg_wdt_config()
244 if (strnstr(pdata->identity, mlxreg_wdt_main_info.identity, in mlxreg_wdt_config()
/Linux-v5.10/kernel/kcsan/
Dreport.c197 if (!strnstr(buf, "rcu_", len) && in skip_report()
198 !strnstr(buf, "_rcu", len) && in skip_report()
199 !strnstr(buf, "_srcu", len)) in skip_report()
276 if (strnstr(buf, "tsan_", len) || in get_stack_skipnr()
277 strnstr(buf, "_once_size", len)) in get_stack_skipnr()
280 cur = strnstr(buf, "kcsan_", len); in get_stack_skipnr()
Dkcsan-test.c101 if (strnstr(buf, "BUG: KCSAN: ", len) && strnstr(buf, "test_", len)) { in probe_console()
110 } else if ((nlines == 1 || nlines == 2) && strnstr(buf, "bytes by", len)) { in probe_console()
113 if (strnstr(buf, "race at unknown origin", len)) { in probe_console()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_fru_eeprom.c52 if (strnstr(atom_ctx->vbios_version, "D161", in is_fru_eeprom_supported()
54 strnstr(atom_ctx->vbios_version, "D163", in is_fru_eeprom_supported()
Damdgpu_ras_eeprom.c79 if (strnstr(atom_ctx->vbios_version, in __get_eeprom_i2c_addr_arct()
/Linux-v5.10/drivers/hwmon/
Dmlxreg-fan.c399 if (strnstr(data->label, "tacho", sizeof(data->label))) { in mlxreg_fan_config()
419 } else if (strnstr(data->label, "pwm", sizeof(data->label))) { in mlxreg_fan_config()
427 } else if (strnstr(data->label, "conf", sizeof(data->label))) { in mlxreg_fan_config()
/Linux-v5.10/security/apparmor/
Dpolicy_ns.c205 for (split = strnstr(hname, "//", n); split; in __aa_lookupn_ns()
206 split = strnstr(hname, "//", n)) { in __aa_lookupn_ns()
Dpolicy.c402 for (split = strnstr(hname, "//", n); split; in __lookupn_profile()
403 split = strnstr(hname, "//", n)) { in __lookupn_profile()
/Linux-v5.10/lib/
Dstring.c1026 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() function
1041 EXPORT_SYMBOL(strnstr);
/Linux-v5.10/drivers/gpu/drm/arm/
Dmalidp_drv.c611 dt_is_dp500 = strnstr(dev_id->compatible, compatstr_dp500, in malidp_is_compatible_hw_id()
625 if (!strnstr(dev_id->compatible, buf, in malidp_is_compatible_hw_id()
641 if (!strnstr(dev_id->compatible, compatstr_dp500, in malidp_has_sufficient_address_space()
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfeature.c195 if (strnstr(caps, brcmf_fwcap_map[i].fwcap_id, sizeof(caps))) { in brcmf_feat_firmware_capabilities()
Dfirmware.c451 ccode = strnstr((char *)data, "ccode=ALL", data_len); in brcmf_fw_fix_efi_nvram_ccode()
453 ccode = strnstr((char *)data, "ccode=XV\r", data_len); in brcmf_fw_fix_efi_nvram_ccode()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
Deprom.c276 p = strnstr(buffer, IMAGE_TRAIL_MAGIC, P1_SIZE); in read_partition_platform_config()
/Linux-v5.10/drivers/crypto/marvell/octeontx/
Dotx_cptpf_ucode.c146 if (strnstr(tmp_ver_str, "se-", OTX_CPT_UCODE_VER_STR_SZ) && in get_ucode_type()
150 if (strnstr(tmp_ver_str, "ae", OTX_CPT_UCODE_VER_STR_SZ) && in get_ucode_type()
1388 if (strnstr(val, " ", strlen(val))) in ucode_load_store()
/Linux-v5.10/include/linux/
Dstring.h85 extern char * strnstr(const char *, const char *, size_t);
/Linux-v5.10/drivers/block/rnbd/
Drnbd-srv.c603 a = strnstr(dev_search_path, "%SESSNAME%", sizeof(dev_search_path)); in rnbd_srv_get_full_path()
/Linux-v5.10/sound/soc/codecs/
Dwcd9335.c2579 if (strnstr(w->name, "MIC BIAS1", sizeof("MIC BIAS1"))) in __wcd9335_codec_enable_micbias()
2581 else if (strnstr(w->name, "MIC BIAS2", sizeof("MIC BIAS2"))) in __wcd9335_codec_enable_micbias()
2583 else if (strnstr(w->name, "MIC BIAS3", sizeof("MIC BIAS3"))) in __wcd9335_codec_enable_micbias()
2585 else if (strnstr(w->name, "MIC BIAS4", sizeof("MIC BIAS4"))) in __wcd9335_codec_enable_micbias()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dcore_thermal.c143 if (strnstr(cdev->type, mlxsw_thermal_external_allowed_cdev[i], in mlxsw_get_cooling_device_idx()
/Linux-v5.10/drivers/staging/greybus/
Daudio_topology.c366 !strnstr(kcontrol->id.name, " Volume", NAME_SIZE)) in gbcodec_mixer_dapm_ctl_info()
/Linux-v5.10/kernel/trace/
Dtrace_events_filter.c784 return strnstr(str, r->pattern, len) != NULL; in regex_match_middle()
/Linux-v5.10/drivers/hid/
Dhid-logitech-hidpp.c3101 consumer_rdesc = strnstr(rdesc, consumer_rdesc_start, *rsize); in hidpp10_consumer_keys_report_fixup()
/Linux-v5.10/fs/ceph/
Dmds_client.c3324 if (err_str && strnstr(*p, "blacklisted", len)) in __decode_session_metadata()
/Linux-v5.10/drivers/net/ethernet/ibm/
Dibmvnic.c4186 substr = strnstr(adapter->vpd->buff, "RM", adapter->vpd->len); in handle_vpd_rsp()