/Linux-v5.15/drivers/watchdog/ |
D | mlx_wdt.c | 231 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.15/kernel/kcsan/ |
D | report.c | 202 if (!strnstr(buf, "rcu_", len) && in skip_report() 203 !strnstr(buf, "_rcu", len) && in skip_report() 204 !strnstr(buf, "_srcu", len)) in skip_report() 281 if (strnstr(buf, "tsan_", len) || in get_stack_skipnr() 282 strnstr(buf, "_once_size", len)) in get_stack_skipnr() 285 cur = strnstr(buf, "kcsan_", len); in get_stack_skipnr()
|
D | kcsan_test.c | 103 if (strnstr(buf, "BUG: KCSAN: ", len) && strnstr(buf, "test_", len)) { in probe_console() 112 } else if ((nlines == 1 || nlines == 2) && strnstr(buf, "bytes by", len)) { in probe_console() 115 if (strnstr(buf, "race at unknown origin", len)) { in probe_console()
|
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fru_eeprom.c | 52 if (strnstr(atom_ctx->vbios_version, "D161", in is_fru_eeprom_supported() 54 strnstr(atom_ctx->vbios_version, "D163", in is_fru_eeprom_supported()
|
D | amdgpu_ras_eeprom.c | 104 if (strnstr(atom_ctx->vbios_version, in __get_eeprom_i2c_addr_arct()
|
D | amdgpu_ras.c | 2093 if (strnstr(ctx->vbios_version, "D16406", in amdgpu_ras_get_quirks() 2095 strnstr(ctx->vbios_version, "D36002", in amdgpu_ras_get_quirks()
|
/Linux-v5.15/drivers/hwmon/ |
D | mlxreg-fan.c | 429 if (strnstr(data->label, "tacho", sizeof(data->label))) { in mlxreg_fan_config() 451 } else if (strnstr(data->label, "pwm", sizeof(data->label))) { in mlxreg_fan_config() 459 } else if (strnstr(data->label, "conf", sizeof(data->label))) { in mlxreg_fan_config()
|
/Linux-v5.15/security/apparmor/ |
D | policy_ns.c | 205 for (split = strnstr(hname, "//", n); split; in __aa_lookupn_ns() 206 split = strnstr(hname, "//", n)) { in __aa_lookupn_ns()
|
D | policy.c | 402 for (split = strnstr(hname, "//", n); split; in __lookupn_profile() 403 split = strnstr(hname, "//", n)) { in __lookupn_profile()
|
/Linux-v5.15/mm/kfence/ |
D | kfence_test.c | 53 if (strnstr(buf, "BUG: KFENCE: ", len) && strnstr(buf, "test_", len)) { in probe_console() 62 } else if (nlines == 1 && (strnstr(buf, "at 0x", len) || strnstr(buf, "of 0x", len))) { in probe_console()
|
/Linux-v5.15/lib/ |
D | string.c | 1038 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() function 1053 EXPORT_SYMBOL(strnstr);
|
/Linux-v5.15/drivers/gpu/drm/arm/ |
D | malidp_drv.c | 613 dt_is_dp500 = strnstr(dev_id->compatible, compatstr_dp500, in malidp_is_compatible_hw_id() 627 if (!strnstr(dev_id->compatible, buf, in malidp_is_compatible_hw_id() 643 if (!strnstr(dev_id->compatible, compatstr_dp500, in malidp_has_sufficient_address_space()
|
/Linux-v5.15/include/linux/ |
D | string.h | 85 extern char * strnstr(const char *, const char *, size_t);
|
/Linux-v5.15/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptpf_ucode.c | 133 if (!strnstr(tmp_ver_str, ver_str_prefix, OTX2_CPT_UCODE_VER_STR_SZ)) in get_ucode_type() 137 if (strnstr(tmp_ver_str, "se-", OTX2_CPT_UCODE_VER_STR_SZ) && in get_ucode_type() 141 if (strnstr(tmp_ver_str, "ie-", OTX2_CPT_UCODE_VER_STR_SZ) && in get_ucode_type() 145 if (strnstr(tmp_ver_str, "ae", OTX2_CPT_UCODE_VER_STR_SZ) && in get_ucode_type()
|
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | feature.c | 195 if (strnstr(caps, brcmf_fwcap_map[i].fwcap_id, sizeof(caps))) { in brcmf_feat_firmware_capabilities()
|
D | firmware.c | 447 ccode = strnstr((char *)data, "ccode=ALL", data_len); in brcmf_fw_fix_efi_nvram_ccode() 449 ccode = strnstr((char *)data, "ccode=XV\r", data_len); in brcmf_fw_fix_efi_nvram_ccode()
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | eprom.c | 235 p = strnstr(buffer, IMAGE_TRAIL_MAGIC, P1_SIZE); in read_partition_platform_config()
|
/Linux-v5.15/drivers/misc/habanalabs/common/ |
D | firmware_if.c | 28 str = strnstr(fw_str, "fw-", VERSION_MAX_LEN); in extract_fw_ver_from_str() 36 whitespace = strnstr(str, " ", 15); in extract_fw_ver_from_str() 1207 preboot_ver = strnstr(prop->preboot_ver, "Preboot", in hl_fw_static_read_device_fw_version() 1821 preboot_ver = strnstr(prop->preboot_ver, "Preboot", in hl_fw_dynamic_read_device_fw_version()
|
/Linux-v5.15/drivers/crypto/marvell/octeontx/ |
D | otx_cptpf_ucode.c | 146 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.15/drivers/block/rnbd/ |
D | rnbd-srv.c | 617 a = strnstr(dev_search_path, "%SESSNAME%", sizeof(dev_search_path)); in rnbd_srv_get_full_path()
|
/Linux-v5.15/sound/soc/codecs/ |
D | wcd9335.c | 2579 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()
|
D | wcd938x.c | 2120 if (strnstr(w->name, "ADC", sizeof("ADC"))) { in wcd938x_tx_swr_ctrl() 2147 if (strnstr(w->name, "ADC", sizeof("ADC"))) { in wcd938x_tx_swr_ctrl()
|
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_thermal.c | 126 if (strnstr(cdev->type, mlxsw_thermal_external_allowed_cdev[i], in mlxsw_get_cooling_device_idx()
|
/Linux-v5.15/kernel/trace/ |
D | trace_events_filter.c | 784 return strnstr(str, r->pattern, len) != NULL; in regex_match_middle()
|
/Linux-v5.15/drivers/staging/greybus/ |
D | audio_topology.c | 366 !strnstr(kcontrol->id.name, " Volume", sizeof(kcontrol->id.name))) in gbcodec_mixer_dapm_ctl_info()
|