Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/
Dmodify_srcu.awk143 update_fieldsep(substr($0, RSTART, RLENGTH), p);
145 $0 = substr($0, RSTART + RLENGTH);
172 update_fieldsep(substr($0, RSTART, RLENGTH), 1);
174 $0 = substr($0, RSTART + RLENGTH);
242 last_fs = substr(last_fs, index(last_fs, ",") + 1);
249 initializer = substr(old_record, start_loc, len);
297 barrier_letter = substr($0, RLENGTH, 1);
/kernel/liteos_m/testsuites/unittest/fuzz/src/string/
Dstrstr_fuzz.c49 char *substr = NULL; in StrstrFuzzTest() local
61 substr = (char *)DT_SetGetString(&g_element[0], STR_LEN, MAX_STR_LEN, "bcd"); in StrstrFuzzTest()
62 (void)strstr(str, substr); in StrstrFuzzTest()
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
Dgen-insn-x86-dat.awk30 useful_line = substr($0, colon_pos + 1)
32 useful_line = substr(useful_line, first_pos)
56 useful_line = substr($0, expecting_pos + expecting_len)
/kernel/linux/linux-5.10/scripts/
Dcheck-sysctl-docs42 value = substr(value, 1, length(value) - 1)
73 if (!inbrackets && substr($i, 1, 1) == "(") {
83 if (inbrackets && substr($i, length($i), 1) == ")") {
Dver_linux68 ver = substr($0, RSTART, RLENGTH)
/kernel/linux/linux-5.10/Documentation/arm/samsung/
Dclksrc-change-registers.awk14 return substr(s, eqat+2, (comat-eqat)-2)
19 return substr(b, 2, length(b)-2)
56 return substr(s, id+2)
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c412 char *substr, *pstr = str; in mlx5_tracer_get_num_of_params() local
416 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params()
417 while (substr) { in mlx5_tracer_get_num_of_params()
418 memcpy(substr, REPLACE_64_VAL_PARM, 4); in mlx5_tracer_get_num_of_params()
419 pstr = substr; in mlx5_tracer_get_num_of_params()
420 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params()
424 substr = strstr(str, PARAM_CHAR); in mlx5_tracer_get_num_of_params()
425 while (substr) { in mlx5_tracer_get_num_of_params()
427 str = substr + 1; in mlx5_tracer_get_num_of_params()
428 substr = strstr(str, PARAM_CHAR); in mlx5_tracer_get_num_of_params()
/kernel/linux/linux-5.10/include/linux/
Dmod_devicetable.h563 char substr[79]; member
580 #define DMI_MATCH(a, b) { .slot = a, .substr = b }
581 #define DMI_EXACT_MATCH(a, b) { .slot = a, .substr = b, .exact_match = 1 }
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4idmap.c515 substring_t substr; in nfs_idmap_prepare_message() local
519 token = match_token(desc, nfs_idmap_tokens, &substr); in nfs_idmap_prepare_message()
527 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message()
535 ret = match_int(&substr, &im->im_id); in nfs_idmap_prepare_message()
/kernel/linux/linux-5.10/drivers/platform/x86/
Deeepc-wmi.c128 model = (char *)dmi->matches[1].substr; in dmi_matched()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/drivers/
Daloop.c1554 int err, dev, substr, substr_count, idx; in loopback_mixer_new() local
1561 for (substr = 0; substr < substr_count; substr++) { in loopback_mixer_new()
1562 setup = &loopback->setup[substr][dev]; in loopback_mixer_new()
1575 kctl->id.subdevice = substr; in loopback_mixer_new()
/kernel/linux/linux-5.10/arch/x86/tools/
Dgen-insn-attr-x86.awk264 idx = "0x" substr($1, 1, index($1,":") - 1)
/kernel/linux/linux-5.10/tools/arch/x86/tools/
Dgen-insn-attr-x86.awk264 idx = "0x" substr($1, 1, index($1,":") - 1)
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmvnic.c4175 unsigned char *substr = NULL; in handle_vpd_rsp() local
4192 substr = strnstr(adapter->vpd->buff, "RM", adapter->vpd->len); in handle_vpd_rsp()
4193 if (!substr) { in handle_vpd_rsp()
4199 if ((substr + 2) < (adapter->vpd->buff + adapter->vpd->len)) { in handle_vpd_rsp()
4200 fw_level_len = *(substr + 2); in handle_vpd_rsp()
4207 if ((substr + 3 + fw_level_len) < in handle_vpd_rsp()
4209 strncpy((char *)adapter->fw_version, substr + 3, fw_level_len); in handle_vpd_rsp()
/kernel/linux/linux-5.10/scripts/mod/
Dfile2alias.c996 (*matches)[j].substr); in do_dmi_entry()