Home
last modified time | relevance | path

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

/linux-6.12.1/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)
/linux-6.12.1/scripts/
Ddecodecode133 substr=""
137 substr+="$opc"
139 opcode="$substr"
151 substr+=" "
Dcheck-sysctl-docs38 value = substr(value, 1, length(value) - 1)
69 if (!inbrackets && substr($i, 1, 1) == "(") {
79 if (inbrackets && substr($i, length($i), 1) == ")") {
Dverify_builtin_ranges.awk24 fn = substr(fn, 1, RSTART) "." substr(fn, RSTART + 1) ".cmd";
30 mod = substr(s, RSTART + 13, RLENGTH - 13);
70 val = substr(val, 5);
Dgenerate_builtin_ranges.awk24 fn = substr(fn, 1, RSTART) "." substr(fn, RSTART + 1) ".cmd";
30 mod = substr(s, RSTART + 13, RLENGTH - 13);
224 addr_prefix = "^" substr($2, 1, 6);
Dver_linux65 ver = substr($0, RSTART, RLENGTH)
/linux-6.12.1/Documentation/arch/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)
/linux-6.12.1/tools/testing/selftests/rcutorture/bin/
Dkvm-transform.sh111 rq = substr(arg, length($i), 1);
112 arg = substr(arg, 1, length($i) - 1);
/linux-6.12.1/lib/kunit/
Dassert_test.c11 #define ASSERT_TEST_EXPECT_CONTAIN(test, str, substr) KUNIT_EXPECT_TRUE(test, strstr(str, substr)) argument
12 #define ASSERT_TEST_EXPECT_NCONTAIN(test, str, substr) KUNIT_EXPECT_FALSE(test, strstr(str, substr)) argument
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dfw_tracer.c419 char *substr, *pstr = str; in mlx5_tracer_get_num_of_params() local
423 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params()
424 while (substr) { in mlx5_tracer_get_num_of_params()
425 memcpy(substr, REPLACE_64_VAL_PARM, 4); in mlx5_tracer_get_num_of_params()
426 pstr = substr; in mlx5_tracer_get_num_of_params()
427 substr = strstr(pstr, VAL_PARM); in mlx5_tracer_get_num_of_params()
431 substr = strstr(str, PARAM_CHAR); in mlx5_tracer_get_num_of_params()
432 while (substr) { in mlx5_tracer_get_num_of_params()
434 str = substr + 1; in mlx5_tracer_get_num_of_params()
435 substr = strstr(str, PARAM_CHAR); in mlx5_tracer_get_num_of_params()
/linux-6.12.1/drivers/s390/block/
Ddasd_proc.c35 char *substr; in dasd_devices_show() local
66 substr = (device->features & DASD_FEATURE_READONLY) ? "(ro)" : " "; in dasd_devices_show()
67 seq_printf(m, "%4s: ", substr); in dasd_devices_show()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_loader.c58 const char *substr; /* substring match */ member
215 msg->substr = pattern; in __push_msg()
234 err = __push_msg(msg->substr, msg->on_next_line, to); in clone_msgs()
241 static int push_msg(const char *substr, struct expected_msgs *msgs) in push_msg() argument
243 return __push_msg(substr, false, msgs); in push_msg()
675 match = strstr(log, msg->substr); in validate_msgs()
677 log = match + strlen(msg->substr); in validate_msgs()
710 msg->substr); in validate_msgs()
Dtest_progs.h330 #define ASSERT_HAS_SUBSTR(str, substr, name) ({ \ argument
333 const char *___substr = substr; \
/linux-6.12.1/include/linux/
Dmod_devicetable.h584 char substr[79]; member
601 #define DMI_MATCH(a, b) { .slot = a, .substr = b }
602 #define DMI_EXACT_MATCH(a, b) { .slot = a, .substr = b, .exact_match = 1 }
/linux-6.12.1/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()
/linux-6.12.1/tools/perf/tests/shell/
Dtest_intel_pt.sh180 $0 = substr($0, RSTART, RLENGTH)
192 $0 = substr($0, RSTART, RLENGTH)
205 $0 = substr($0, RSTART, RLENGTH)
/linux-6.12.1/drivers/platform/x86/
Deeepc-wmi.c123 model = (char *)dmi->matches[1].substr; in dmi_matched()
/linux-6.12.1/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh456 S=$(expr substr $CMD 1 1)
608 EVAL=$(expr substr $STATE 2 2)
/linux-6.12.1/drivers/firmware/
Ddmi_scan.c856 dmi->matches[i].substr, NULL); in dmi_matches()
862 dmi->matches[i].substr)) in dmi_matches()
866 dmi->matches[i].substr)) in dmi_matches()
/linux-6.12.1/sound/drivers/
Daloop.c1632 int err, dev, substr, substr_count, idx; in loopback_mixer_new() local
1639 for (substr = 0; substr < substr_count; substr++) { in loopback_mixer_new()
1640 setup = &loopback->setup[substr][dev]; in loopback_mixer_new()
1654 kctl->id.subdevice = substr; in loopback_mixer_new()
/linux-6.12.1/tools/arch/x86/tools/
Dgen-insn-attr-x86.awk269 idx = "0x" substr($1, 1, index($1,":") - 1)
/linux-6.12.1/arch/x86/tools/
Dgen-insn-attr-x86.awk269 idx = "0x" substr($1, 1, index($1,":") - 1)
/linux-6.12.1/tools/testing/kunit/
Dkunit_tool_test.py87 def noPrintCallContains(self, substr: str):
89 self.assertNotIn(substr, call.args[0])
/linux-6.12.1/drivers/net/ethernet/ibm/
Dibmvnic.c5273 unsigned char *substr = NULL; in handle_vpd_rsp() local
5290 substr = strnstr(adapter->vpd->buff, "RM", adapter->vpd->len); in handle_vpd_rsp()
5291 if (!substr) { in handle_vpd_rsp()
5297 if ((substr + 2) < (adapter->vpd->buff + adapter->vpd->len)) { in handle_vpd_rsp()
5298 fw_level_len = *(substr + 2); in handle_vpd_rsp()
5305 if ((substr + 3 + fw_level_len) < in handle_vpd_rsp()
5307 strscpy(adapter->fw_version, substr + 3, in handle_vpd_rsp()
/linux-6.12.1/scripts/mod/
Dfile2alias.c1029 (*matches)[j].substr); in do_dmi_entry()