Home
last modified time | relevance | path

Searched refs:tk (Results 1 - 25 of 64) sorted by relevance

123

/kernel/linux/linux-5.10/kernel/time/
H A Dtimekeeping.c117 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime() argument
119 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime()
120 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime()
121 tk->xtime_sec++; in tk_normalize_xtime()
123 while (tk->tkr_raw.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_raw.shift)) { in tk_normalize_xtime()
124 tk->tkr_raw.xtime_nsec -= (u64)NSEC_PER_SEC << tk in tk_normalize_xtime()
129 tk_xtime(const struct timekeeper *tk) tk_xtime() argument
138 tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts) tk_set_xtime() argument
144 tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts) tk_xtime_add() argument
151 tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm) tk_set_wall_to_mono() argument
168 tk_update_sleep_time(struct timekeeper *tk, ktime_t delta) tk_update_sleep_time() argument
201 timekeeping_check_update(struct timekeeper *tk, u64 offset) timekeeping_check_update() argument
242 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_get_delta() local
281 timekeeping_check_update(struct timekeeper *tk, u64 offset) timekeeping_check_update() argument
309 tk_setup_internals(struct timekeeper *tk, struct clocksource *clock) tk_setup_internals() argument
529 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_boot_fast_ns() local
617 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_fast_timestamps() local
633 halt_fast_timekeeper(const struct timekeeper *tk) halt_fast_timekeeper() argument
652 update_pvclock_gtod(struct timekeeper *tk, bool was_set) update_pvclock_gtod() argument
662 struct timekeeper *tk = &tk_core.timekeeper; pvclock_gtod_register_notifier() local
695 tk_update_leap_state(struct timekeeper *tk) tk_update_leap_state() argument
706 tk_update_ktime_data(struct timekeeper *tk) tk_update_ktime_data() argument
737 timekeeping_update(struct timekeeper *tk, unsigned int action) timekeeping_update() argument
773 timekeeping_forward_now(struct timekeeper *tk) timekeeping_forward_now() argument
804 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_real_ts64() local
825 struct timekeeper *tk = &tk_core.timekeeper; ktime_get() local
845 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_resolution_ns() local
868 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_with_offset() local
889 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_with_offset() local
932 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_raw() local
958 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_ts64() local
990 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_seconds() local
1010 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_real_seconds() local
1034 struct timekeeper *tk = &tk_core.timekeeper; __ktime_get_real_seconds() local
1045 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_snapshot() local
1113 struct timekeeper *tk = &tk_core.timekeeper; adjust_historical_crosststamp() local
1201 struct timekeeper *tk = &tk_core.timekeeper; get_device_system_crosststamp() local
1301 struct timekeeper *tk = &tk_core.timekeeper; do_settimeofday64() local
1351 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_inject_offset() local
1425 __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) __timekeeping_set_tai_offset() argument
1438 struct timekeeper *tk = &tk_core.timekeeper; change_clocksource() local
1480 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_notify() local
1497 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_raw_ts64() local
1519 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_valid_for_hres() local
1538 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_max_deferment() local
1611 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_init() local
1663 __timekeeping_inject_sleeptime(struct timekeeper *tk, const struct timespec64 *delta) __timekeeping_inject_sleeptime() argument
1727 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_inject_sleeptime64() local
1754 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_resume() local
1814 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_suspend() local
1897 timekeeping_apply_adjustment(struct timekeeper *tk, s64 offset, s32 mult_adj) timekeeping_apply_adjustment() argument
1975 timekeeping_adjust(struct timekeeper *tk, s64 offset) timekeeping_adjust() argument
2037 accumulate_nsecs_to_secs(struct timekeeper *tk) accumulate_nsecs_to_secs() argument
2086 logarithmic_accumulation(struct timekeeper *tk, u64 offset, u32 shift, unsigned int *clock_set) logarithmic_accumulation() argument
2127 struct timekeeper *tk = &shadow_timekeeper; timekeeping_advance() local
2229 struct timekeeper *tk = &tk_core.timekeeper; getboottime64() local
2238 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_real_ts64() local
2251 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_ts64() local
2292 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_update_offsets_now() local
2405 struct timekeeper *tk = &tk_core.timekeeper; do_adjtimex() local
[all...]
H A Dvsyscall.c19 struct timekeeper *tk) in update_vdso_data()
24 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()
25 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data()
26 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data()
27 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data()
28 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data()
29 vdata[CS_RAW].mask = tk->tkr_raw.mask; in update_vdso_data()
30 vdata[CS_RAW].mult = tk->tkr_raw.mult; in update_vdso_data()
31 vdata[CS_RAW].shift = tk->tkr_raw.shift; in update_vdso_data()
35 vdso_ts->sec = tk in update_vdso_data()
18 update_vdso_data(struct vdso_data *vdata, struct timekeeper *tk) update_vdso_data() argument
72 update_vsyscall(struct timekeeper *tk) update_vsyscall() argument
[all...]
/kernel/linux/linux-6.6/kernel/time/
H A Dtimekeeping.c117 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime() argument
119 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime()
120 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime()
121 tk->xtime_sec++; in tk_normalize_xtime()
123 while (tk->tkr_raw.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_raw.shift)) { in tk_normalize_xtime()
124 tk->tkr_raw.xtime_nsec -= (u64)NSEC_PER_SEC << tk in tk_normalize_xtime()
129 tk_xtime(const struct timekeeper *tk) tk_xtime() argument
138 tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts) tk_set_xtime() argument
144 tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts) tk_xtime_add() argument
151 tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm) tk_set_wall_to_mono() argument
168 tk_update_sleep_time(struct timekeeper *tk, ktime_t delta) tk_update_sleep_time() argument
201 timekeeping_check_update(struct timekeeper *tk, u64 offset) timekeeping_check_update() argument
242 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_get_delta() local
281 timekeeping_check_update(struct timekeeper *tk, u64 offset) timekeeping_check_update() argument
309 tk_setup_internals(struct timekeeper *tk, struct clocksource *clock) tk_setup_internals() argument
534 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_boot_fast_ns() local
551 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_tai_fast_ns() local
635 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_fast_timestamps() local
651 halt_fast_timekeeper(const struct timekeeper *tk) halt_fast_timekeeper() argument
670 update_pvclock_gtod(struct timekeeper *tk, bool was_set) update_pvclock_gtod() argument
681 struct timekeeper *tk = &tk_core.timekeeper; pvclock_gtod_register_notifier() local
715 tk_update_leap_state(struct timekeeper *tk) tk_update_leap_state() argument
726 tk_update_ktime_data(struct timekeeper *tk) tk_update_ktime_data() argument
757 timekeeping_update(struct timekeeper *tk, unsigned int action) timekeeping_update() argument
794 timekeeping_forward_now(struct timekeeper *tk) timekeeping_forward_now() argument
817 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_real_ts64() local
838 struct timekeeper *tk = &tk_core.timekeeper; ktime_get() local
858 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_resolution_ns() local
881 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_with_offset() local
902 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_with_offset() local
945 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_raw() local
971 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_ts64() local
1003 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_seconds() local
1022 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_real_seconds() local
1046 struct timekeeper *tk = &tk_core.timekeeper; __ktime_get_real_seconds() local
1057 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_snapshot() local
1126 struct timekeeper *tk = &tk_core.timekeeper; adjust_historical_crosststamp() local
1216 struct timekeeper *tk = &tk_core.timekeeper; get_device_system_crosststamp() local
1314 struct timekeeper *tk = &tk_core.timekeeper; do_settimeofday64() local
1364 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_inject_offset() local
1437 __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) __timekeeping_set_tai_offset() argument
1450 struct timekeeper *tk = &tk_core.timekeeper; change_clocksource() local
1502 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_notify() local
1519 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_raw_ts64() local
1541 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_valid_for_hres() local
1560 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_max_deferment() local
1635 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_init() local
1688 __timekeeping_inject_sleeptime(struct timekeeper *tk, const struct timespec64 *delta) __timekeeping_inject_sleeptime() argument
1752 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_inject_sleeptime64() local
1779 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_resume() local
1841 struct timekeeper *tk = &tk_core.timekeeper; timekeeping_suspend() local
1924 timekeeping_apply_adjustment(struct timekeeper *tk, s64 offset, s32 mult_adj) timekeeping_apply_adjustment() argument
2002 timekeeping_adjust(struct timekeeper *tk, s64 offset) timekeeping_adjust() argument
2063 accumulate_nsecs_to_secs(struct timekeeper *tk) accumulate_nsecs_to_secs() argument
2112 logarithmic_accumulation(struct timekeeper *tk, u64 offset, u32 shift, unsigned int *clock_set) logarithmic_accumulation() argument
2153 struct timekeeper *tk = &shadow_timekeeper; timekeeping_advance() local
2248 struct timekeeper *tk = &tk_core.timekeeper; getboottime64() local
2257 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_real_ts64() local
2270 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_coarse_ts64() local
2311 struct timekeeper *tk = &tk_core.timekeeper; ktime_get_update_offsets_now() local
2424 struct timekeeper *tk = &tk_core.timekeeper; do_adjtimex() local
[all...]
H A Dvsyscall.c19 struct timekeeper *tk) in update_vdso_data()
24 vdata[CS_HRES_COARSE].cycle_last = tk->tkr_mono.cycle_last; in update_vdso_data()
25 vdata[CS_HRES_COARSE].mask = tk->tkr_mono.mask; in update_vdso_data()
26 vdata[CS_HRES_COARSE].mult = tk->tkr_mono.mult; in update_vdso_data()
27 vdata[CS_HRES_COARSE].shift = tk->tkr_mono.shift; in update_vdso_data()
28 vdata[CS_RAW].cycle_last = tk->tkr_raw.cycle_last; in update_vdso_data()
29 vdata[CS_RAW].mask = tk->tkr_raw.mask; in update_vdso_data()
30 vdata[CS_RAW].mult = tk->tkr_raw.mult; in update_vdso_data()
31 vdata[CS_RAW].shift = tk->tkr_raw.shift; in update_vdso_data()
35 vdso_ts->sec = tk in update_vdso_data()
18 update_vdso_data(struct vdso_data *vdata, struct timekeeper *tk) update_vdso_data() argument
72 update_vsyscall(struct timekeeper *tk) update_vsyscall() argument
[all...]
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Ddlink-dir685-touchkeys.c29 struct dir685_touchkeys *tk = data; in dir685_tk_irq_thread() local
30 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread()
38 err = i2c_master_recv(tk->client, buf, sizeof(buf)); in dir685_tk_irq_thread()
40 dev_err(tk->dev, "short read %d\n", err); in dir685_tk_irq_thread()
44 dev_dbg(tk->dev, "IN: %*ph\n", (int)sizeof(buf), buf); in dir685_tk_irq_thread()
48 changed = tk->cur_key ^ key; in dir685_tk_irq_thread()
50 dev_dbg(tk->dev, "key %d is %s\n", i, in dir685_tk_irq_thread()
52 input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); in dir685_tk_irq_thread()
56 tk in dir685_tk_irq_thread()
65 struct dir685_touchkeys *tk; dir685_tk_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Ddlink-dir685-touchkeys.c29 struct dir685_touchkeys *tk = data; in dir685_tk_irq_thread() local
30 const int num_bits = min_t(int, ARRAY_SIZE(tk->codes), 16); in dir685_tk_irq_thread()
38 err = i2c_master_recv(tk->client, buf, sizeof(buf)); in dir685_tk_irq_thread()
40 dev_err(tk->dev, "short read %d\n", err); in dir685_tk_irq_thread()
44 dev_dbg(tk->dev, "IN: %*ph\n", (int)sizeof(buf), buf); in dir685_tk_irq_thread()
48 changed = tk->cur_key ^ key; in dir685_tk_irq_thread()
50 dev_dbg(tk->dev, "key %d is %s\n", i, in dir685_tk_irq_thread()
52 input_report_key(tk->input, tk->codes[i], test_bit(i, &key)); in dir685_tk_irq_thread()
56 tk in dir685_tk_irq_thread()
66 struct dir685_touchkeys *tk; dir685_tk_probe() local
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_kprobe.c85 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return() argument
87 return tk->rp.handler != NULL; in trace_kprobe_is_return()
90 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol() argument
92 return tk->symbol ? tk->symbol : "unknown"; in trace_kprobe_symbol()
95 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset() argument
97 return tk->rp.kp.offset; in trace_kprobe_offset()
100 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone() argument
102 return kprobe_gone(&tk->rp.kp); in trace_kprobe_has_gone()
105 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module() argument
114 trace_kprobe_module_exist(struct trace_kprobe *tk) trace_kprobe_module_exist() argument
135 struct trace_kprobe *tk = to_trace_kprobe(ev); trace_kprobe_is_busy() local
140 trace_kprobe_match_command_head(struct trace_kprobe *tk, int argc, const char **argv) trace_kprobe_match_command_head() argument
165 struct trace_kprobe *tk = to_trace_kprobe(ev); trace_kprobe_match() local
173 trace_kprobe_nhit(struct trace_kprobe *tk) trace_kprobe_nhit() argument
184 trace_kprobe_is_registered(struct trace_kprobe *tk) trace_kprobe_is_registered() argument
192 trace_kprobe_address(struct trace_kprobe *tk) trace_kprobe_address() argument
221 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); trace_kprobe_on_func_entry() local
230 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); trace_kprobe_error_injectable() local
243 free_trace_kprobe(struct trace_kprobe *tk) free_trace_kprobe() argument
264 struct trace_kprobe *tk; alloc_trace_kprobe() local
308 struct trace_kprobe *tk; find_trace_kprobe() local
317 __enable_trace_kprobe(struct trace_kprobe *tk) __enable_trace_kprobe() argument
333 struct trace_kprobe *tk; __disable_trace_kprobe() local
353 struct trace_kprobe *tk; enable_trace_kprobe() local
452 within_notrace_func(struct trace_kprobe *tk) within_notrace_func() argument
478 __register_trace_kprobe(struct trace_kprobe *tk) __register_trace_kprobe() argument
516 __unregister_trace_kprobe(struct trace_kprobe *tk) __unregister_trace_kprobe() argument
532 unregister_trace_kprobe(struct trace_kprobe *tk) unregister_trace_kprobe() argument
587 append_trace_kprobe(struct trace_kprobe *tk, struct trace_kprobe *to) append_trace_kprobe() argument
625 register_trace_kprobe(struct trace_kprobe *tk) register_trace_kprobe() argument
679 struct trace_kprobe *tk; trace_kprobe_module_callback() local
769 struct trace_kprobe *tk = NULL; __trace_kprobe_create() local
1168 struct trace_kprobe *tk = to_trace_kprobe(ev); trace_kprobe_release() local
1178 struct trace_kprobe *tk = to_trace_kprobe(ev); trace_kprobe_show() local
1256 struct trace_kprobe *tk; probes_profile_seq_show() local
1344 __kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs, struct trace_event_file *trace_file) __kprobe_trace_func() argument
1372 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) kprobe_trace_func() argument
1383 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, struct pt_regs *regs, struct trace_event_file *trace_file) __kretprobe_trace_func() argument
1413 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, struct pt_regs *regs) kretprobe_trace_func() argument
1526 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) kprobe_perf_func() argument
1575 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, struct pt_regs *regs) kretprobe_perf_func() argument
1614 struct trace_kprobe *tk; bpf_get_kprobe_info() local
1667 struct trace_kprobe *tk = container_of(kp, struct trace_kprobe, rp.kp); kprobe_dispatcher() local
1686 struct trace_kprobe *tk; kretprobe_dispatcher() local
1729 init_trace_event_call(struct trace_kprobe *tk) init_trace_event_call() argument
1745 register_kprobe_event(struct trace_kprobe *tk) register_kprobe_event() argument
1752 unregister_kprobe_event(struct trace_kprobe *tk) unregister_kprobe_event() argument
1765 struct trace_kprobe *tk; create_local_trace_kprobe() local
1825 struct trace_kprobe *tk; destroy_local_trace_kprobe() local
1846 struct trace_kprobe *tk; enable_boot_kprobe_events() local
1925 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) find_trace_probe_file() argument
1944 struct trace_kprobe *tk; kprobe_trace_self_tests_init() local
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_kprobe.c87 static nokprobe_inline bool trace_kprobe_is_return(struct trace_kprobe *tk) in trace_kprobe_is_return() argument
89 return tk->rp.handler != NULL; in trace_kprobe_is_return()
92 static nokprobe_inline const char *trace_kprobe_symbol(struct trace_kprobe *tk) in trace_kprobe_symbol() argument
94 return tk->symbol ? tk->symbol : "unknown"; in trace_kprobe_symbol()
97 static nokprobe_inline unsigned long trace_kprobe_offset(struct trace_kprobe *tk) in trace_kprobe_offset() argument
99 return tk->rp.kp.offset; in trace_kprobe_offset()
102 static nokprobe_inline bool trace_kprobe_has_gone(struct trace_kprobe *tk) in trace_kprobe_has_gone() argument
104 return !!(kprobe_gone(&tk->rp.kp)); in trace_kprobe_has_gone()
107 static nokprobe_inline bool trace_kprobe_within_module(struct trace_kprobe *tk, in trace_kprobe_within_module() argument
116 trace_kprobe_module_exist(struct trace_kprobe *tk) trace_kprobe_module_exist() argument
137 struct trace_kprobe *tk = to_trace_kprobe(ev); trace_kprobe_is_busy() local
142 trace_kprobe_match_command_head(struct trace_kprobe *tk, int argc, const char **argv) trace_kprobe_match_command_head() argument
167 struct trace_kprobe *tk = to_trace_kprobe(ev); trace_kprobe_match() local
174 trace_kprobe_nhit(struct trace_kprobe *tk) trace_kprobe_nhit() argument
185 trace_kprobe_is_registered(struct trace_kprobe *tk) trace_kprobe_is_registered() argument
193 trace_kprobe_address(struct trace_kprobe *tk) trace_kprobe_address() argument
222 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); trace_kprobe_on_func_entry() local
231 struct trace_kprobe *tk = trace_kprobe_primary_from_call(call); trace_kprobe_error_injectable() local
244 free_trace_kprobe(struct trace_kprobe *tk) free_trace_kprobe() argument
265 struct trace_kprobe *tk; alloc_trace_kprobe() local
309 struct trace_kprobe *tk; find_trace_kprobe() local
318 __enable_trace_kprobe(struct trace_kprobe *tk) __enable_trace_kprobe() argument
335 struct trace_kprobe *tk; __disable_trace_kprobe() local
356 struct trace_kprobe *tk; enable_trace_kprobe() local
456 within_notrace_func(struct trace_kprobe *tk) within_notrace_func() argument
482 __register_trace_kprobe(struct trace_kprobe *tk) __register_trace_kprobe() argument
520 __unregister_trace_kprobe(struct trace_kprobe *tk) __unregister_trace_kprobe() argument
536 unregister_trace_kprobe(struct trace_kprobe *tk) unregister_trace_kprobe() argument
589 append_trace_kprobe(struct trace_kprobe *tk, struct trace_kprobe *to) append_trace_kprobe() argument
627 register_trace_kprobe(struct trace_kprobe *tk) register_trace_kprobe() argument
681 struct trace_kprobe *tk; trace_kprobe_module_callback() local
744 struct trace_kprobe *tk = NULL; trace_kprobe_create() local
1097 struct trace_kprobe *tk = to_trace_kprobe(ev); trace_kprobe_release() local
1107 struct trace_kprobe *tk = to_trace_kprobe(ev); trace_kprobe_show() local
1185 struct trace_kprobe *tk; probes_profile_seq_show() local
1384 __kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs, struct trace_event_file *trace_file) __kprobe_trace_func() argument
1420 kprobe_trace_func(struct trace_kprobe *tk, struct pt_regs *regs) kprobe_trace_func() argument
1431 __kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, struct pt_regs *regs, struct trace_event_file *trace_file) __kretprobe_trace_func() argument
1468 kretprobe_trace_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, struct pt_regs *regs) kretprobe_trace_func() argument
1581 kprobe_perf_func(struct trace_kprobe *tk, struct pt_regs *regs) kprobe_perf_func() argument
1630 kretprobe_perf_func(struct trace_kprobe *tk, struct kretprobe_instance *ri, struct pt_regs *regs) kretprobe_perf_func() argument
1669 struct trace_kprobe *tk; bpf_get_kprobe_info() local
1727 struct trace_kprobe *tk = container_of(kp, struct trace_kprobe, rp.kp); kprobe_dispatcher() local
1745 struct trace_kprobe *tk = container_of(ri->rp, struct trace_kprobe, rp); kretprobe_dispatcher() local
1779 init_trace_event_call(struct trace_kprobe *tk) init_trace_event_call() argument
1795 register_kprobe_event(struct trace_kprobe *tk) register_kprobe_event() argument
1802 unregister_kprobe_event(struct trace_kprobe *tk) unregister_kprobe_event() argument
1813 struct trace_kprobe *tk; create_local_trace_kprobe() local
1853 struct trace_kprobe *tk; destroy_local_trace_kprobe() local
1874 struct trace_kprobe *tk; enable_boot_kprobe_events() local
1960 find_trace_probe_file(struct trace_kprobe *tk, struct trace_array *tr) find_trace_probe_file() argument
1979 struct trace_kprobe *tk; kprobe_trace_self_tests_init() local
[all...]
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dvdso.c24 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 in update_vsyscall()
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dvdso.c24 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 in update_vsyscall()
[all...]
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dasym_tpm.c287 struct tpm_key *tk = asymmetric_key->payload.data[asym_crypto]; in asym_tpm_describe() local
289 if (!tk) in asym_tpm_describe()
297 struct tpm_key *tk = payload0; in asym_tpm_destroy() local
299 if (!tk) in asym_tpm_destroy()
302 kfree(tk->blob); in asym_tpm_destroy()
303 tk->blob_len = 0; in asym_tpm_destroy()
305 kfree(tk); in asym_tpm_destroy()
395 struct tpm_key *tk = params->key->payload.data[asym_crypto]; in tpm_key_query() local
412 der_pub_key_len = derive_pub_key(tk->pub_key, tk in tpm_key_query()
443 tpm_key_encrypt(struct tpm_key *tk, struct kernel_pkey_params *params, const void *in, void *out) tpm_key_encrypt() argument
503 tpm_key_decrypt(struct tpm_key *tk, struct kernel_pkey_params *params, const void *in, void *out) tpm_key_decrypt() argument
627 tpm_key_sign(struct tpm_key *tk, struct kernel_pkey_params *params, const void *in, void *out) tpm_key_sign() argument
707 struct tpm_key *tk = params->key->payload.data[asym_crypto]; tpm_key_eds_op() local
734 const struct tpm_key *tk = key->payload.data[asym_crypto]; tpm_key_verify_signature() local
813 extract_key_parameters(struct tpm_key *tk) extract_key_parameters() argument
901 struct tpm_key *tk; tpm_key_create() local
[all...]
H A Dtpm_parser.c58 struct tpm_key *tk; in tpm_key_preparse() local
67 tk = tpm_parse(prep->data, prep->datalen); in tpm_key_preparse()
69 if (IS_ERR(tk)) in tpm_key_preparse()
70 return PTR_ERR(tk); in tpm_key_preparse()
76 prep->payload.data[asym_crypto] = tk; in tpm_key_preparse()
/kernel/linux/linux-5.10/net/mac80211/
H A Dtkip.c82 static void tkip_mixing_phase1(const u8 *tk, struct tkip_ctx *ctx, in tkip_mixing_phase1() argument
96 p1k[0] += tkipS(p1k[4] ^ get_unaligned_le16(tk + 0 + j)); in tkip_mixing_phase1()
97 p1k[1] += tkipS(p1k[0] ^ get_unaligned_le16(tk + 4 + j)); in tkip_mixing_phase1()
98 p1k[2] += tkipS(p1k[1] ^ get_unaligned_le16(tk + 8 + j)); in tkip_mixing_phase1()
99 p1k[3] += tkipS(p1k[2] ^ get_unaligned_le16(tk + 12 + j)); in tkip_mixing_phase1()
100 p1k[4] += tkipS(p1k[3] ^ get_unaligned_le16(tk + 0 + j)) + i; in tkip_mixing_phase1()
106 static void tkip_mixing_phase2(const u8 *tk, struct tkip_ctx *ctx, in tkip_mixing_phase2() argument
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 in tkip_mixing_phase2()
156 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; ieee80211_compute_tkip_p1k() local
188 const u8 *tk = &keyconf->key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; ieee80211_get_tkip_rx_p1k() local
201 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; ieee80211_get_tkip_p2k() local
249 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; ieee80211_tkip_decrypt_data() local
[all...]
/kernel/linux/linux-6.6/net/mac80211/
H A Dtkip.c82 static void tkip_mixing_phase1(const u8 *tk, struct tkip_ctx *ctx, in tkip_mixing_phase1() argument
96 p1k[0] += tkipS(p1k[4] ^ get_unaligned_le16(tk + 0 + j)); in tkip_mixing_phase1()
97 p1k[1] += tkipS(p1k[0] ^ get_unaligned_le16(tk + 4 + j)); in tkip_mixing_phase1()
98 p1k[2] += tkipS(p1k[1] ^ get_unaligned_le16(tk + 8 + j)); in tkip_mixing_phase1()
99 p1k[3] += tkipS(p1k[2] ^ get_unaligned_le16(tk + 12 + j)); in tkip_mixing_phase1()
100 p1k[4] += tkipS(p1k[3] ^ get_unaligned_le16(tk + 0 + j)) + i; in tkip_mixing_phase1()
106 static void tkip_mixing_phase2(const u8 *tk, struct tkip_ctx *ctx, in tkip_mixing_phase2() argument
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 in tkip_mixing_phase2()
156 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; ieee80211_compute_tkip_p1k() local
188 const u8 *tk = &keyconf->key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; ieee80211_get_tkip_rx_p1k() local
201 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; ieee80211_get_tkip_p2k() local
249 const u8 *tk = &key->conf.key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; ieee80211_tkip_decrypt_data() local
[all...]
/kernel/linux/linux-5.10/arch/nds32/kernel/
H A Dvdso.c209 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
212 vdso_data->cs_mask = tk->tkr_mono.mask; in update_vsyscall()
213 vdso_data->cs_mult = tk->tkr_mono.mult; in update_vsyscall()
214 vdso_data->cs_shift = tk->tkr_mono.shift; in update_vsyscall()
215 vdso_data->cs_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
216 vdso_data->wtm_clock_sec = tk->wall_to_monotonic.tv_sec; in update_vsyscall()
217 vdso_data->wtm_clock_nsec = tk->wall_to_monotonic.tv_nsec; in update_vsyscall()
218 vdso_data->xtime_clock_sec = tk->xtime_sec; in update_vsyscall()
219 vdso_data->xtime_clock_nsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
220 vdso_data->xtime_coarse_sec = tk in update_vsyscall()
[all...]
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dtime.c426 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
431 fsyscall_gtod_data.clk_mask = tk->tkr_mono.mask; in update_vsyscall()
432 fsyscall_gtod_data.clk_mult = tk->tkr_mono.mult; in update_vsyscall()
433 fsyscall_gtod_data.clk_shift = tk->tkr_mono.shift; in update_vsyscall()
434 fsyscall_gtod_data.clk_fsys_mmio = tk->tkr_mono.clock->archdata.fsys_mmio; in update_vsyscall()
435 fsyscall_gtod_data.clk_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
437 fsyscall_gtod_data.wall_time.sec = tk->xtime_sec; in update_vsyscall()
438 fsyscall_gtod_data.wall_time.snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
440 fsyscall_gtod_data.monotonic_time.sec = tk->xtime_sec in update_vsyscall()
441 + tk in update_vsyscall()
[all...]
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dtime.c433 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
438 fsyscall_gtod_data.clk_mask = tk->tkr_mono.mask; in update_vsyscall()
439 fsyscall_gtod_data.clk_mult = tk->tkr_mono.mult; in update_vsyscall()
440 fsyscall_gtod_data.clk_shift = tk->tkr_mono.shift; in update_vsyscall()
441 fsyscall_gtod_data.clk_fsys_mmio = tk->tkr_mono.clock->archdata.fsys_mmio; in update_vsyscall()
442 fsyscall_gtod_data.clk_cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
444 fsyscall_gtod_data.wall_time.sec = tk->xtime_sec; in update_vsyscall()
445 fsyscall_gtod_data.wall_time.snsec = tk->tkr_mono.xtime_nsec; in update_vsyscall()
447 fsyscall_gtod_data.monotonic_time.sec = tk->xtime_sec in update_vsyscall()
448 + tk in update_vsyscall()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dmemory-failure.c328 static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags) in kill_proc() argument
330 struct task_struct *t = tk->tsk; in kill_proc()
331 short addr_lsb = tk->size_shift; in kill_proc()
339 (void __user *)tk->addr, addr_lsb); in kill_proc()
349 ret = send_sig_mceerr(BUS_MCEERR_AO, (void __user *)tk->addr, in kill_proc()
435 struct to_kill *tk; in __add_to_kill() local
437 tk = kmalloc(sizeof(struct to_kill), GFP_ATOMIC); in __add_to_kill()
438 if (!tk) { in __add_to_kill()
443 tk->addr = ksm_addr ? ksm_addr : page_address_in_vma(p, vma); in __add_to_kill()
446 tk in __add_to_kill()
485 struct to_kill *tk, *next; task_in_to_kill_list() local
513 struct to_kill *tk, *next; kill_procs() local
720 struct to_kill tk; global() member
725 set_to_kill(struct to_kill *tk, unsigned long addr, short shift) set_to_kill() argument
731 check_hwpoisoned_entry(pte_t pte, unsigned long addr, short shift, unsigned long poisoned_pfn, struct to_kill *tk) check_hwpoisoned_entry() argument
1693 struct to_kill *tk; unmap_and_kill() local
[all...]
/kernel/linux/linux-5.10/mm/
H A Dmemory-failure.c236 static int kill_proc(struct to_kill *tk, unsigned long pfn, int flags) in kill_proc() argument
238 struct task_struct *t = tk->tsk; in kill_proc()
239 short addr_lsb = tk->size_shift; in kill_proc()
248 (void __user *)tk->addr, addr_lsb); in kill_proc()
256 ret = send_sig_mceerr(BUS_MCEERR_AO, (void __user *)tk->addr, in kill_proc()
339 struct to_kill *tk; in add_to_kill() local
341 tk = kmalloc(sizeof(struct to_kill), GFP_ATOMIC); in add_to_kill()
342 if (!tk) { in add_to_kill()
347 tk->addr = page_address_in_vma(p, vma); in add_to_kill()
349 tk in add_to_kill()
387 struct to_kill *tk, *next; kill_procs() local
1228 struct to_kill *tk; memory_failure_dev_pagemap() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dtime.c833 void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
836 struct clocksource *clock = tk->tkr_mono.clock; in update_vsyscall()
837 u32 mult = tk->tkr_mono.mult; in update_vsyscall()
838 u32 shift = tk->tkr_mono.shift; in update_vsyscall()
839 u64 cycle_last = tk->tkr_mono.cycle_last; in update_vsyscall()
846 xt.tv_sec = tk->xtime_sec; in update_vsyscall()
847 xt.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in update_vsyscall()
877 * The fractional second is tk->tkr_mono.xtime_nsec >> tk in update_vsyscall()
[all...]
/kernel/linux/linux-5.10/arch/arm/xen/
H A Denlighten.c101 struct timekeeper *tk = priv; in xen_pvclock_gtod_notify() local
103 now.tv_sec = tk->xtime_sec; in xen_pvclock_gtod_notify()
104 now.tv_nsec = (long)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift); in xen_pvclock_gtod_notify()
105 system_time = timespec64_add(now, tk->wall_to_monotonic); in xen_pvclock_gtod_notify()
/kernel/linux/linux-5.10/include/linux/
H A Dtimekeeper_internal.h143 extern void update_vsyscall(struct timekeeper *tk);
148 static inline void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
/kernel/linux/linux-6.6/include/linux/
H A Dtimekeeper_internal.h143 extern void update_vsyscall(struct timekeeper *tk);
148 static inline void update_vsyscall(struct timekeeper *tk) in update_vsyscall() argument
/kernel/linux/linux-6.6/arch/arm/xen/
H A Denlighten.c107 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dftm-initiator.c90 u8 tk[TK_11AZ_LEN]; member
97 u8 *addr, u32 cipher, u8 *tk, u32 tk_len, in iwl_mvm_ftm_add_pasn_sta()
149 if (tk && tk_len) in iwl_mvm_ftm_add_pasn_sta()
150 memcpy(pasn->tk, tk, sizeof(pasn->tk)); in iwl_mvm_ftm_add_pasn_sta()
701 if (WARN_ON(key->keylen > sizeof(target->tk))) in iter()
704 memcpy(target->tk, key->key, key->keylen); in iter()
734 memcpy(target->tk, entry->tk, sizeo in iwl_mvm_ftm_set_secured_ranging()
96 iwl_mvm_ftm_add_pasn_sta(struct iwl_mvm *mvm, struct ieee80211_vif *vif, u8 *addr, u32 cipher, u8 *tk, u32 tk_len, u8 *hltk, u32 hltk_len) iwl_mvm_ftm_add_pasn_sta() argument
[all...]

Completed in 19 milliseconds

123