| /linux/kernel/trace/ |
| H A D | trace_kprobe.c | 86 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return() argument 88 return tk->rp.handler != NULL; in trace_kprobe_is_return() 91 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol() argument 93 return tk->symbol ? tk->symbol : "unknown"; in trace_kprobe_symbol() 96 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset() argument 98 return tk->rp.kp.offset; in trace_kprobe_offset() 101 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone() argument 103 return kprobe_gone(&tk->rp.kp); in trace_kprobe_has_gone() 106 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module() argument 110 const char *name = trace_kprobe_symbol(tk); in trace_kprobe_within_module() [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/kernel/time/ |
| H A D | timekeeping.c | 70 static inline bool tk_is_aux(const struct timekeeper *tk) in tk_is_aux() argument 72 return tk->id >= TIMEKEEPER_AUX_FIRST && tk->id <= TIMEKEEPER_AUX_LAST; in tk_is_aux() 80 static inline bool tk_is_aux(const struct timekeeper *tk) in tk_is_aux() argument 86 static inline void tk_update_aux_offs(struct timekeeper *tk, ktime_t offs) in tk_update_aux_offs() argument 88 tk->offs_aux = offs; in tk_update_aux_offs() 89 tk->monotonic_to_aux = ktime_to_timespec64(offs); in tk_update_aux_offs() 190 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime() argument 192 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime() 193 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime() 194 tk->xtime_sec++; in tk_normalize_xtime() [all …]
|
| H A D | vsyscall.c | 29 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/arch/sparc/kernel/ |
| H A D | vdso.c | 24 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument 32 vdata->vclock_mode = tk->tkr_mono.clock->archdata.vclock_mode; in update_vsyscall() 33 vdata->clock.cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall() 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() 39 vdata->wall_time_snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall() 41 vdata->monotonic_time_sec = tk->xtime_sec + in update_vsyscall() 42 tk->wall_to_monotonic.tv_sec; in update_vsyscall() [all …]
|
| /linux/mm/ |
| H A D | memory-failure.c | 286 static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags) in kill_proc() argument 288 struct task_struct *t = tk->tsk; in kill_proc() 289 short addr_lsb = tk->size_shift; in kill_proc() 297 (void __user *)tk->addr, addr_lsb); in kill_proc() 305 ret = send_sig_mceerr(BUS_MCEERR_AO, (void __user *)tk->addr, in kill_proc() 388 struct to_kill *tk; in __add_to_kill() local 390 tk = kmalloc(sizeof(struct to_kill), GFP_ATOMIC); in __add_to_kill() 391 if (!tk) { in __add_to_kill() 396 tk->addr = addr; in __add_to_kill() 398 tk->size_shift = dev_pagemap_mapping_shift(vma, tk->addr); in __add_to_kill() [all …]
|
| /linux/include/linux/ |
| H A D | timekeeper_internal.h | 187 extern void update_vsyscall(struct timekeeper *tk); 192 static inline void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument 201 extern void vdso_time_update_aux(struct timekeeper *tk); 203 static inline void vdso_time_update_aux(struct timekeeper *tk) { } in vdso_time_update_aux() 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/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/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/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/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() 956 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm() 986 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random() 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() 1149 key_type, auth, smp->tk, smp->enc_key_size, in sc_add_ltk() 1166 if (smp_h7(smp->tfm_cmac, smp->tk, salt, smp->link_key)) { in sc_generate_link_key() [all …]
|
| H A D | hci_core.c | 1324 u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand) in hci_add_ltk() 1341 memcpy(key->val, tk, sizeof(key->val)); in hci_add_ltk()
|
| /linux/tools/testing/selftests/net/mptcp/ |
| H A D | mptcp_join.sh | 3721 ip netns exec $1 ./pm_nl_ctl ann $2 token $tk id $3 3736 ip netns exec $1 ./pm_nl_ctl rem token $tk id $2 3752 rip $da rport $dp token $tk 3775 rip $da rport $dp token $tk 3800 local tk 3803 tk=$(mptcp_lib_evts_get_info token "$evts") 3805 ip netns exec $1 ./pm_nl_ctl dump token $tk 3812 local tk 3815 tk=$(mptcp_lib_evts_get_info token "$evts") 3817 ip netns exec $1 ./pm_nl_ctl get $2 token $tk
|
| /linux/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/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/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_security.c | 262 #define TK16(N) Mk16(tk[2 * (N) + 1], tk[2 * (N)]) 358 static void phase1(u16 *p1k, const u8 *tk, const u8 *ta, u32 iv32) in phase1() argument 403 static void phase2(u8 *rc4key, const u8 *tk, const u16 *p1k, u16 iv16) in phase2() argument
|
| /linux/kernel/ |
| H A D | auditsc.c | 1320 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 D | kprobes.c | 1901 void kprobe_flush_task(struct task_struct *tk) in kprobe_flush_task() argument 1912 node = __llist_del_all(&tk->kretprobe_instances); in kprobe_flush_task()
|
| /linux/net/sunrpc/ |
| H A D | sched.c | 897 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/include/net/bluetooth/ |
| H A D | hci_core.h | 1857 u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand);
|