| /linux/kernel/time/ |
| A D | timekeeping.c | 165 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0)); in tk_set_wall_to_mono() 170 tk->offs_boot = ktime_add(tk->offs_boot, delta); in tk_update_sleep_time() 314 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; in tk_setup_internals() 717 tk->next_leap_ktime = ktime_sub(tk->next_leap_ktime, tk->offs_real); in tk_update_leap_state() 767 tk->tkr_mono.base_real = tk->tkr_mono.base + tk->offs_real; in timekeeping_update() 2140 mult = tk->tkr_mono.mult - tk->ntp_err_mult; in timekeeping_adjust() 2144 tk->xtime_remainder, tk->cycle_interval); in timekeeping_adjust() 2153 tk->ntp_err_mult = tk->ntp_error > 0 ? 1 : 0; in timekeeping_adjust() 2268 tk->ntp_error += tk->ntp_tick << shift; in logarithmic_accumulation() 2269 tk->ntp_error -= (tk->xtime_interval + tk->xtime_remainder) << in logarithmic_accumulation() [all …]
|
| A D | vsyscall.c | 19 struct timekeeper *tk) in update_vdso_data() argument 41 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_data() 44 nsec += ((u64)tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); in update_vdso_data() 55 nsec += (u64)tk->monotonic_to_boot.tv_nsec << tk->tkr_mono.shift; in update_vdso_data() 69 vdso_ts->sec = tk->raw_sec; in update_vdso_data() 74 vdso_ts->sec = tk->xtime_sec + (s64)tk->tai_offset; in update_vdso_data() 94 vdso_ts->sec = tk->xtime_sec; in update_vsyscall() 99 vdso_ts->sec = tk->xtime_sec; in update_vsyscall() 100 vdso_ts->nsec = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; in update_vsyscall() 104 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vsyscall() [all …]
|
| /linux/kernel/trace/ |
| A D | trace_kprobe.c | 92 return tk->symbol ? tk->symbol : "unknown"; in trace_kprobe_symbol() 159 trace_kprobe_symbol(tk), tk->rp.kp.offset); in trace_kprobe_match_command_head() 230 return tk ? (kprobe_on_func_entry(tk->rp.kp.addr, in trace_kprobe_on_func_entry() 231 tk->rp.kp.addr ? NULL : tk->rp.kp.symbol_name, in trace_kprobe_on_func_entry() 252 if (tk) { in free_trace_kprobe() 256 kfree(tk); in free_trace_kprobe() 275 if (!tk) in alloc_trace_kprobe() 286 tk->rp.kp.symbol_name = tk->symbol; in alloc_trace_kprobe() 305 return tk; in alloc_trace_kprobe() 1353 tk->rp.kp.nmissed + tk->rp.nmissed : tk->rp.kp.nmissed; in trace_kprobe_missed() [all …]
|
| A D | rethook.c | 20 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/drivers/input/keyboard/ |
| A D | dlink-dir685-touchkeys.c | 52 input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); in dir685_tk_irq_thread() 56 tk->cur_key = key; in dir685_tk_irq_thread() 57 input_sync(tk->input); in dir685_tk_irq_thread() 70 tk = devm_kzalloc(&client->dev, sizeof(*tk), GFP_KERNEL); in dir685_tk_probe() 71 if (!tk) in dir685_tk_probe() 75 if (!tk->input) in dir685_tk_probe() 78 tk->client = client; in dir685_tk_probe() 79 tk->dev = dev; in dir685_tk_probe() 82 tk->input->keycodemax = ARRAY_SIZE(tk->codes); in dir685_tk_probe() 83 tk->input->keycode = tk->codes; in dir685_tk_probe() [all …]
|
| /linux/arch/sparc/kernel/ |
| A D | vdso.c | 24 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument 34 vdata->clock.mask = tk->tkr_mono.mask; in update_vsyscall() 35 vdata->clock.mult = tk->tkr_mono.mult; in update_vsyscall() 36 vdata->clock.shift = tk->tkr_mono.shift; in update_vsyscall() 38 vdata->wall_time_sec = tk->xtime_sec; in update_vsyscall() 41 vdata->monotonic_time_sec = tk->xtime_sec + in update_vsyscall() 42 tk->wall_to_monotonic.tv_sec; in update_vsyscall() 44 (tk->wall_to_monotonic.tv_nsec << in update_vsyscall() 45 tk->tkr_mono.shift); in update_vsyscall() 54 vdata->wall_time_coarse_sec = tk->xtime_sec; in update_vsyscall() [all …]
|
| /linux/net/mac80211/ |
| A D | tkip.c | 120 ppk[0] += tkipS(ppk[5] ^ get_unaligned_le16(tk + 0)); in tkip_mixing_phase2() 121 ppk[1] += tkipS(ppk[0] ^ get_unaligned_le16(tk + 2)); in tkip_mixing_phase2() 122 ppk[2] += tkipS(ppk[1] ^ get_unaligned_le16(tk + 4)); in tkip_mixing_phase2() 123 ppk[3] += tkipS(ppk[2] ^ get_unaligned_le16(tk + 6)); in tkip_mixing_phase2() 124 ppk[4] += tkipS(ppk[3] ^ get_unaligned_le16(tk + 8)); in tkip_mixing_phase2() 125 ppk[5] += tkipS(ppk[4] ^ get_unaligned_le16(tk + 10)); in tkip_mixing_phase2() 168 tkip_mixing_phase1(tk, ctx, sdata->vif.addr, iv32); in ieee80211_compute_tkip_p1k() 191 tkip_mixing_phase1(tk, &ctx, ta, iv32); in ieee80211_get_tkip_rx_p1k() 210 tkip_mixing_phase2(tk, ctx, iv16, p2k); in ieee80211_get_tkip_p2k() 292 tkip_mixing_phase1(tk, &rx_ctx->ctx, ta, iv32); in ieee80211_tkip_decrypt_data() [all …]
|
| /linux/mm/ |
| A D | memory-failure.c | 455 if (!tk) { in __add_to_kill() 460 tk->addr = addr; in __add_to_kill() 462 tk->size_shift = dev_pagemap_mapping_shift(vma, tk->addr); in __add_to_kill() 480 kfree(tk); in __add_to_kill() 485 tk->tsk = tsk; in __add_to_kill() 535 pfn, tk->tsk->comm, task_pid_nr(tk->tsk)); in kill_procs() 548 pfn, tk->tsk->comm, task_pid_nr(tk->tsk)); in kill_procs() 552 kfree(tk); in kill_procs() 742 struct to_kill tk; member 749 tk->addr = addr; in set_to_kill() [all …]
|
| /linux/include/linux/ |
| A D | timekeeper_internal.h | 143 extern void update_vsyscall(struct timekeeper *tk); 148 static inline void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
|
| A D | kprobes.h | 416 #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
|
| A D | rethook.h | 93 void rethook_flush_task(struct task_struct *tk);
|
| /linux/arch/arm/xen/ |
| A D | enlighten.c | 107 struct timekeeper *tk = priv; in xen_pvclock_gtod_notify() local 109 now.tv_sec = tk->xtime_sec; in xen_pvclock_gtod_notify() 110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify() 111 system_time = timespec64_add(now, tk->wall_to_monotonic); in xen_pvclock_gtod_notify()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| A D | ftm-initiator.c | 36 u8 tk[TK_11AZ_LEN]; member 46 u8 *tk; member 50 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_add_pasn_sta() argument 123 if (tk && tk_len) in iwl_mvm_ftm_add_pasn_sta() 124 memcpy(pasn->tk, tk, sizeof(pasn->tk)); in iwl_mvm_ftm_add_pasn_sta() 735 target->tk = key->key; in iter() 742 u8 *bssid, u8 *cipher, u8 *hltk, u8 *tk, in iwl_mvm_ftm_set_secured_ranging() argument 778 memcpy(tk, entry->tk, sizeof(entry->tk)); in iwl_mvm_ftm_set_secured_ranging() 800 target->tk, target->rx_pn, in iwl_mvm_ftm_put_target_v7() 973 target->tk, target->rx_pn, in iwl_mvm_ftm_put_target_v10()
|
| A D | ftm-responder.c | 329 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_respoder_add_pasn_sta() argument 351 if ((!hltk || !hltk_len) && (!tk || !tk_len)) { in iwl_mvm_ftm_respoder_add_pasn_sta() 372 if (tk && tk_len) { in iwl_mvm_ftm_respoder_add_pasn_sta() 378 cipher, tk, tk_len, &sta->keyconf); in iwl_mvm_ftm_respoder_add_pasn_sta()
|
| /linux/arch/x86/xen/ |
| A D | time.c | 105 struct timekeeper *tk = priv; in xen_pvclock_gtod_notify() local 109 now.tv_sec = tk->xtime_sec; in xen_pvclock_gtod_notify() 110 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
|
| /linux/net/bluetooth/ |
| A D | smp.c | 106 u8 tk[16]; /* SMP Temporary Key */ member 860 memset(smp->tk, 0, sizeof(smp->tk)); in tk_request() 925 memset(smp->tk, 0, sizeof(smp->tk)); in tk_request() 928 put_unaligned_le32(passkey, smp->tk); in tk_request() 1003 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random() 1019 smp_s1(smp->tk, smp->prnd, smp->rrnd, stk); in smp_random() 1234 if (smp_h6(smp->tfm_cmac, smp->tk, brle, smp->tk)) in sc_generate_ltk() 1665 memset(smp->tk, 0, sizeof(smp->tk)); in smp_user_confirm_reply() 1667 put_unaligned_le32(value, smp->tk); in smp_user_confirm_reply() 2528 memcpy(smp->tk, rp->ltk, sizeof(smp->tk)); in smp_cmd_encrypt_info() [all …]
|
| /linux/include/asm-generic/vdso/ |
| A D | vsyscall.h | 16 struct timekeeper *tk) in __arch_update_vsyscall() argument
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| A D | location.h | 734 u8 tk[TK_11AZ_LEN]; member 795 u8 tk[TK_11AZ_LEN]; member 848 u8 tk[TK_11AZ_LEN]; member 918 u8 tk[TK_11AZ_LEN]; member 999 u8 tk[TK_11AZ_LEN]; member 1075 u8 tk[TK_11AZ_LEN]; member
|
| /linux/arch/arm64/include/asm/vdso/ |
| A D | vsyscall.h | 40 void __arm64_update_vsyscall(struct vdso_data *vdata, struct timekeeper *tk) in __arm64_update_vsyscall() argument
|
| /linux/tools/testing/selftests/net/mptcp/ |
| A D | mptcp_join.sh | 3342 ip netns exec $1 ./pm_nl_ctl ann $2 token $tk id $3 3357 ip netns exec $1 ./pm_nl_ctl rem token $tk id $2 3373 rip $da rport $dp token $tk 3396 rip $da rport $dp token $tk 3421 local tk 3424 tk=$(mptcp_lib_evts_get_info token "$evts") 3426 ip netns exec $1 ./pm_nl_ctl dump token $tk 3433 local tk 3436 tk=$(mptcp_lib_evts_get_info token "$evts") 3438 ip netns exec $1 ./pm_nl_ctl get $2 token $tk
|
| /linux/drivers/net/ethernet/marvell/prestera/ |
| A D | prestera_router.c | 137 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/lib/ |
| A D | bch.c | 866 struct gf_poly *tk = bch->poly_2t[2]; in factor_polynomial() local 876 compute_trace_bk_mod(bch, k, f, z, tk); in factor_polynomial() 878 if (tk->deg > 0) { in factor_polynomial() 881 gcd = gf_poly_gcd(bch, f2, tk); in factor_polynomial()
|
| /linux/drivers/staging/rtl8723bs/core/ |
| A D | rtw_security.c | 263 #define TK16(N) Mk16(tk[2*(N)+1], tk[2*(N)]) 362 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument 410 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) in phase2() argument
|
| /linux/drivers/staging/rtl8712/ |
| A D | rtl871x_security.c | 372 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)]) 473 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument 518 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) in phase2() argument
|
| /linux/kernel/ |
| A D | auditsc.c | 1325 const struct timespec64 *tk = &context->time.tk_injoffset; in audit_log_time() local 1355 if (tk->tv_sec != 0 || tk->tv_nsec != 0) { in audit_log_time() 1363 (long long)tk->tv_sec, tk->tv_nsec); in audit_log_time()
|