Searched refs:new_base (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/kernel/time/ |
D | hrtimer.c | 195 hrtimer_check_target(struct hrtimer *timer, struct hrtimer_clock_base *new_base) in hrtimer_check_target() argument 199 expires = ktime_sub(hrtimer_get_expires(timer), new_base->offset); in hrtimer_check_target() 200 return expires < new_base->cpu_base->expires_next; in hrtimer_check_target() 231 struct hrtimer_clock_base *new_base; in switch_hrtimer_base() local 237 new_base = &new_cpu_base->clock_base[basenum]; in switch_hrtimer_base() 239 if (base != new_base) { in switch_hrtimer_base() 255 raw_spin_lock(&new_base->cpu_base->lock); in switch_hrtimer_base() 258 hrtimer_check_target(timer, new_base)) { in switch_hrtimer_base() 259 raw_spin_unlock(&new_base->cpu_base->lock); in switch_hrtimer_base() 265 WRITE_ONCE(timer->base, new_base); in switch_hrtimer_base() [all …]
|
D | timer.c | 1068 struct timer_base *base, *new_base; in __mod_timer() local 1148 new_base = get_timer_this_cpu_base(timer->flags); in __mod_timer() 1150 if (base != new_base) { in __mod_timer() 1163 base = new_base; in __mod_timer() 1348 struct timer_base *new_base, *base; in add_timer_on() local 1359 new_base = get_timer_cpu_base(timer->flags, cpu); in add_timer_on() 1374 if (base != new_base) { in add_timer_on() 1378 base = new_base; in add_timer_on() 2665 static void migrate_timer_list(struct timer_base *new_base, struct hlist_head *head) in migrate_timer_list() argument 2668 int cpu = new_base->cpu; in migrate_timer_list() [all …]
|
D | ntp.c | 262 u64 new_base; in ntp_update_frequency() local 271 new_base = div_u64(second_length, NTP_INTERVAL_FREQ); in ntp_update_frequency() 277 tick_length += new_base - tick_length_base; in ntp_update_frequency() 278 tick_length_base = new_base; in ntp_update_frequency()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | btf_distill.c | 541 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.12.1/tools/testing/selftests/x86/ |
D | ldt_gdt.c | 738 unsigned long new_base; in test_gdt_invalidation() local 828 syscall(SYS_arch_prctl, ARCH_GET_FS, &new_base); in test_gdt_invalidation() 848 if (sel == 0 && new_base != 0) { in test_gdt_invalidation() 850 printf("[FAIL]\tNew FSBASE was 0x%lx\n", new_base); in test_gdt_invalidation() 881 syscall(SYS_arch_prctl, ARCH_GET_GS, &new_base); in test_gdt_invalidation() 901 if (sel == 0 && new_base != 0) { in test_gdt_invalidation() 903 printf("[FAIL]\tNew GSBASE was 0x%lx\n", new_base); in test_gdt_invalidation()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | signal.c | 848 unsigned long new_base = base - size; in extframe_alloc() local 850 new_base = round_down(new_base, (align < 16 ? 16 : align)); in extframe_alloc() 851 new_base -= sizeof(struct sctx_info); in extframe_alloc() 853 layout->addr = (void *)new_base; in extframe_alloc() 854 layout->size = (unsigned int)(base - new_base); in extframe_alloc() 857 return new_base; in extframe_alloc()
|
/linux-6.12.1/tools/lib/bpf/ |
D | btf.c | 5383 struct btf *new_base = NULL, *new_split = NULL; in btf__distill_base() local 5395 new_base = btf__new_empty(); in btf__distill_base() 5396 if (!new_base) in btf__distill_base() 5399 btf__set_endianness(new_base, btf__endianness(src_btf)); in btf__distill_base() 5407 dist.pipe.dst = new_base; in btf__distill_base() 5437 new_split = btf__new_empty_split(new_base); in btf__distill_base() 5458 dist.diff_id = dist.split_start_id - btf__type_cnt(new_base); in btf__distill_base() 5472 btf__free(new_base); in btf__distill_base() 5475 *new_base_btf = new_base; in btf__distill_base()
|
/linux-6.12.1/arch/sparc/mm/ |
D | init_64.c | 143 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()
|