Searched refs:sec (Results 1 – 11 of 11) sorted by relevance
/kernel/time/ |
D | vsyscall.c | 22 u64 nsec, sec; in update_vdso_data() local 35 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_data() 41 vdso_ts->sec++; in update_vdso_data() 46 sec = vdso_ts->sec; in update_vdso_data() 48 sec += tk->monotonic_to_boot.tv_sec; in update_vdso_data() 53 vdso_ts->sec = sec; in update_vdso_data() 57 vdso_ts->sec++; in update_vdso_data() 63 vdso_ts->sec = tk->raw_sec; in update_vdso_data() 68 vdso_ts->sec = tk->xtime_sec + (s64)tk->tai_offset; in update_vdso_data() 88 vdso_ts->sec = tk->xtime_sec; in update_vsyscall() [all …]
|
D | time.c | 433 const unsigned int min, const unsigned int sec) in mktime64() argument 448 )*60 + sec; /* finally seconds */ in mktime64() 478 void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec) in set_normalized_timespec64() argument 488 ++sec; in set_normalized_timespec64() 493 --sec; in set_normalized_timespec64() 495 ts->tv_sec = sec; in set_normalized_timespec64() 590 u64 sec = value->tv_sec; in timespec64_to_jiffies() local 593 if (sec >= MAX_SEC_IN_JIFFIES){ in timespec64_to_jiffies() 594 sec = MAX_SEC_IN_JIFFIES; in timespec64_to_jiffies() 597 return ((sec * SEC_CONVERSION) + in timespec64_to_jiffies()
|
D | ntp.c | 807 s64 sec; /* seconds */ member 816 .sec = ts.tv_sec, in pps_normalize_ts() 822 norm.sec++; in pps_normalize_ts() 890 if (freq_norm.sec > (2 << pps_shift)) { in hardpps_update_freq() 896 freq_norm.sec); in hardpps_update_freq() 905 freq_norm.sec); in hardpps_update_freq() 1007 if ((freq_norm.sec == 0) || in __hardpps() 1008 (freq_norm.nsec > MAXFREQ * freq_norm.sec) || in __hardpps() 1009 (freq_norm.nsec < -MAXFREQ * freq_norm.sec)) { in __hardpps() 1020 if (freq_norm.sec >= (1 << pps_shift)) { in __hardpps()
|
D | clockevents.c | 474 u64 sec; in clockevents_config() local 484 sec = dev->max_delta_ticks; in clockevents_config() 485 do_div(sec, freq); in clockevents_config() 486 if (!sec) in clockevents_config() 487 sec = 1; in clockevents_config() 488 else if (sec > 600 && dev->max_delta_ticks > UINT_MAX) in clockevents_config() 489 sec = 600; in clockevents_config() 491 clockevents_calc_mult_shift(dev, freq, sec); in clockevents_config()
|
D | clocksource.c | 961 u64 sec; in __clocksource_update_freq_scale() local 977 sec = cs->mask; in __clocksource_update_freq_scale() 978 do_div(sec, freq); in __clocksource_update_freq_scale() 979 do_div(sec, scale); in __clocksource_update_freq_scale() 980 if (!sec) in __clocksource_update_freq_scale() 981 sec = 1; in __clocksource_update_freq_scale() 982 else if (sec > 600 && cs->mask > UINT_MAX) in __clocksource_update_freq_scale() 983 sec = 600; in __clocksource_update_freq_scale() 986 NSEC_PER_SEC / scale, sec * scale); in __clocksource_update_freq_scale()
|
D | namespace.c | 146 ret.sec = off.tv_sec; in offset_from_ts()
|
/kernel/livepatch/ |
D | core.c | 295 Elf_Shdr *sec = sechdrs + secndx; in klp_apply_section_relocs() local 302 cnt = sscanf(shstrtab + sec->sh_name, ".klp.rela.%55[^.]", in klp_apply_section_relocs() 306 shstrtab + sec->sh_name); in klp_apply_section_relocs() 313 ret = klp_resolve_symbols(sechdrs, strtab, symndx, sec, sec_objname); in klp_apply_section_relocs() 755 Elf_Shdr *sec = info->sechdrs + i; in klp_apply_object_relocs() local 757 if (!(sec->sh_flags & SHF_RELA_LIVEPATCH)) in klp_apply_object_relocs()
|
/kernel/ |
D | kexec_file.c | 1131 Elf_Shdr *sec; in kexec_purgatory_get_set_symbol() local 1144 sec = pi->sechdrs + sym->st_shndx; in kexec_purgatory_get_set_symbol() 1146 if (sec->sh_type == SHT_NOBITS) { in kexec_purgatory_get_set_symbol() 1152 sym_buf = (char *)pi->purgatory_buf + sec->sh_offset + sym->st_value; in kexec_purgatory_get_set_symbol()
|
D | module.c | 383 unsigned int sec = find_sec(info, name); in section_objs() local 386 *num = info->sechdrs[sec].sh_size / object_size; in section_objs() 387 return (void *)info->sechdrs[sec].sh_addr; in section_objs() 1626 Elf_Shdr *sec = &info->sechdrs[i]; in add_sect_attrs() local 1627 if (sect_empty(sec)) in add_sect_attrs() 1630 sattr->address = sec->sh_addr; in add_sect_attrs() 1632 kstrdup(info->secstrings + sec->sh_name, GFP_KERNEL); in add_sect_attrs() 2744 const Elf_Shdr *sec; in is_core_symbol() local 2756 sec = sechdrs + src->st_shndx; in is_core_symbol() 2757 if (!(sec->sh_flags & SHF_ALLOC) in is_core_symbol() [all …]
|
/kernel/events/ |
D | core.c | 3924 u64 sec = NSEC_PER_SEC; in perf_calculate_period() local 3965 REDUCE_FLS(sec, count); in perf_calculate_period() 3972 REDUCE_FLS(count, sec); in perf_calculate_period() 3976 dividend = count * sec; in perf_calculate_period() 3978 dividend = count * sec; in perf_calculate_period()
|
/kernel/trace/ |
D | trace.c | 7498 u64 sec = err->info.ts; in tracing_err_log_seq_show() local 7501 nsec = do_div(sec, NSEC_PER_SEC); in tracing_err_log_seq_show() 7502 seq_printf(m, "[%5llu.%06u] %s%s", sec, nsec / 1000, in tracing_err_log_seq_show()
|