/kernel/linux/linux-5.10/kernel/sched/ |
H A D | sched_avg.c | 22 static DEFINE_PER_CPU(u64, nr_max); 77 stats[cpu].nr_max = per_cpu(nr_max, cpu); in sched_get_nr_running_avg() 80 stats[cpu].nr_misfit, stats[cpu].nr_max); in sched_get_nr_running_avg() 86 per_cpu(nr_max, cpu) = per_cpu(nr, cpu); in sched_get_nr_running_avg() 142 if (per_cpu(nr, cpu) > per_cpu(nr_max, cpu)) in sched_update_nr_prod() 143 per_cpu(nr_max, cpu) = per_cpu(nr, cpu); in sched_update_nr_prod()
|
H A D | core_ctl.c | 357 max_nr = max(max_nr, nr_stats[cpu].nr_max); in compute_cluster_max_nr()
|
H A D | sched.h | 3149 int nr_max; member
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | sched_avg.c | 22 static DEFINE_PER_CPU(u64, nr_max); 77 stats[cpu].nr_max = per_cpu(nr_max, cpu); in sched_get_nr_running_avg() 80 stats[cpu].nr_misfit, stats[cpu].nr_max); in sched_get_nr_running_avg() 86 per_cpu(nr_max, cpu) = per_cpu(nr, cpu); in sched_get_nr_running_avg() 142 if (per_cpu(nr, cpu) > per_cpu(nr_max, cpu)) in sched_update_nr_prod() 143 per_cpu(nr_max, cpu) = per_cpu(nr, cpu); in sched_update_nr_prod()
|
H A D | core_ctl.c | 357 max_nr = max(max_nr, nr_stats[cpu].nr_max); in compute_cluster_max_nr()
|
H A D | sched.h | 3981 int nr_max; member
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | sched.h | 706 TP_PROTO(int cpu, int nr, int nr_misfit, int nr_max), 708 TP_ARGS(cpu, nr, nr_misfit, nr_max), 714 __field(int, nr_max) 721 __entry->nr_max = nr_max; 724 TP_printk("cpu=%d nr=%d nr_misfit=%d nr_max=%d", 725 __entry->cpu, __entry->nr, __entry->nr_misfit, __entry->nr_max)
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | sched.h | 791 TP_PROTO(int cpu, int nr, int nr_misfit, int nr_max), 793 TP_ARGS(cpu, nr, nr_misfit, nr_max), 799 __field(int, nr_max) 806 __entry->nr_max = nr_max; 809 TP_printk("cpu=%d nr=%d nr_misfit=%d nr_max=%d", 810 __entry->cpu, __entry->nr, __entry->nr_misfit, __entry->nr_max)
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | oaktrail_hdmi.c | 178 int np_min, np_max, nr_min, nr_max; in oaktrail_hdmi_find_dpll() local 189 nr_max = DIV_ROUND_UP((refclk * 1000), (target * 10 * np_min)); in oaktrail_hdmi_find_dpll() 192 if (nr_max > oaktrail_hdmi_limit.nr.max) in oaktrail_hdmi_find_dpll() 193 nr_max = oaktrail_hdmi_limit.nr.max; in oaktrail_hdmi_find_dpll() 195 np = DIV_ROUND_UP((refclk * 1000), (target * 10 * nr_max)); in oaktrail_hdmi_find_dpll()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gma500/ |
H A D | oaktrail_hdmi.c | 181 int np_min, np_max, nr_min, nr_max; in oaktrail_hdmi_find_dpll() local 192 nr_max = DIV_ROUND_UP((refclk * 1000), (target * 10 * np_min)); in oaktrail_hdmi_find_dpll() 195 if (nr_max > oaktrail_hdmi_limit.nr.max) in oaktrail_hdmi_find_dpll() 196 nr_max = oaktrail_hdmi_limit.nr.max; in oaktrail_hdmi_find_dpll() 198 np = DIV_ROUND_UP((refclk * 1000), (target * 10 * nr_max)); in oaktrail_hdmi_find_dpll()
|
/kernel/linux/linux-5.10/drivers/clk/baikal-t1/ |
H A D | ccu-pll.c | 173 unsigned long nr_max, nf_max, od_max; in ccu_pll_calc_factors() local 181 nr_max = min(parent_rate / CCU_PLL_FDIV_MIN, CCU_PLL_NR_MAX); in ccu_pll_calc_factors() 189 for (; nri <= nr_max; ++nri) { in ccu_pll_calc_factors()
|
/kernel/linux/linux-6.6/drivers/clk/baikal-t1/ |
H A D | ccu-pll.c | 173 unsigned long nr_max, nf_max, od_max; in ccu_pll_calc_factors() local 181 nr_max = min(parent_rate / CCU_PLL_FDIV_MIN, CCU_PLL_NR_MAX); in ccu_pll_calc_factors() 189 for (; nri <= nr_max; ++nri) { in ccu_pll_calc_factors()
|
/kernel/linux/linux-5.10/net/l2tp/ |
H A D | l2tp_core.c | 449 session->nr &= session->nr_max; in l2tp_recv_dequeue_skb() 518 nws = (session->nr_max + 1) - (session->nr - nr); in l2tp_seq_check_rx_window() 555 u32 nr_next = (session->nr_oos + 1) & session->nr_max; in l2tp_recv_data_seq() 1597 session->nr_max = 0xffff; in l2tp_session_create() 1599 session->nr_max = 0xffffff; in l2tp_session_create() 1600 session->nr_window_size = session->nr_max / 2; in l2tp_session_create()
|
H A D | l2tp_core.h | 86 u32 nr_max; /* max NR. Depends on tunnel */ member
|
/kernel/linux/linux-6.6/net/l2tp/ |
H A D | l2tp_core.c | 449 session->nr &= session->nr_max; in l2tp_recv_dequeue_skb() 518 nws = (session->nr_max + 1) - (session->nr - nr); in l2tp_seq_check_rx_window() 555 u32 nr_next = (session->nr_oos + 1) & session->nr_max; in l2tp_recv_data_seq() 1595 session->nr_max = 0xffff; in l2tp_session_create() 1597 session->nr_max = 0xffffff; in l2tp_session_create() 1598 session->nr_window_size = session->nr_max / 2; in l2tp_session_create()
|
H A D | l2tp_core.h | 86 u32 nr_max; /* max NR. Depends on tunnel */ member
|
/kernel/linux/linux-5.10/tools/perf/bench/ |
H A D | numa.c | 782 static u64 do_work(u8 *__data, long bytes, int nr, int nr_max, int loop, u64 val) in do_work() argument 804 chunk_0 = words/nr_max; in do_work() 986 int nr_max; in calc_convergence() local 1022 nr_max = 0; in calc_convergence() 1031 nr_max = max(nr, nr_max); in calc_convergence() 1034 BUG_ON(nr_min > nr_max); in calc_convergence() 1060 distance = nr_max - nr_min; in calc_convergence()
|
/kernel/linux/linux-6.6/tools/perf/bench/ |
H A D | numa.c | 819 static u64 do_work(u8 *__data, long bytes, int nr, int nr_max, int loop, u64 val) in do_work() argument 841 chunk_0 = words/nr_max; in do_work() 1029 int nr_max; in calc_convergence() local 1067 nr_max = 0; in calc_convergence() 1076 nr_max = max(nr, nr_max); in calc_convergence() 1079 BUG_ON(nr_min > nr_max); in calc_convergence() 1107 distance = nr_max - nr_min; in calc_convergence()
|