Home
last modified time | relevance | path

Searched refs:new_base (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/kernel/time/
H A Dhrtimer.c254 struct hrtimer_clock_base *new_base; in switch_hrtimer_base() local
262 if (base != new_base) { in switch_hrtimer_base()
278 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base()
288 WRITE_ONCE(timer->base, new_base); in switch_hrtimer_base()
295 return new_base; in switch_hrtimer_base()
1222 struct hrtimer_clock_base *new_base; in __hrtimer_start_range_ns() local
1267 new_base = base; in __hrtimer_start_range_ns()
2249 struct hrtimer_clock_base *new_base) in migrate_hrtimer_list() argument
2265 timer->base = new_base; in migrate_hrtimer_list()
2295 &new_base->clock_base[i]); in hrtimers_cpu_dying()
[all …]
H A Dtimer.c1063 struct timer_base *base, *new_base; in __mod_timer() local
1145 if (base != new_base) { in __mod_timer()
1158 base = new_base; in __mod_timer()
1343 struct timer_base *new_base, *base; in add_timer_on() local
1369 if (base != new_base) { in add_timer_on()
1373 base = new_base; in add_timer_on()
2529 int cpu = new_base->cpu; in migrate_timer_list()
2535 internal_add_timer(new_base, timer); in migrate_timer_list()
2558 struct timer_base *new_base; in timers_dead_cpu() local
2568 raw_spin_lock_irq(&new_base->lock); in timers_dead_cpu()
[all …]
H A Dntp.c250 u64 second_length, new_base, tick_usec = (u64)ntpdata->tick_usec; in ntp_update_frequency() local
257 new_base = div_u64(second_length, NTP_INTERVAL_FREQ); in ntp_update_frequency()
263 ntpdata->tick_length += new_base - ntpdata->tick_length_base; in ntp_update_frequency()
264 ntpdata->tick_length_base = new_base; in ntp_update_frequency()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dbtf_distill.c541 struct btf *base = NULL, *split = NULL, *new_base = NULL, *new_split = NULL; in test_distilled_endianness() local
565 if (!ASSERT_EQ(0, btf__distill_base(split, &new_base, &new_split), in test_distilled_endianness()
567 !ASSERT_OK_PTR(new_base, "distilled_base") || in test_distilled_endianness()
569 !ASSERT_EQ(2, btf__type_cnt(new_base), "distilled_base_type_cnt")) in test_distilled_endianness()
576 raw_data = btf__raw_data(new_base, &size); in test_distilled_endianness()
599 btf__free(new_base); in test_distilled_endianness()
/linux-6.15/tools/testing/selftests/x86/
H A Dldt_gdt.c728 unsigned long new_base; in test_gdt_invalidation() local
818 syscall(SYS_arch_prctl, ARCH_GET_FS, &new_base); in test_gdt_invalidation()
838 if (sel == 0 && new_base != 0) { in test_gdt_invalidation()
840 printf("[FAIL]\tNew FSBASE was 0x%lx\n", new_base); in test_gdt_invalidation()
871 syscall(SYS_arch_prctl, ARCH_GET_GS, &new_base); in test_gdt_invalidation()
891 if (sel == 0 && new_base != 0) { in test_gdt_invalidation()
893 printf("[FAIL]\tNew GSBASE was 0x%lx\n", new_base); in test_gdt_invalidation()
/linux-6.15/arch/loongarch/kernel/
H A Dsignal.c827 unsigned long new_base = base - size; in extframe_alloc() local
829 new_base = round_down(new_base, (align < 16 ? 16 : align)); in extframe_alloc()
830 new_base -= sizeof(struct sctx_info); in extframe_alloc()
832 layout->addr = (void *)new_base; in extframe_alloc()
833 layout->size = (unsigned int)(base - new_base); in extframe_alloc()
836 return new_base; in extframe_alloc()
/linux-6.15/tools/lib/bpf/
H A Dbtf.c5599 struct btf *new_base = NULL, *new_split = NULL; in btf__distill_base() local
5611 new_base = btf__new_empty(); in btf__distill_base()
5612 if (!new_base) in btf__distill_base()
5615 btf__set_endianness(new_base, btf__endianness(src_btf)); in btf__distill_base()
5623 dist.pipe.dst = new_base; in btf__distill_base()
5653 new_split = btf__new_empty_split(new_base); in btf__distill_base()
5674 dist.diff_id = dist.split_start_id - btf__type_cnt(new_base); in btf__distill_base()
5688 btf__free(new_base); in btf__distill_base()
5691 *new_base_btf = new_base; in btf__distill_base()
/linux-6.15/arch/sparc/mm/
H A Dinit_64.c143 unsigned long new_base = PAGE_ALIGN(base); in read_obp_memory() local
145 size -= new_base - base; in read_obp_memory()
148 base = new_base; in read_obp_memory()