Home
last modified time | relevance | path

Searched refs:now (Results 1 - 25 of 1234) sorted by relevance

12345678910>>...50

/kernel/linux/linux-6.6/tools/testing/selftests/timens/
H A Dvfork_exec.c24 struct timespec *now; member
30 struct timespec *now = args->now, tst; in tcheck() local
35 if (abs(tst.tv_sec - now->tv_sec) > 5) { in tcheck()
37 args->tst_name, tst.tv_sec, now->tv_sec); in tcheck()
44 static int check_in_thread(char *tst_name, struct timespec *now) in check_in_thread() argument
48 .now = now, in check_in_thread()
60 static int check(char *tst_name, struct timespec *now) in check() argument
67 if (abs(tst.tv_sec - now in check()
79 struct timespec now; main() local
[all...]
H A Dexec.c23 struct timespec now, tst; in main() local
28 if (sscanf(argv[1], "%ld", &now.tv_sec) != 1) in main()
33 if (abs(tst.tv_sec - now.tv_sec) > 5) in main()
34 return pr_fail("%ld %ld\n", now.tv_sec, tst.tv_sec); in main()
43 clock_gettime(CLOCK_MONOTONIC, &now); in main()
53 if (abs(tst.tv_sec - now.tv_sec) > 5) in main()
55 now.tv_sec, tst.tv_sec); in main()
73 if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5) in main()
75 now.tv_sec + OFFSET, tst.tv_sec); in main()
79 snprintf(now_str, sizeof(now_str), "%ld", now in main()
[all...]
/kernel/linux/linux-6.6/include/trace/events/
H A Diocost.h16 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime),
24 __field(u64, now)
39 __entry->now = now->now;
40 __entry->vnow = now->vnow;
51 TP_printk("[%s:%s] now=%llu:%llu vrate=%llu "
55 __entry->now, __entry->vnow, __entry->vrate,
63 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
[all...]
H A Dalarmtimer.h47 TP_PROTO(struct alarm *alarm, ktime_t now),
49 TP_ARGS(alarm, now),
55 __field(s64, now)
62 __entry->now = now;
65 TP_printk("alarmtimer:%p type:%s expires:%llu now:%llu",
69 __entry->now
75 TP_PROTO(struct alarm *alarm, ktime_t now),
77 TP_ARGS(alarm, now)
82 TP_PROTO(struct alarm *alarm, ktime_t now),
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Diocost.h16 TP_PROTO(struct ioc_gq *iocg, const char *path, struct ioc_now *now,
19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime),
24 __field(u64, now)
39 __entry->now = now->now;
40 __entry->vnow = now->vnow;
41 __entry->vrate = now->vrate;
51 TP_printk("[%s:%s] now=%llu:%llu vrate=%llu "
55 __entry->now, __entr
[all...]
H A Dalarmtimer.h47 TP_PROTO(struct alarm *alarm, ktime_t now),
49 TP_ARGS(alarm, now),
55 __field(s64, now)
62 __entry->now = now;
65 TP_printk("alarmtimer:%p type:%s expires:%llu now:%llu",
69 __entry->now
75 TP_PROTO(struct alarm *alarm, ktime_t now),
77 TP_ARGS(alarm, now)
82 TP_PROTO(struct alarm *alarm, ktime_t now),
[all...]
H A Dtimer.h64 __field( unsigned long, now )
72 __entry->now = jiffies;
78 (long)__entry->expires - __entry->now,
98 __field( unsigned long, now )
105 __entry->now = jiffies;
110 TP_printk("timer=%p function=%ps now=%lu baseclk=%lu",
111 __entry->timer, __entry->function, __entry->now,
231 * @now: pointer to variable which contains current time of the
238 TP_PROTO(struct hrtimer *hrtimer, ktime_t *now),
240 TP_ARGS(hrtimer, now),
[all...]
/kernel/linux/linux-6.6/net/rxrpc/
H A Dcall_event.c26 unsigned long now = jiffies; in rxrpc_propose_ping() local
27 unsigned long ping_at = now + rxrpc_idle_ack_delay; in rxrpc_propose_ping()
31 rxrpc_reduce_call_timer(call, ping_at, now, in rxrpc_propose_ping()
44 unsigned long now = jiffies, ack_at; in rxrpc_propose_delay_ACK() local
54 ack_at += now; in rxrpc_propose_delay_ACK()
57 rxrpc_reduce_call_timer(call, ack_at, now, in rxrpc_propose_delay_ACK()
119 ktime_t now, max_age, oldest, ack_ts; in rxrpc_resend() local
126 now = ktime_get_real(); in rxrpc_resend()
127 max_age = ktime_sub_us(now, jiffies_to_usecs(call->peer->rto_j)); in rxrpc_resend()
128 oldest = now; in rxrpc_resend()
260 unsigned long now = jiffies; rxrpc_begin_service_reply() local
375 unsigned long now, next, t; rxrpc_input_call_event() local
[all...]
/kernel/linux/linux-5.10/net/rxrpc/
H A Dcall_event.c31 unsigned long now = jiffies; in rxrpc_propose_ping() local
32 unsigned long ping_at = now + rxrpc_idle_ack_delay; in rxrpc_propose_ping()
36 rxrpc_reduce_call_timer(call, ping_at, now, in rxrpc_propose_ping()
112 unsigned long now = jiffies, ack_at; in __rxrpc_propose_ACK() local
120 ack_at += now; in __rxrpc_propose_ACK()
123 rxrpc_reduce_call_timer(call, ack_at, now, in __rxrpc_propose_ACK()
162 ktime_t now, max_age, oldest, ack_ts; in rxrpc_resend() local
168 now = ktime_get_real(); in rxrpc_resend()
169 max_age = ktime_sub_us(now, jiffies_to_usecs(call->peer->rto_j)); in rxrpc_resend()
184 oldest = now; in rxrpc_resend()
292 unsigned long now, next, t; rxrpc_process_call() local
[all...]
/kernel/linux/linux-5.10/block/
H A Dblk-iocost.c564 u64 now; member
955 static void ioc_refresh_vrate(struct ioc *ioc, struct ioc_now *now) in ioc_refresh_vrate() argument
957 s64 pleft = ioc->period_at + ioc->period_us - now->now; in ioc_refresh_vrate()
986 static void ioc_now(struct ioc *ioc, struct ioc_now *now) in ioc_now() argument
990 now->now_ns = ktime_get(); in ioc_now()
991 now->now = ktime_to_us(now->now_ns); in ioc_now()
992 now in ioc_now()
1009 ioc_start_period(struct ioc *ioc, struct ioc_now *now) ioc_start_period() argument
1027 __propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, bool save, struct ioc_now *now) __propagate_weights() argument
1102 propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, bool save, struct ioc_now *now) propagate_weights() argument
1189 weight_updated(struct ioc_gq *iocg, struct ioc_now *now) weight_updated() argument
1204 iocg_activate(struct ioc_gq *iocg, struct ioc_now *now) iocg_activate() argument
1289 iocg_kick_delay(struct ioc_gq *iocg, struct ioc_now *now) iocg_kick_delay() argument
1353 iocg_incur_debt(struct ioc_gq *iocg, u64 abs_cost, struct ioc_now *now) iocg_incur_debt() argument
1378 iocg_pay_debt(struct ioc_gq *iocg, u64 abs_vpay, struct ioc_now *now) iocg_pay_debt() argument
1432 iocg_kick_waitq(struct ioc_gq *iocg, bool pay_debt, struct ioc_now *now) iocg_kick_waitq() argument
1519 struct ioc_now now; iocg_waitq_timer_fn() local
1615 iocg_flush_stat_one(struct ioc_gq *iocg, struct ioc_now *now) iocg_flush_stat_one() argument
1665 iocg_flush_stat(struct list_head *target_iocgs, struct ioc_now *now) iocg_flush_stat() argument
1688 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm, u32 usage, struct ioc_now *now) hweight_after_donation() argument
1794 transfer_surpluses(struct list_head *surpluses, struct ioc_now *now) transfer_surpluses() argument
2020 ioc_forgive_debts(struct ioc *ioc, u64 usage_us_sum, int nr_debtors, struct ioc_now *now) ioc_forgive_debts() argument
2105 struct ioc_now now; ioc_timer_fn() local
2427 adjust_inuse_and_calc_cost(struct ioc_gq *iocg, u64 vtime, u64 abs_cost, struct ioc_now *now) adjust_inuse_and_calc_cost() argument
2567 struct ioc_now now; ioc_rqos_throttle() local
2703 struct ioc_now now; ioc_rqos_merge() local
2943 struct ioc_now now; ioc_pd_init() local
2985 struct ioc_now now; ioc_pd_free() local
3062 struct ioc_now now; ioc_weight_write() local
[all...]
/kernel/linux/linux-6.6/kernel/time/
H A Dtick-sched.c57 static void tick_do_update_jiffies64(ktime_t now) in tick_do_update_jiffies64() argument
72 if (ktime_before(now, smp_load_acquire(&tick_next_period))) in tick_do_update_jiffies64()
86 if (ktime_before(now, nextp)) in tick_do_update_jiffies64()
96 if (ktime_before(now, tick_next_period)) { in tick_do_update_jiffies64()
103 delta = ktime_sub(now, tick_next_period); in tick_do_update_jiffies64()
185 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) in tick_sched_do_timer() argument
210 tick_do_update_jiffies64(now); in tick_sched_do_timer()
221 tick_do_update_jiffies64(now); in tick_sched_do_timer()
648 static void tick_nohz_update_jiffies(ktime_t now) in tick_nohz_update_jiffies() argument
652 __this_cpu_write(tick_cpu_sched.idle_waketime, now); in tick_nohz_update_jiffies()
661 tick_nohz_stop_idle(struct tick_sched *ts, ktime_t now) tick_nohz_stop_idle() argument
696 ktime_t now, idle; get_cpu_sleep_time_us() local
774 tick_nohz_restart(struct tick_sched *ts, ktime_t now) tick_nohz_restart() argument
975 tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now) tick_nohz_restart_sched_tick() argument
995 __tick_nohz_full_update_tick(struct tick_sched *ts, ktime_t now) __tick_nohz_full_update_tick() argument
1240 ktime_t now = ts->idle_entrytime; tick_nohz_get_sleep_length() local
1289 tick_nohz_account_idle_time(struct tick_sched *ts, ktime_t now) tick_nohz_account_idle_time() argument
1316 ktime_t now = ktime_get(); tick_nohz_idle_restart_tick() local
1322 tick_nohz_idle_update_tick(struct tick_sched *ts, ktime_t now) tick_nohz_idle_update_tick() argument
1343 ktime_t now; tick_nohz_idle_exit() local
1373 ktime_t now = ktime_get(); tick_nohz_handler() local
1435 ktime_t now; tick_nohz_irq_enter() local
1483 ktime_t now = ktime_get(); tick_sched_timer() local
1521 ktime_t now = ktime_get(); tick_setup_sched_timer() local
[all...]
/kernel/linux/linux-5.10/kernel/time/
H A Dtick-sched.c54 static void tick_do_update_jiffies64(ktime_t now) in tick_do_update_jiffies64() argument
82 if (ktime_before(now, READ_ONCE(tick_next_period))) in tick_do_update_jiffies64()
87 if (ktime_before(now, tick_next_period)) { in tick_do_update_jiffies64()
94 delta = ktime_sub(now, tick_next_period); in tick_do_update_jiffies64()
153 static void tick_sched_do_timer(struct tick_sched *ts, ktime_t now) in tick_sched_do_timer() argument
178 tick_do_update_jiffies64(now); in tick_sched_do_timer()
189 tick_do_update_jiffies64(now); in tick_sched_do_timer()
582 static void tick_nohz_update_jiffies(ktime_t now) in tick_nohz_update_jiffies() argument
586 __this_cpu_write(tick_cpu_sched.idle_waketime, now); in tick_nohz_update_jiffies()
589 tick_do_update_jiffies64(now); in tick_nohz_update_jiffies()
599 update_ts_time_stats(int cpu, struct tick_sched *ts, ktime_t now, u64 *last_update_time) update_ts_time_stats() argument
617 tick_nohz_stop_idle(struct tick_sched *ts, ktime_t now) tick_nohz_stop_idle() argument
619 update_ts_time_stats(smp_processor_id(), ts, now, NULL); tick_nohz_stop_idle() local
649 ktime_t now, idle; get_cpu_idle_time_us() local
690 ktime_t now, iowait; get_cpu_iowait_time_us() local
713 tick_nohz_restart(struct tick_sched *ts, ktime_t now) tick_nohz_restart() argument
916 tick_nohz_restart_sched_tick(struct tick_sched *ts, ktime_t now) tick_nohz_restart_sched_tick() argument
1147 ktime_t now = ts->idle_entrytime; tick_nohz_get_sleep_length() local
1217 __tick_nohz_idle_restart_tick(struct tick_sched *ts, ktime_t now) __tick_nohz_idle_restart_tick() argument
1242 ktime_t now; tick_nohz_idle_exit() local
1272 ktime_t now = ktime_get(); tick_nohz_handler() local
1334 ktime_t now; tick_nohz_irq_enter() local
1375 ktime_t now = ktime_get(); tick_sched_timer() local
1413 ktime_t now = ktime_get(); tick_setup_sched_timer() local
[all...]
H A Dtimer_list.c23 u64 now; member
57 int idx, u64 now) in print_timer()
68 (long long)(ktime_to_ns(hrtimer_get_softexpires(timer)) - now), in print_timer()
69 (long long)(ktime_to_ns(hrtimer_get_expires(timer)) - now)); in print_timer()
74 u64 now) in print_active_timers()
104 print_timer(m, timer, &tmp, i, now); in print_active_timers()
112 print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) in print_base() argument
127 print_active_timers(m, base, now + ktime_to_ns(base->offset)); in print_base()
130 static void print_cpu(struct seq_file *m, int cpu, u64 now) in print_cpu() argument
138 print_base(m, cpu_base->clock_base + i, now); in print_cpu()
56 print_timer(struct seq_file *m, struct hrtimer *taddr, struct hrtimer *timer, int idx, u64 now) print_timer() argument
73 print_active_timers(struct seq_file *m, struct hrtimer_clock_base *base, u64 now) print_active_timers() argument
277 timer_list_header(struct seq_file *m, u64 now) timer_list_header() argument
287 u64 now = ktime_to_ns(ktime_get()); sysrq_timer_list_show() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/timens/
H A Dexec.c23 struct timespec now, tst; in main() local
28 if (sscanf(argv[1], "%ld", &now.tv_sec) != 1) in main()
33 if (abs(tst.tv_sec - now.tv_sec) > 5) in main()
34 return pr_fail("%ld %ld\n", now.tv_sec, tst.tv_sec); in main()
43 clock_gettime(CLOCK_MONOTONIC, &now); in main()
53 if (abs(tst.tv_sec - now.tv_sec) > 5) in main()
55 now.tv_sec, tst.tv_sec); in main()
73 if (abs(tst.tv_sec - now.tv_sec - OFFSET) > 5) in main()
75 now.tv_sec + OFFSET, tst.tv_sec); in main()
79 snprintf(now_str, sizeof(now_str), "%ld", now in main()
[all...]
/kernel/linux/linux-5.10/tools/power/cpupower/bench/
H A Dbenchmark.c35 long long now, then; in calculate_timespace() local
44 now = get_time(); in calculate_timespace()
48 timed = (unsigned int)(then - now); in calculate_timespace()
55 now = get_time(); in calculate_timespace()
59 timed = (unsigned int)(then - now); in calculate_timespace()
81 long long now, then; in start_benchmark() local
126 now = get_time(); in start_benchmark()
130 performance_time += then - now - sleep_time; in start_benchmark()
135 (long)(then - now), sleep_time, in start_benchmark()
152 now in start_benchmark()
[all...]
/kernel/linux/linux-6.6/tools/power/cpupower/bench/
H A Dbenchmark.c35 long long now, then; in calculate_timespace() local
44 now = get_time(); in calculate_timespace()
48 timed = (unsigned int)(then - now); in calculate_timespace()
55 now = get_time(); in calculate_timespace()
59 timed = (unsigned int)(then - now); in calculate_timespace()
81 long long now, then; in start_benchmark() local
126 now = get_time(); in start_benchmark()
130 performance_time += then - now - sleep_time; in start_benchmark()
135 (long)(then - now), sleep_time, in start_benchmark()
152 now in start_benchmark()
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dcodel_impl.h108 codel_time_t now) in codel_should_drop()
119 vars->ldelay = now - skb_time_func(skb); in codel_should_drop()
135 vars->first_above_time = now + params->interval; in codel_should_drop()
136 } else if (codel_time_after(now, vars->first_above_time)) { in codel_should_drop()
153 codel_time_t now; in codel_dequeue() local
160 now = codel_get_time(); in codel_dequeue()
162 skb_len_func, skb_time_func, backlog, now); in codel_dequeue()
167 } else if (codel_time_after_eq(now, vars->drop_next)) { in codel_dequeue()
173 * that the next drop should happen now, in codel_dequeue()
177 codel_time_after_eq(now, var in codel_dequeue()
100 codel_should_drop(const struct sk_buff *skb, void *ctx, struct codel_vars *vars, struct codel_params *params, struct codel_stats *stats, codel_skb_len_t skb_len_func, codel_skb_time_t skb_time_func, u32 *backlog, codel_time_t now) codel_should_drop() argument
[all...]
/kernel/linux/linux-5.10/kernel/sched/
H A Dpelt.h4 int __update_load_avg_blocked_se(u64 now, struct sched_entity *se);
5 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se);
6 int __update_load_avg_cfs_rq(u64 now, struct cfs_rq *cfs_rq);
7 int update_rt_rq_load_avg(u64 now, struct rq *rq, int running);
8 int update_dl_rq_load_avg(u64 now, struct rq *rq, int running);
11 int update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity);
19 update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity) in update_thermal_load_avg() argument
162 update_cfs_rq_load_avg(u64 now, struct cfs_rq *cfs_rq) in update_cfs_rq_load_avg() argument
168 update_rt_rq_load_avg(u64 now, struct rq *rq, int running) in update_rt_rq_load_avg() argument
174 update_dl_rq_load_avg(u64 now, struc argument
180 update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity) update_thermal_load_avg() argument
[all...]
H A Dpelt.c93 * ... |---x---|------| ... |------|-----x (now)
163 * (now) (~1ms ago) (~2ms ago)
184 ___update_load_sum(u64 now, struct sched_avg *sa, in ___update_load_sum() argument
189 delta = now - sa->last_update_time; in ___update_load_sum()
195 sa->last_update_time = now; in ___update_load_sum()
299 int __update_load_avg_blocked_se(u64 now, struct sched_entity *se) in __update_load_avg_blocked_se() argument
301 if (___update_load_sum(now, &se->avg, 0, 0, 0)) { in __update_load_avg_blocked_se()
310 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se) in __update_load_avg_se() argument
312 if (___update_load_sum(now, &se->avg, !!se->on_rq, se_runnable(se), in __update_load_avg_se()
324 int __update_load_avg_cfs_rq(u64 now, struc argument
350 update_rt_rq_load_avg(u64 now, struct rq *rq, int running) update_rt_rq_load_avg() argument
376 update_dl_rq_load_avg(u64 now, struct rq *rq, int running) update_dl_rq_load_avg() argument
407 update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity) update_thermal_load_avg() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Drtc.c36 int mach_set_cmos_time(const struct timespec64 *now) in mach_set_cmos_time() argument
38 unsigned long long nowtime = now->tv_sec; in mach_set_cmos_time()
57 void mach_get_cmos_time(struct timespec64 *now) in mach_get_cmos_time() argument
66 now->tv_sec = now->tv_nsec = 0; in mach_get_cmos_time()
72 now->tv_sec = now->tv_nsec = 0; in mach_get_cmos_time()
76 now->tv_sec = rtc_tm_to_time64(&tm); in mach_get_cmos_time()
77 now->tv_nsec = 0; in mach_get_cmos_time()
103 int update_persistent_clock64(struct timespec64 now) in update_persistent_clock64() argument
[all...]
/kernel/linux/linux-6.6/kernel/sched/
H A Dpelt.c89 * ... |---x---|------| ... |------|-----x (now)
159 * (now) (~1ms ago) (~2ms ago)
180 ___update_load_sum(u64 now, struct sched_avg *sa, in ___update_load_sum() argument
185 delta = now - sa->last_update_time; in ___update_load_sum()
191 sa->last_update_time = now; in ___update_load_sum()
295 int __update_load_avg_blocked_se(u64 now, struct sched_entity *se) in __update_load_avg_blocked_se() argument
297 if (___update_load_sum(now, &se->avg, 0, 0, 0)) { in __update_load_avg_blocked_se()
306 int __update_load_avg_se(u64 now, struct cfs_rq *cfs_rq, struct sched_entity *se) in __update_load_avg_se() argument
308 if (___update_load_sum(now, &se->avg, !!se->on_rq, se_runnable(se), in __update_load_avg_se()
320 int __update_load_avg_cfs_rq(u64 now, struc argument
346 update_rt_rq_load_avg(u64 now, struct rq *rq, int running) update_rt_rq_load_avg() argument
372 update_dl_rq_load_avg(u64 now, struct rq *rq, int running) update_dl_rq_load_avg() argument
403 update_thermal_load_avg(u64 now, struct rq *rq, u64 capacity) update_thermal_load_avg() argument
[all...]
H A Dpsi.c252 u64 now, state_start; in get_recent_times() local
262 now = cpu_clock(cpu); in get_recent_times()
283 times[s] += now - state_start; in get_recent_times()
392 static void window_reset(struct psi_window *win, u64 now, u64 value, in window_reset() argument
395 win->start_time = now; in window_reset()
411 static u64 window_update(struct psi_window *win, u64 now, u64 value) in window_update() argument
416 elapsed = now - win->start_time; in window_update()
426 window_reset(win, now, value, growth); in window_update()
437 static u64 update_triggers(struct psi_group *group, u64 now, bool *update_total, in update_triggers() argument
483 growth = window_update(&t->win, now, tota in update_triggers()
510 update_averages(struct psi_group *group, u64 now) update_averages() argument
569 u64 now; psi_avgs_work() local
599 init_rtpoll_triggers(struct psi_group *group, u64 now) init_rtpoll_triggers() argument
644 u64 now; psi_rtpoll_work() local
749 record_times(struct psi_group_cpu *groupc, u64 now) record_times() argument
778 psi_group_change(struct psi_group *group, int cpu, unsigned int clear, unsigned int set, u64 now, bool wake_clock) psi_group_change() argument
912 u64 now; psi_task_change() local
932 u64 now = cpu_clock(cpu); psi_task_switch() local
1010 u64 now; psi_account_irqtime() local
1223 u64 now; psi_cgroup_restart() local
1237 u64 now; psi_show() local
[all...]
/kernel/linux/linux-6.6/block/
H A Dblk-iocost.c561 u64 now; member
963 static void ioc_refresh_vrate(struct ioc *ioc, struct ioc_now *now) in ioc_refresh_vrate() argument
965 s64 pleft = ioc->period_at + ioc->period_us - now->now; in ioc_refresh_vrate()
1042 static void ioc_now(struct ioc *ioc, struct ioc_now *now) in ioc_now() argument
1047 now->now_ns = ktime_get(); in ioc_now()
1048 now->now = ktime_to_us(now->now_ns); in ioc_now()
1061 now in ioc_now()
1066 ioc_start_period(struct ioc *ioc, struct ioc_now *now) ioc_start_period() argument
1084 __propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, bool save, struct ioc_now *now) __propagate_weights() argument
1159 propagate_weights(struct ioc_gq *iocg, u32 active, u32 inuse, bool save, struct ioc_now *now) propagate_weights() argument
1246 weight_updated(struct ioc_gq *iocg, struct ioc_now *now) weight_updated() argument
1261 iocg_activate(struct ioc_gq *iocg, struct ioc_now *now) iocg_activate() argument
1346 iocg_kick_delay(struct ioc_gq *iocg, struct ioc_now *now) iocg_kick_delay() argument
1410 iocg_incur_debt(struct ioc_gq *iocg, u64 abs_cost, struct ioc_now *now) iocg_incur_debt() argument
1435 iocg_pay_debt(struct ioc_gq *iocg, u64 abs_vpay, struct ioc_now *now) iocg_pay_debt() argument
1489 iocg_kick_waitq(struct ioc_gq *iocg, bool pay_debt, struct ioc_now *now) iocg_kick_waitq() argument
1576 struct ioc_now now; iocg_waitq_timer_fn() local
1692 iocg_flush_stat_leaf(struct ioc_gq *iocg, struct ioc_now *now) iocg_flush_stat_leaf() argument
1716 iocg_flush_stat(struct list_head *target_iocgs, struct ioc_now *now) iocg_flush_stat() argument
1739 hweight_after_donation(struct ioc_gq *iocg, u32 old_hwi, u32 hwm, u32 usage, struct ioc_now *now) hweight_after_donation() argument
1845 transfer_surpluses(struct list_head *surpluses, struct ioc_now *now) transfer_surpluses() argument
2071 ioc_forgive_debts(struct ioc *ioc, u64 usage_us_sum, int nr_debtors, struct ioc_now *now) ioc_forgive_debts() argument
2162 ioc_check_iocgs(struct ioc *ioc, struct ioc_now *now) ioc_check_iocgs() argument
2234 struct ioc_now now; ioc_timer_fn() local
2456 adjust_inuse_and_calc_cost(struct ioc_gq *iocg, u64 vtime, u64 abs_cost, struct ioc_now *now) adjust_inuse_and_calc_cost() argument
2600 struct ioc_now now; ioc_rqos_throttle() local
2736 struct ioc_now now; ioc_rqos_merge() local
2977 struct ioc_now now; ioc_pd_init() local
3019 struct ioc_now now; ioc_pd_free() local
3090 struct ioc_now now; ioc_weight_write() local
[all...]
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_debugfs.c96 static void seq_print_one_request(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_one_request() argument
108 seq_printf(m, "\t%d", jiffies_to_msecs(now - req->start_jif)); in seq_print_one_request()
109 seq_print_age_or_dash(m, s & RQ_IN_ACT_LOG, now - req->in_actlog_jif); in seq_print_one_request()
110 seq_print_age_or_dash(m, s & RQ_LOCAL_PENDING, now - req->pre_submit_jif); in seq_print_one_request()
113 seq_print_age_or_dash(m, s & RQ_NET_SENT, now - req->pre_send_jif); in seq_print_one_request()
114 seq_print_age_or_dash(m, (s & RQ_NET_SENT) && !(s & RQ_NET_PENDING), now - req->acked_jif); in seq_print_one_request()
115 seq_print_age_or_dash(m, s & RQ_NET_DONE, now - req->net_done_jif); in seq_print_one_request()
122 static void seq_print_minor_vnr_req(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_minor_vnr_req() argument
125 seq_print_one_request(m, req, now); in seq_print_minor_vnr_req()
128 static void seq_print_resource_pending_meta_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) in seq_print_resource_pending_meta_io() argument
156 seq_print_waiting_for_AL(struct seq_file *m, struct drbd_resource *resource, unsigned long now) seq_print_waiting_for_AL() argument
191 seq_print_device_bitmap_io(struct seq_file *m, struct drbd_device *device, unsigned long now) seq_print_device_bitmap_io() argument
216 seq_print_resource_pending_bitmap_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) seq_print_resource_pending_bitmap_io() argument
246 seq_print_peer_request(struct seq_file *m, struct drbd_device *device, struct list_head *lh, unsigned long now) seq_print_peer_request() argument
271 seq_print_device_peer_requests(struct seq_file *m, struct drbd_device *device, unsigned long now) seq_print_device_peer_requests() argument
287 seq_print_resource_pending_peer_requests(struct seq_file *m, struct drbd_resource *resource, unsigned long now) seq_print_resource_pending_peer_requests() argument
300 seq_print_resource_transfer_log_summary(struct seq_file *m, struct drbd_resource *resource, struct drbd_connection *connection, unsigned long now) seq_print_resource_transfer_log_summary() argument
499 seq_print_one_timing_detail(struct seq_file *m, const struct drbd_thread_timing_details *tdp, unsigned long now) seq_print_one_timing_detail() argument
518 seq_print_timing_details(struct seq_file *m, const char *title, unsigned int cb_nr, struct drbd_thread_timing_details *tdp, unsigned long now) seq_print_timing_details() argument
576 unsigned long now = jiffies; connection_oldest_requests_show() local
694 unsigned long now = jiffies; device_oldest_requests_show() local
[all...]
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_debugfs.c96 static void seq_print_one_request(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_one_request() argument
108 seq_printf(m, "\t%d", jiffies_to_msecs(now - req->start_jif)); in seq_print_one_request()
109 seq_print_age_or_dash(m, s & RQ_IN_ACT_LOG, now - req->in_actlog_jif); in seq_print_one_request()
110 seq_print_age_or_dash(m, s & RQ_LOCAL_PENDING, now - req->pre_submit_jif); in seq_print_one_request()
113 seq_print_age_or_dash(m, s & RQ_NET_SENT, now - req->pre_send_jif); in seq_print_one_request()
114 seq_print_age_or_dash(m, (s & RQ_NET_SENT) && !(s & RQ_NET_PENDING), now - req->acked_jif); in seq_print_one_request()
115 seq_print_age_or_dash(m, s & RQ_NET_DONE, now - req->net_done_jif); in seq_print_one_request()
122 static void seq_print_minor_vnr_req(struct seq_file *m, struct drbd_request *req, unsigned long now) in seq_print_minor_vnr_req() argument
125 seq_print_one_request(m, req, now); in seq_print_minor_vnr_req()
128 static void seq_print_resource_pending_meta_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) in seq_print_resource_pending_meta_io() argument
156 seq_print_waiting_for_AL(struct seq_file *m, struct drbd_resource *resource, unsigned long now) seq_print_waiting_for_AL() argument
191 seq_print_device_bitmap_io(struct seq_file *m, struct drbd_device *device, unsigned long now) seq_print_device_bitmap_io() argument
216 seq_print_resource_pending_bitmap_io(struct seq_file *m, struct drbd_resource *resource, unsigned long now) seq_print_resource_pending_bitmap_io() argument
246 seq_print_peer_request(struct seq_file *m, struct drbd_device *device, struct list_head *lh, unsigned long now) seq_print_peer_request() argument
271 seq_print_device_peer_requests(struct seq_file *m, struct drbd_device *device, unsigned long now) seq_print_device_peer_requests() argument
287 seq_print_resource_pending_peer_requests(struct seq_file *m, struct drbd_resource *resource, unsigned long now) seq_print_resource_pending_peer_requests() argument
300 seq_print_resource_transfer_log_summary(struct seq_file *m, struct drbd_resource *resource, struct drbd_connection *connection, unsigned long now) seq_print_resource_transfer_log_summary() argument
499 seq_print_one_timing_detail(struct seq_file *m, const struct drbd_thread_timing_details *tdp, unsigned long now) seq_print_one_timing_detail() argument
518 seq_print_timing_details(struct seq_file *m, const char *title, unsigned int cb_nr, struct drbd_thread_timing_details *tdp, unsigned long now) seq_print_timing_details() argument
576 unsigned long now = jiffies; connection_oldest_requests_show() local
694 unsigned long now = jiffies; device_oldest_requests_show() local
[all...]

Completed in 18 milliseconds

12345678910>>...50