Home
last modified time | relevance | path

Searched refs:substr (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c413 char *substr, *pstr = str; in mlx5_tracer_get_num_of_params() local
417 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params()
418 while (substr) { in mlx5_tracer_get_num_of_params()
419 memcpy(substr, REPLACE_64_VAL_PARM, 4); in mlx5_tracer_get_num_of_params()
420 pstr = substr; in mlx5_tracer_get_num_of_params()
421 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params()
425 substr = strstr(str, PARAM_CHAR); in mlx5_tracer_get_num_of_params()
426 while (substr) { in mlx5_tracer_get_num_of_params()
428 str = substr + 1; in mlx5_tracer_get_num_of_params()
429 substr = strstr(str, PARAM_CHAR); in mlx5_tracer_get_num_of_params()
/drivers/s390/block/
Ddasd_proc.c40 char *substr; in dasd_devices_show() local
71 substr = (device->features & DASD_FEATURE_READONLY) ? "(ro)" : " "; in dasd_devices_show()
72 seq_printf(m, "%4s: ", substr); in dasd_devices_show()
/drivers/platform/x86/
Deeepc-wmi.c128 model = (char *)dmi->matches[1].substr; in dmi_matched()
/drivers/firmware/
Ddmi_scan.c840 dmi->matches[i].substr, NULL); in dmi_matches()
846 dmi->matches[i].substr)) in dmi_matches()
850 dmi->matches[i].substr)) in dmi_matches()
/drivers/net/ethernet/ibm/
Dibmvnic.c4188 unsigned char *substr = NULL; in handle_vpd_rsp() local
4205 substr = strnstr(adapter->vpd->buff, "RM", adapter->vpd->len); in handle_vpd_rsp()
4206 if (!substr) { in handle_vpd_rsp()
4212 if ((substr + 2) < (adapter->vpd->buff + adapter->vpd->len)) { in handle_vpd_rsp()
4213 fw_level_len = *(substr + 2); in handle_vpd_rsp()
4220 if ((substr + 3 + fw_level_len) < in handle_vpd_rsp()
4222 strncpy((char *)adapter->fw_version, substr + 3, fw_level_len); in handle_vpd_rsp()