Home
last modified time | relevance | path

Searched refs:tk (Results 1 – 15 of 15) sorted by relevance

/linux/kernel/time/
H A Dtimekeeping.c66 static inline bool tk_is_aux(const struct timekeeper *tk) in tk_is_aux() argument
68 return tk->id >= TIMEKEEPER_AUX_FIRST && tk->id <= TIMEKEEPER_AUX_LAST; in tk_is_aux()
77 static inline bool tk_is_aux(const struct timekeeper *tk) in tk_is_aux()
87 static inline void tk_update_aux_offs(struct timekeeper *tk, ktime_t offs)
89 tk->offs_aux = offs;
90 tk->monotonic_to_aux = ktime_to_timespec64(offs);
191 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime()
193 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk in tk_normalize_xtime()
76 tk_is_aux(const struct timekeeper * tk) tk_is_aux() argument
82 tk_update_aux_offs(struct timekeeper * tk,ktime_t offs) tk_update_aux_offs() argument
186 tk_normalize_xtime(struct timekeeper * tk) tk_normalize_xtime() argument
198 tk_xtime(const struct timekeeper * tk) tk_xtime() argument
207 tk_xtime_coarse(const struct timekeeper * tk) tk_xtime_coarse() argument
225 tk_update_coarse_nsecs(struct timekeeper * tk) tk_update_coarse_nsecs() argument
230 tk_set_xtime(struct timekeeper * tk,const struct timespec64 * ts) tk_set_xtime() argument
237 tk_xtime_add(struct timekeeper * tk,const struct timespec64 * ts) tk_xtime_add() argument
245 tk_set_wall_to_mono(struct timekeeper * tk,struct timespec64 wtm) tk_set_wall_to_mono() argument
263 tk_update_sleep_time(struct timekeeper * tk,ktime_t delta) tk_update_sleep_time() argument
333 tk_setup_internals(struct timekeeper * tk,struct clocksource * clock) tk_setup_internals() argument
579 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_boot_fast_ns() local
596 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_tai_fast_ns() local
635 halt_fast_timekeeper(const struct timekeeper * tk) halt_fast_timekeeper() argument
654 update_pvclock_gtod(struct timekeeper * tk,bool was_set) update_pvclock_gtod() argument
665 struct timekeeper *tk = &tk_core.timekeeper; pvclock_gtod_register_notifier() local
691 tk_update_leap_state(struct timekeeper * tk) tk_update_leap_state() argument
714 tk_update_ktime_data(struct timekeeper * tk) tk_update_ktime_data() argument
785 struct timekeeper *tk = &tkd->shadow_timekeeper; timekeeping_update_from_shadow() local
841 timekeeping_forward_now(struct timekeeper * tk) timekeeping_forward_now() argument
886 struct timekeeper *tk = &tk_core.timekeeper; ktime_expiry_to_cycles() local
936 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_real_ts64() local
957 struct timekeeper *tk = &tk_core.timekeeper; ktime_get() local
977 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_resolution_ns() local
1000 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_with_offset() local
1022 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_with_offset() local
1074 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_raw() local
1100 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_ts64() local
1132 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_seconds() local
1151 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_real_seconds() local
1180 struct timekeeper *tk = &tk_core.timekeeper; __ktime_get_real_seconds() local
1191 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_snapshot() local
1264 struct timekeeper *tk = &tk_core.timekeeper; adjust_historical_crosststamp() local
1416 struct timekeeper *tk = &tk_core.timekeeper; ktime_real_to_base_clock() local
1456 struct timekeeper *tk = &tk_core.timekeeper; get_device_system_crosststamp() local
1611 timekeeper_is_core_tk(struct timekeeper * tk) timekeeper_is_core_tk() argument
1715 __timekeeping_set_tai_offset(struct timekeeper * tk,s32 tai_offset) __timekeeping_set_tai_offset() argument
1773 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_notify() local
1802 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_raw_ts64() local
1857 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_valid_for_hres() local
1876 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_max_deferment() local
2011 __timekeeping_inject_sleeptime(struct timekeeper * tk,const struct timespec64 * delta) __timekeeping_inject_sleeptime() argument
2249 timekeeping_apply_adjustment(struct timekeeper * tk,s64 offset,s32 mult_adj) timekeeping_apply_adjustment() argument
2327 timekeeping_adjust(struct timekeeper * tk,s64 offset) timekeeping_adjust() argument
2389 accumulate_nsecs_to_secs(struct timekeeper * tk) accumulate_nsecs_to_secs() argument
2438 logarithmic_accumulation(struct timekeeper * tk,u64 offset,u32 shift,unsigned int * clock_set) logarithmic_accumulation() argument
2478 struct timekeeper *tk = &tkd->shadow_timekeeper; __timekeeping_advance() local
2568 struct timekeeper *tk = &tk_core.timekeeper; getboottime64() local
2577 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_real_ts64() local
2599 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_real_ts64_mg() local
2637 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_real_ts64_mg() local
2678 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_ts64() local
2719 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_update_offsets_now() local
[all...]
H A Dvsyscall.c29 static inline void update_vdso_time_data(struct vdso_time_data *vdata, struct timekeeper *tk) in update_vdso_time_data() argument
35 fill_clock_configuration(&vc[CS_HRES_COARSE], &tk->tkr_mono); in update_vdso_time_data()
36 fill_clock_configuration(&vc[CS_RAW], &tk->tkr_raw); in update_vdso_time_data()
40 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_time_data()
42 nsec = tk->tkr_mono.xtime_nsec; in update_vdso_time_data()
43 nsec += ((u64)tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); in update_vdso_time_data()
44 while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) { in update_vdso_time_data()
45 nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift); in update_vdso_time_data()
53 sec += tk->monotonic_to_boot.tv_sec; in update_vdso_time_data()
54 nsec += (u64)tk->monotonic_to_boot.tv_nsec << tk->tkr_mono.shift; in update_vdso_time_data()
[all …]
/linux/mm/
H A Dmemory-failure.c274 static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags)
276 struct task_struct *t = tk->tsk;
277 short addr_lsb = tk->size_shift;
285 (void __user *)tk->addr, addr_lsb);
293 ret = send_sig_mceerr(BUS_MCEERR_AO, (void __user *)tk->addr, in kill_proc()
376 struct to_kill *tk;
378 tk = kmalloc_obj(struct to_kill, GFP_ATOMIC);
379 if (!tk) {
384 tk->addr = addr; in __add_to_kill()
386 tk in __add_to_kill()
286 kill_proc(struct to_kill * tk,unsigned long pfn,int flags) kill_proc() argument
388 struct to_kill *tk; __add_to_kill() local
438 struct to_kill *tk, *next; task_in_to_kill_list() local
465 struct to_kill *tk, *next; kill_procs() local
680 struct to_kill tk; global() member
685 set_to_kill(struct to_kill * tk,unsigned long addr,short shift) set_to_kill() argument
692 check_hwpoisoned_entry(pte_t pte,unsigned long addr,short shift,unsigned long poisoned_pfn,struct to_kill * tk) check_hwpoisoned_entry() argument
1687 struct to_kill *tk; unmap_and_kill() local
2216 struct to_kill *tk; add_to_kill_pgoff() local
[all...]
/linux/net/bluetooth/
H A Dsmp.c102 u8 tk[16]; /* SMP Temporary Key */
837 memset(smp->tk, 0, sizeof(smp->tk)); in get_auth_method()
902 memset(smp->tk, 0, sizeof(smp->tk)); in tk_request()
905 put_unaligned_le32(passkey, smp->tk); in tk_request()
933 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in tk_request()
963 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_confirm()
980 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random()
996 smp_s1(smp->tk, sm in smp_random()
106 u8 tk[16]; /* SMP Temporary Key */ global() member
[all...]
H A Dhci_core.c1285 u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand)
1302 memcpy(key->val, tk, sizeof(key->val)); in hci_add_ltk()
/linux/include/linux/
H A Dkprobes.h416 #define kprobe_flush_task(tk) do {} while (0) argument
418 void kprobe_flush_task(struct task_struct *tk);
487 static inline void kprobe_flush_task(struct task_struct *tk) in kprobe_flush_task() argument
H A Drethook.h93 void rethook_flush_task(struct task_struct *tk);
/linux/kernel/trace/
H A Drethook.c20 void rethook_flush_task(struct task_struct *tk) in rethook_flush_task() argument
25 node = __llist_del_all(&tk->rethooks); in rethook_flush_task()
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_join.sh3790 local tk
3793 tk=$(mptcp_lib_evts_get_info token "$evts")
3795 ip netns exec $1 ./pm_nl_ctl ann $2 token $tk id $3
3802 local tk
3806 tk=$(mptcp_lib_evts_get_info token "$evts")
3809 ip netns exec $1 ./pm_nl_ctl rem token $tk id $2
3817 local tk da dp
3820 tk=$(mptcp_lib_evts_get_info token "$evts")
3825 rip $da rport $dp token $tk
3834 local tk d
[all...]
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c137 struct prestera_kern_neigh_cache_key tk; in prestera_util_nhc_eq_n_cache_key() local
140 err = prestera_util_nhc2nc_key(sw, nhc, &tk); in prestera_util_nhc_eq_n_cache_key()
144 if (memcmp(&tk, nk, sizeof(tk))) in prestera_util_nhc_eq_n_cache_key()
/linux/kernel/
H A Dauditsc.c1320 const struct timespec64 *tk = &context->time.tk_injoffset; in audit_log_time() local
1350 if (tk->tv_sec != 0 || tk->tv_nsec != 0) { in audit_log_time()
1358 (long long)tk->tv_sec, tk->tv_nsec); in audit_log_time()
H A Dkprobes.c1979 void kprobe_flush_task(struct task_struct *tk) in kprobe_flush_task() argument
1990 node = __llist_del_all(&tk->kretprobe_instances); in kprobe_flush_task()
/linux/net/sunrpc/
H A Dsched.c897 static bool xprt_needs_memalloc(struct rpc_xprt *xprt, struct rpc_task *tk) in xprt_needs_memalloc() argument
903 return test_bit(XPRT_LOCKED, &xprt->state) && xprt->snd_task == tk; in xprt_needs_memalloc()
/linux/arch/x86/kvm/
H A Dx86.c2344 static void update_pvclock_gtod(struct timekeeper *tk)
2351 vdata->clock.vclock_mode = tk->tkr_mono.clock->vdso_clock_mode;
2352 vdata->clock.cycle_last = tk->tkr_mono.cycle_last;
2353 vdata->clock.mask = tk->tkr_mono.mask;
2354 vdata->clock.mult = tk->tkr_mono.mult;
2355 vdata->clock.shift = tk->tkr_mono.shift;
2356 vdata->clock.base_cycles = tk->tkr_mono.xtime_nsec;
2357 vdata->clock.offset = tk->tkr_mono.base;
2359 vdata->raw_clock.vclock_mode = tk->tkr_raw.clock->vdso_clock_mode;
2360 vdata->raw_clock.cycle_last = tk
2368 update_pvclock_gtod(struct timekeeper * tk) update_pvclock_gtod() argument
10002 struct timekeeper *tk = priv; pvclock_gtod_notify() local
[all...]
/linux/include/net/bluetooth/
H A Dhci_core.h1856 u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand);