Home
last modified time | relevance | path

Searched refs:local_n (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/kernel/sched/
Dpelt.c33 unsigned int local_n; in decay_load() local
39 local_n = n; in decay_load()
48 if (unlikely(local_n >= LOAD_AVG_PERIOD)) { in decay_load()
49 val >>= local_n / LOAD_AVG_PERIOD; in decay_load()
50 local_n %= LOAD_AVG_PERIOD; in decay_load()
53 val = mul_u64_u32_shr(val, runnable_avg_yN_inv[local_n], 32); in decay_load()
/linux-6.1.9/tools/lib/bpf/
Drelo_core.c1425 const char *local_n, *targ_n; in bpf_core_names_match() local
1428 local_n = btf__name_by_offset(local_btf, local_name_off); in bpf_core_names_match()
1432 return str_is_empty(local_n); in bpf_core_names_match()
1435 local_len = bpf_core_essential_name_len(local_n); in bpf_core_names_match()
1437 return targ_len == local_len && strncmp(local_n, targ_n, local_len) == 0; in bpf_core_names_match()