| /linux-6.15/kernel/trace/ |
| H A D | trace_kprobe.c | 93 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() 232 tk->rp.kp.addr ? 0 : tk->rp.kp.offset) == 0) : false; in trace_kprobe_on_func_entry() 252 if (tk) { in free_trace_kprobe() 256 kfree(tk); in free_trace_kprobe() 278 if (!tk) in alloc_trace_kprobe() 289 tk->rp.kp.symbol_name = tk->symbol; in alloc_trace_kprobe() 1352 tk->rp.kp.nmissed + tk->rp.nmissed : tk->rp.kp.nmissed; in trace_kprobe_missed() [all …]
|
| H 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-6.15/kernel/time/ |
| H A D | timekeeping.c | 187 tk->coarse_nsec = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift; in tk_update_coarse_nsecs() 220 WRITE_ONCE(tk->offs_tai, ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0))); in tk_set_wall_to_mono() 279 tk->tkr_raw.cycle_last = tk->tkr_mono.cycle_last; in tk_setup_internals() 607 tk->next_leap_ktime = ktime_sub(tk->next_leap_ktime, tk->offs_real); in tk_update_leap_state() 690 tk->tkr_mono.base_real = tk->tkr_mono.base + tk->offs_real; in timekeeping_update_from_shadow() 705 memcpy(&tkd->timekeeper, tk, sizeof(*tk)); in timekeeping_update_from_shadow() 2045 mult = tk->tkr_mono.mult - tk->ntp_err_mult; in timekeeping_adjust() 2049 tk->xtime_remainder, tk->cycle_interval); in timekeeping_adjust() 2058 tk->ntp_err_mult = tk->ntp_error > 0 ? 1 : 0; in timekeeping_adjust() 2173 tk->ntp_error += tk->ntp_tick << shift; in logarithmic_accumulation() [all …]
|
| H A D | vsyscall.c | 41 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vdso_time_data() 43 nsec = tk->tkr_mono.xtime_nsec; in update_vdso_time_data() 44 nsec += ((u64)tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift); in update_vdso_time_data() 55 nsec += (u64)tk->monotonic_to_boot.tv_nsec << tk->tkr_mono.shift; in update_vdso_time_data() 69 vdso_ts->sec = tk->raw_sec; in update_vdso_time_data() 74 vdso_ts->sec = tk->xtime_sec + (s64)tk->tai_offset; in update_vdso_time_data() 95 vdso_ts->sec = tk->xtime_sec; in update_vsyscall() 100 vdso_ts->sec = tk->xtime_sec; in update_vsyscall() 101 vdso_ts->nsec = tk->coarse_nsec; in update_vsyscall() 105 vdso_ts->sec = tk->xtime_sec + tk->wall_to_monotonic.tv_sec; in update_vsyscall() [all …]
|
| /linux-6.15/drivers/input/keyboard/ |
| H A D | dlink-dir685-touchkeys.c | 53 input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); in dir685_tk_irq_thread() 57 tk->cur_key = key; in dir685_tk_irq_thread() 58 input_sync(tk->input); in dir685_tk_irq_thread() 71 tk = devm_kzalloc(&client->dev, sizeof(*tk), GFP_KERNEL); in dir685_tk_probe() 72 if (!tk) in dir685_tk_probe() 76 if (!tk->input) in dir685_tk_probe() 79 tk->client = client; in dir685_tk_probe() 80 tk->dev = dev; in dir685_tk_probe() 83 tk->input->keycodemax = ARRAY_SIZE(tk->codes); in dir685_tk_probe() 84 tk->input->keycode = tk->codes; in dir685_tk_probe() [all …]
|
| /linux-6.15/arch/sparc/kernel/ |
| H 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-6.15/net/mac80211/ |
| H 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-6.15/mm/ |
| H 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() 744 struct to_kill tk; member 751 tk->addr = addr; in set_to_kill() [all …]
|
| /linux-6.15/include/linux/ |
| H A D | timekeeper_internal.h | 153 extern void update_vsyscall(struct timekeeper *tk); 158 static inline void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
|
| H 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
|
| H A D | rethook.h | 93 void rethook_flush_task(struct task_struct *tk);
|
| /linux-6.15/arch/arm/xen/ |
| H 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-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ftm-initiator.c | 36 u8 tk[TK_11AZ_LEN]; member 46 u8 *tk; member 634 target->tk = key->key; in iter() 641 u8 *bssid, u8 *cipher, u8 *hltk, u8 *tk, in iwl_mvm_ftm_set_secured_ranging() argument 675 target.tk = NULL; in iwl_mvm_ftm_set_secured_ranging() 678 if (!WARN_ON(!target.tk)) in iwl_mvm_ftm_set_secured_ranging() 679 memcpy(tk, target.tk, TK_11AZ_LEN); in iwl_mvm_ftm_set_secured_ranging() 681 memcpy(tk, entry->tk, sizeof(entry->tk)); in iwl_mvm_ftm_set_secured_ranging() 703 target->tk, target->rx_pn, in iwl_mvm_ftm_put_target_v7() 876 target->tk, target->rx_pn, in iwl_mvm_ftm_put_target_v10()
|
| /linux-6.15/arch/x86/xen/ |
| H 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-6.15/net/bluetooth/ |
| H 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-6.15/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | location.h | 738 u8 tk[TK_11AZ_LEN]; member 799 u8 tk[TK_11AZ_LEN]; member 852 u8 tk[TK_11AZ_LEN]; member 922 u8 tk[TK_11AZ_LEN]; member 1003 u8 tk[TK_11AZ_LEN]; member 1079 u8 tk[TK_11AZ_LEN]; member
|
| /linux-6.15/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_join.sh | 3355 ip netns exec $1 ./pm_nl_ctl ann $2 token $tk id $3 3370 ip netns exec $1 ./pm_nl_ctl rem token $tk id $2 3386 rip $da rport $dp token $tk 3409 rip $da rport $dp token $tk 3434 local tk 3437 tk=$(mptcp_lib_evts_get_info token "$evts") 3439 ip netns exec $1 ./pm_nl_ctl dump token $tk 3446 local tk 3449 tk=$(mptcp_lib_evts_get_info token "$evts") 3451 ip netns exec $1 ./pm_nl_ctl get $2 token $tk
|
| /linux-6.15/drivers/net/ethernet/marvell/prestera/ |
| H 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-6.15/lib/ |
| H 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-6.15/drivers/staging/rtl8723bs/core/ |
| H 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-6.15/kernel/ |
| H A D | auditsc.c | 1327 const struct timespec64 *tk = &context->time.tk_injoffset; in audit_log_time() local 1357 if (tk->tv_sec != 0 || tk->tv_nsec != 0) { in audit_log_time() 1365 (long long)tk->tv_sec, tk->tv_nsec); in audit_log_time()
|
| H A D | kprobes.c | 1897 void kprobe_flush_task(struct task_struct *tk) in kprobe_flush_task() argument 1908 node = __llist_del_all(&tk->kretprobe_instances); in kprobe_flush_task()
|
| /linux-6.15/net/sunrpc/ |
| H A D | sched.c | 899 static bool xprt_needs_memalloc(struct rpc_xprt *xprt, struct rpc_task *tk) in xprt_needs_memalloc() argument 905 return test_bit(XPRT_LOCKED, &xprt->state) && xprt->snd_task == tk; in xprt_needs_memalloc()
|
| /linux-6.15/arch/x86/kvm/ |
| H A D | x86.c | 2244 vdata->clock.mask = tk->tkr_mono.mask; in update_pvclock_gtod() 2245 vdata->clock.mult = tk->tkr_mono.mult; in update_pvclock_gtod() 2246 vdata->clock.shift = tk->tkr_mono.shift; in update_pvclock_gtod() 2248 vdata->clock.offset = tk->tkr_mono.base; in update_pvclock_gtod() 2252 vdata->raw_clock.mask = tk->tkr_raw.mask; in update_pvclock_gtod() 2253 vdata->raw_clock.mult = tk->tkr_raw.mult; in update_pvclock_gtod() 2254 vdata->raw_clock.shift = tk->tkr_raw.shift; in update_pvclock_gtod() 2256 vdata->raw_clock.offset = tk->tkr_raw.base; in update_pvclock_gtod() 2260 vdata->offs_boot = tk->offs_boot; in update_pvclock_gtod() 9644 struct timekeeper *tk = priv; in pvclock_gtod_notify() local [all …]
|
| /linux-6.15/Documentation/admin-guide/laptops/ |
| H A D | laptop-mode.rst | 5 Document Author: Bart Samwel (bart@samwel.tk) 38 http://www.samwel.tk/laptop_mode/laptop_mode/
|