Home
last modified time | relevance | path

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

/linux/kernel/trace/
H A Dtrace_kprobe.c88 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return() argument
90 return tk->rp.handler != NULL; in trace_kprobe_is_return()
93 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol() argument
95 return tk->symbol ? tk->symbol : "unknown"; in trace_kprobe_symbol()
98 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset() argument
100 return tk->rp.kp.offset; in trace_kprobe_offset()
103 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone() argument
105 return kprobe_gone(&tk->rp.kp); in trace_kprobe_has_gone()
108 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module() argument
112 const char *name = trace_kprobe_symbol(tk); in trace_kprobe_within_module()
[all …]
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/drivers/input/keyboard/
H A Ddlink-dir685-touchkeys.c30 struct dir685_touchkeys *tk = data; in dir685_tk_irq_thread() local
31 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread()
39 err = i2c_master_recv(tk->client, buf, sizeof(buf)); in dir685_tk_irq_thread()
41 dev_err(tk->dev, "short read %d\n", err); in dir685_tk_irq_thread()
45 dev_dbg(tk->dev, "IN: %*ph\n", (int)sizeof(buf), buf); in dir685_tk_irq_thread()
49 changed = tk->cur_key ^ key; in dir685_tk_irq_thread()
51 dev_dbg(tk->dev, "key %d is %s\n", i, in dir685_tk_irq_thread()
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()
[all …]
/linux/kernel/time/
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.c286 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_obj(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/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dftm-initiator.c36 u8 tk[TK_11AZ_LEN]; member
46 u8 *tk; member
644 target->tk = key->key; in iter()
652 u8 *bssid, u8 *cipher, u8 *hltk, u8 *tk, in iwl_mvm_ftm_set_secured_ranging() argument
687 target.tk = NULL; in iwl_mvm_ftm_set_secured_ranging()
690 if (WARN_ON(!target.tk)) in iwl_mvm_ftm_set_secured_ranging()
706 memset(tk, 0, TK_11AZ_LEN); in iwl_mvm_ftm_set_secured_ranging()
707 memcpy(tk, target.tk, key_len); in iwl_mvm_ftm_set_secured_ranging()
709 memcpy(tk, entry->tk, sizeof(entry->tk)); in iwl_mvm_ftm_set_secured_ranging()
733 target->tk, target->rx_pn, in iwl_mvm_ftm_put_target_v7()
[all …]
/linux/net/bluetooth/
H A Dsmp.c102 u8 tk[16]; /* SMP Temporary Key */ member
840 memset(smp->tk, 0, sizeof(smp->tk)); in tk_request()
905 memset(smp->tk, 0, sizeof(smp->tk)); in tk_request()
908 put_unaligned_le32(passkey, smp->tk); in tk_request()
936 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
966 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random()
983 smp_s1(smp->tk, smp->rrnd, smp->prnd, stk); in smp_random()
999 smp_s1(smp->tk, sm in smp_random()
[all...]
H A Dhci_core.c1288 u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand) in hci_add_ltk()
1305 memcpy(key->val, tk, sizeof(key->val)); in hci_add_ltk()
/linux/include/linux/
H A Dkprobes.h417 #define kprobe_flush_task(tk) do {} while (0) argument
419 void kprobe_flush_task(struct task_struct *tk);
488 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/tools/testing/selftests/net/mptcp/
H A Dmptcp_join.sh3888 ip netns exec $1 ./pm_nl_ctl ann $2 token $tk id $3
3902 ip netns exec $1 ./pm_nl_ctl rem token $tk id $2
3918 rip $da rport $dp token $tk
3940 rip $da rport $dp token $tk
3965 local tk
3968 tk=$(mptcp_lib_evts_get_info token "$evts")
3970 ip netns exec $1 ./pm_nl_ctl dump token $tk
3977 local tk
3980 tk=$(mptcp_lib_evts_get_info token "$evts")
3982 ip netns exec $1 ./pm_nl_ctl get $2 token $tk
/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/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/kernel/
H A Dkprobes.c1993 void kprobe_flush_task(struct task_struct *tk) in kprobe_flush_task()
2004 node = __llist_del_all(&tk->kretprobe_instances); in kprobe_flush_task()
1985 kprobe_flush_task(struct task_struct * tk) kprobe_flush_task() argument
/linux/include/net/bluetooth/
H A Dhci_core.h1882 u8 tk[16], u8 enc_size, __le16 ediv, __le64 rand);