Home
last modified time | relevance | path

Searched refs:t2 (Results 1 – 6 of 6) sorted by relevance

/kernel/
Dkcmp.c52 long t1, t2; in kcmp_ptr() local
55 t2 = kptr_obfuscate((long)v2, type); in kcmp_ptr()
57 return (t1 < t2) | ((t1 > t2) << 1); in kcmp_ptr()
Ddelayacct.c123 unsigned long long t2, t3; in delayacct_add_tsk() local
143 t2 = tsk->sched_info.run_delay; in delayacct_add_tsk()
148 tmp = (s64)d->cpu_delay_total + t2; in delayacct_add_tsk()
/kernel/trace/
Dtrace_probe.c479 const struct fetch_type *t2 = find_fetch_type(NULL); in parse_probe_arg() local
482 ret = parse_probe_arg(arg, t2, &code, end, flags, offs); in parse_probe_arg()
566 char *t, *t2, *t3; in traceprobe_parse_probe_arg_body() local
593 t2 = strchr(++t, '['); in traceprobe_parse_probe_arg_body()
594 if (t2) { in traceprobe_parse_probe_arg_body()
595 *t2++ = '\0'; in traceprobe_parse_probe_arg_body()
596 t3 = strchr(t2, ']'); in traceprobe_parse_probe_arg_body()
598 offset += t2 + strlen(t2) - arg; in traceprobe_parse_probe_arg_body()
608 if (kstrtouint(t2, 0, &parg->count) || !parg->count) { in traceprobe_parse_probe_arg_body()
609 trace_probe_log_err(offset + t2 - arg, in traceprobe_parse_probe_arg_body()
[all …]
Dtrace_hwlat.c206 time_type start, t1, t2, last_t2; in get_sample() local
230 t2 = time_get(); in get_sample()
243 last_t2 = t2; in get_sample()
245 total = time_to_us(time_sub(t2, start)); /* sample width */ in get_sample()
255 diff = time_to_us(time_sub(t2, t1)); /* current diff */ in get_sample()
/kernel/bpf/
Dbtf.c5324 struct btf *btf2, const struct btf_type *t2) in btf_check_func_type_match() argument
5331 fn2 = btf_name_by_offset(btf2, t2->name_off); in btf_check_func_type_match()
5337 if (btf_func_linkage(t2) != BTF_FUNC_GLOBAL) { in btf_check_func_type_match()
5345 t2 = btf_type_by_id(btf2, t2->type); in btf_check_func_type_match()
5346 if (!t2 || !btf_type_is_func_proto(t2)) in btf_check_func_type_match()
5351 args2 = (const struct btf_param *)(t2 + 1); in btf_check_func_type_match()
5352 nargs2 = btf_type_vlen(t2); in btf_check_func_type_match()
5361 t2 = btf_type_skip_modifiers(btf2, t2->type, NULL); in btf_check_func_type_match()
5362 if (t1->info != t2->info) { in btf_check_func_type_match()
5366 btf_type_str(t2), fn2); in btf_check_func_type_match()
[all …]
/kernel/locking/
Dlockdep.c521 static bool traces_identical(struct lock_trace *t1, struct lock_trace *t2) in traces_identical() argument
523 return t1->hash == t2->hash && t1->nr_entries == t2->nr_entries && in traces_identical()
524 memcmp(t1->entries, t2->entries, in traces_identical()
530 struct lock_trace *trace, *t2; in save_trace() local
557 hlist_for_each_entry(t2, hash_head, hash_entry) { in save_trace()
558 if (traces_identical(trace, t2)) in save_trace()
559 return t2; in save_trace()