/linux-6.12.1/drivers/watchdog/ |
D | mlx_wdt.c | 229 if (strnstr(data->label, "action", sizeof(data->label))) in mlxreg_wdt_config() 231 else if (strnstr(data->label, "timeout", sizeof(data->label))) in mlxreg_wdt_config() 233 else if (strnstr(data->label, "timeleft", sizeof(data->label))) in mlxreg_wdt_config() 235 else if (strnstr(data->label, "ping", sizeof(data->label))) in mlxreg_wdt_config() 237 else if (strnstr(data->label, "reset", sizeof(data->label))) in mlxreg_wdt_config() 242 if (strnstr(pdata->identity, mlxreg_wdt_main_info.identity, in mlxreg_wdt_config()
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_fru_eeprom.c | 66 if (strnstr(atom_ctx->vbios_pn, "D161", in is_fru_eeprom_supported() 68 strnstr(atom_ctx->vbios_pn, "D163", in is_fru_eeprom_supported() 81 if (strnstr(atom_ctx->vbios_pn, "D603", in is_fru_eeprom_supported() 83 if (strnstr(atom_ctx->vbios_pn, "D603GLXE", in is_fru_eeprom_supported() 97 if (!strnstr(atom_ctx->vbios_pn, "D673", in is_fru_eeprom_supported()
|
D | amdgpu_ras_eeprom.c | 200 else if (strnstr(atom_ctx->vbios_pn, in __get_eeprom_i2c_addr() 211 if (strnstr(atom_ctx->vbios_pn, "D673", in __get_eeprom_i2c_addr() 218 if (strnstr(atom_ctx->vbios_pn, "D707", in __get_eeprom_i2c_addr()
|
/linux-6.12.1/kernel/kcsan/ |
D | report.c | 204 if (!strnstr(buf, "rcu_", len) && in skip_report() 205 !strnstr(buf, "_rcu", len) && in skip_report() 206 !strnstr(buf, "_srcu", len)) in skip_report() 287 if (strnstr(buf, "tsan_", len) || in get_stack_skipnr() 288 strnstr(buf, "_once_size", len)) in get_stack_skipnr() 291 cur = strnstr(buf, "kcsan_", len); in get_stack_skipnr()
|
D | kcsan_test.c | 111 if (strnstr(buf, "BUG: KCSAN: ", len) && strnstr(buf, "test_", len)) { in probe_console() 120 } else if ((nlines == 1 || nlines == 2) && strnstr(buf, "bytes by", len)) { in probe_console() 123 if (strnstr(buf, "race at unknown origin", len)) { in probe_console()
|
/linux-6.12.1/mm/kmsan/ |
D | report.c | 46 if ((strnstr(buf, "__msan_", len) == buf) || in get_stack_skipnr() 47 (strnstr(buf, "kmsan_", len) == buf)) in get_stack_skipnr()
|
D | kmsan_test.c | 49 if (strnstr(buf, "BUG: KMSAN: ", len)) { in probe_console()
|
/linux-6.12.1/security/apparmor/ |
D | policy_ns.c | 179 for (split = strnstr(hname, "//", n); split; in __aa_lookupn_ns() 180 split = strnstr(hname, "//", n)) { in __aa_lookupn_ns()
|
D | policy.c | 533 for (split = strnstr(hname, "//", n); split; in __lookupn_profile() 534 split = strnstr(hname, "//", n)) { in __lookupn_profile()
|
/linux-6.12.1/drivers/hwmon/ |
D | mlxreg-fan.c | 458 if (strnstr(data->label, "tacho", sizeof(data->label))) { in mlxreg_fan_config() 480 } else if (strnstr(data->label, "pwm", sizeof(data->label))) { in mlxreg_fan_config() 499 } else if (strnstr(data->label, "conf", sizeof(data->label))) { in mlxreg_fan_config()
|
/linux-6.12.1/mm/kfence/ |
D | kfence_test.c | 58 if (strnstr(buf, "BUG: KFENCE: ", len) && strnstr(buf, "test_", len)) { in probe_console() 67 } else if (nlines == 1 && (strnstr(buf, "at 0x", len) || strnstr(buf, "of 0x", len))) { in probe_console()
|
/linux-6.12.1/lib/ |
D | string.c | 759 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() function 774 EXPORT_SYMBOL(strnstr);
|
/linux-6.12.1/drivers/gpu/drm/arm/ |
D | malidp_drv.c | 609 dt_is_dp500 = strnstr(dev_id->compatible, compatstr_dp500, in malidp_is_compatible_hw_id() 623 if (!strnstr(dev_id->compatible, buf, in malidp_is_compatible_hw_id() 639 if (!strnstr(dev_id->compatible, compatstr_dp500, in malidp_has_sufficient_address_space()
|
/linux-6.12.1/drivers/crypto/marvell/octeontx2/ |
D | otx2_cptpf_ucode.c | 136 if (!strnstr(tmp_ver_str, ver_str_prefix, OTX2_CPT_UCODE_VER_STR_SZ)) in get_ucode_type() 140 if (strnstr(tmp_ver_str, "se-", OTX2_CPT_UCODE_VER_STR_SZ) && in get_ucode_type() 144 if (strnstr(tmp_ver_str, "ie-", OTX2_CPT_UCODE_VER_STR_SZ) && in get_ucode_type() 148 if (strnstr(tmp_ver_str, "ae", OTX2_CPT_UCODE_VER_STR_SZ) && in get_ucode_type() 1661 if (strnstr(val, " ", strlen(val))) in otx2_cpt_dl_custom_egrp_create()
|
/linux-6.12.1/drivers/accel/habanalabs/common/ |
D | firmware_if.c | 78 str = strnstr(fw_str, "fw-", VERSION_MAX_LEN); in extract_fw_ver_from_str() 87 whitespace = strnstr(str, " ", VERSION_MAX_LEN - ver_offset); in extract_fw_ver_from_str() 141 end = strnstr(fw_str, "-rc-", VERSION_MAX_LEN); in hl_get_sw_major_minor_subminor() 146 end = strnstr(fw_str, "-fw-", VERSION_MAX_LEN); in hl_get_sw_major_minor_subminor() 1651 preboot_ver = strnstr(prop->preboot_ver, "Preboot", in hl_fw_static_read_device_fw_version() 2327 preboot_ver = strnstr(prop->preboot_ver, "Preboot", VERSION_MAX_LEN); in hl_fw_dynamic_read_device_fw_version()
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | eprom.c | 235 p = strnstr(buffer, IMAGE_TRAIL_MAGIC, P1_SIZE); in read_partition_platform_config()
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 477 ccode = strnstr((char *)data, "ccode=ALL", data_len); in brcmf_fw_fix_efi_nvram_ccode() 479 ccode = strnstr((char *)data, "ccode=XV\r", data_len); in brcmf_fw_fix_efi_nvram_ccode()
|
D | feature.c | 243 if (strnstr(caps, brcmf_fwcap_map[i].fwcap_id, sizeof(caps))) { in brcmf_feat_firmware_capabilities()
|
/linux-6.12.1/include/linux/ |
D | string.h | 197 extern char * strnstr(const char *, const char *, size_t);
|
/linux-6.12.1/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() 1401 if (strnstr(val, " ", strlen(val))) in ucode_load_store()
|
/linux-6.12.1/mm/kasan/ |
D | kasan_test_c.c | 54 if (strnstr(buf, "BUG: KASAN: ", len)) in probe_console() 56 else if (strnstr(buf, "Asynchronous fault: ", len)) in probe_console()
|
/linux-6.12.1/drivers/block/rnbd/ |
D | rnbd-srv.c | 606 a = strnstr(dev_search_path, "%SESSNAME%", sizeof(dev_search_path)); in rnbd_srv_get_full_path()
|
/linux-6.12.1/sound/soc/codecs/ |
D | wcd9335.c | 2569 if (strnstr(w->name, "MIC BIAS1", sizeof("MIC BIAS1"))) in __wcd9335_codec_enable_micbias() 2571 else if (strnstr(w->name, "MIC BIAS2", sizeof("MIC BIAS2"))) in __wcd9335_codec_enable_micbias() 2573 else if (strnstr(w->name, "MIC BIAS3", sizeof("MIC BIAS3"))) in __wcd9335_codec_enable_micbias() 2575 else if (strnstr(w->name, "MIC BIAS4", sizeof("MIC BIAS4"))) in __wcd9335_codec_enable_micbias()
|
D | wcd938x.c | 1106 if (strnstr(w->name, "ADC", sizeof("ADC"))) { in wcd938x_tx_swr_ctrl() 1133 if (strnstr(w->name, "ADC", sizeof("ADC"))) { in wcd938x_tx_swr_ctrl()
|
D | wcd939x.c | 1021 if (strnstr(w->name, "ADC", sizeof("ADC"))) { in wcd939x_tx_swr_ctrl() 1042 if (strnstr(w->name, "ADC", sizeof("ADC"))) { in wcd939x_tx_swr_ctrl()
|