Home
last modified time | relevance | path

Searched refs:mon (Results 1 - 25 of 115) sorted by relevance

12345

/kernel/linux/linux-5.10/net/tipc/
H A Dmonitor.c153 static struct tipc_peer *get_peer(struct tipc_monitor *mon, u32 addr) in get_peer() argument
158 hlist_for_each_entry(peer, &mon->peers[thash], hash) { in get_peer()
167 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in get_self() local
169 return mon->self; in get_self()
172 static inline bool tipc_mon_is_active(struct net *net, struct tipc_monitor *mon) in tipc_mon_is_active() argument
176 return mon->peer_cnt > tn->mon_threshold; in tipc_mon_is_active()
215 static void mon_apply_domain(struct tipc_monitor *mon, in mon_apply_domain() argument
240 static void mon_update_local_domain(struct tipc_monitor *mon) in mon_update_local_domain() argument
242 struct tipc_peer *self = mon->self; in mon_update_local_domain()
243 struct tipc_mon_domain *cache = &mon in mon_update_local_domain()
278 mon_update_neighbors(struct tipc_monitor *mon, struct tipc_peer *peer) mon_update_neighbors() argument
294 mon_assign_roles(struct tipc_monitor *mon, struct tipc_peer *head) mon_assign_roles() argument
324 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_remove_peer() local
360 tipc_mon_add_peer(struct tipc_monitor *mon, u32 addr, struct tipc_peer **peer) tipc_mon_add_peer() argument
394 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_peer_up() local
413 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_peer_down() local
453 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_rcv() local
538 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_prep() local
572 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_get_state() local
602 struct tipc_monitor *mon = from_timer(mon, t, timer); mon_timeout() local
619 struct tipc_monitor *mon; tipc_mon_create() local
654 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_delete() local
680 struct tipc_monitor *mon; tipc_mon_reinit_self() local
769 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_nl_add_monitor_peer() local
798 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); __tipc_nl_add_monitor() local
[all...]
/kernel/linux/linux-6.6/net/tipc/
H A Dmonitor.c183 static struct tipc_peer *get_peer(struct tipc_monitor *mon, u32 addr) in get_peer() argument
188 hlist_for_each_entry(peer, &mon->peers[thash], hash) { in get_peer()
197 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); in get_self() local
199 return mon->self; in get_self()
202 static inline bool tipc_mon_is_active(struct net *net, struct tipc_monitor *mon) in tipc_mon_is_active() argument
206 return mon->peer_cnt > tn->mon_threshold; in tipc_mon_is_active()
245 static void mon_apply_domain(struct tipc_monitor *mon, in mon_apply_domain() argument
270 static void mon_update_local_domain(struct tipc_monitor *mon) in mon_update_local_domain() argument
272 struct tipc_peer *self = mon->self; in mon_update_local_domain()
273 struct tipc_mon_domain *cache = &mon in mon_update_local_domain()
308 mon_update_neighbors(struct tipc_monitor *mon, struct tipc_peer *peer) mon_update_neighbors() argument
324 mon_assign_roles(struct tipc_monitor *mon, struct tipc_peer *head) mon_assign_roles() argument
354 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_remove_peer() local
390 tipc_mon_add_peer(struct tipc_monitor *mon, u32 addr, struct tipc_peer **peer) tipc_mon_add_peer() argument
424 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_peer_up() local
443 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_peer_down() local
483 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_rcv() local
569 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_prep() local
603 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_get_state() local
633 struct tipc_monitor *mon = from_timer(mon, t, timer); mon_timeout() local
650 struct tipc_monitor *mon; tipc_mon_create() local
685 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_mon_delete() local
711 struct tipc_monitor *mon; tipc_mon_reinit_self() local
800 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); tipc_nl_add_monitor_peer() local
829 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); __tipc_nl_add_monitor() local
[all...]
/kernel/linux/linux-5.10/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.c97 int unsigned mon; in print_header() local
105 for (mon = 0; mon < avail_monitors; mon++) { in print_header()
106 need_len = monitors[mon]->hw_states_num * (MAX_COL_WIDTH + 1) in print_header()
108 if (mon != 0) in print_header()
110 sprintf(buf, "%s", monitors[mon]->name); in print_header()
123 for (mon = 0; mon < avail_monitors; mon in print_header()
142 unsigned int mon; print_results() local
223 int mon, hits = 0; parse_monitor_param() local
259 unsigned int mon; list_monitors() local
[all...]
/kernel/linux/linux-6.6/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.c97 int unsigned mon; in print_header() local
105 for (mon = 0; mon < avail_monitors; mon++) { in print_header()
106 need_len = monitors[mon]->hw_states_num * (MAX_COL_WIDTH + 1) in print_header()
108 if (mon != 0) in print_header()
110 sprintf(buf, "%s", monitors[mon]->name); in print_header()
123 for (mon = 0; mon < avail_monitors; mon in print_header()
142 unsigned int mon; print_results() local
223 int mon, hits = 0; parse_monitor_param() local
259 unsigned int mon; list_monitors() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
H A Draw_skew.c69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw() argument
87 *mon = nsec_to_ts(tmp); in get_monotonic_and_raw()
94 struct timespec mon, raw, start, end; in main() local
107 get_monotonic_and_raw(&mon, &raw); in main()
108 start = mon; in main()
109 delta1 = diff_timespec(mon, raw); in main()
118 get_monotonic_and_raw(&mon, &raw); in main()
119 end = mon; in main()
122 delta2 = diff_timespec(mon, raw); in main()
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
H A Draw_skew.c69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) in get_monotonic_and_raw() argument
87 *mon = nsec_to_ts(tmp); in get_monotonic_and_raw()
94 struct timespec mon, raw, start, end; in main() local
107 get_monotonic_and_raw(&mon, &raw); in main()
108 start = mon; in main()
109 delta1 = diff_timespec(mon, raw); in main()
118 get_monotonic_and_raw(&mon, &raw); in main()
119 end = mon; in main()
122 delta2 = diff_timespec(mon, raw); in main()
/kernel/linux/linux-5.10/arch/arm/mach-shmobile/
H A Dregulator-quirk-rcar-gen2.c81 u32 mon; in regulator_quirk_notify() local
86 mon = ioread32(irqc + IRQC_MONITOR); in regulator_quirk_notify()
87 dev_dbg(dev, "%s: %ld, IRQC_MONITOR = 0x%x\n", __func__, action, mon); in regulator_quirk_notify()
88 if (mon & REGULATOR_IRQ_MASK) in regulator_quirk_notify()
117 mon = ioread32(irqc + IRQC_MONITOR); in regulator_quirk_notify()
118 if (mon & REGULATOR_IRQ_MASK) in regulator_quirk_notify()
147 u32 mon, addr; in rcar_gen2_regulator_quirk() local
212 mon = ioread32(irqc + IRQC_MONITOR); in rcar_gen2_regulator_quirk()
213 if (mon & REGULATOR_IRQ_MASK) { in rcar_gen2_regulator_quirk()
/kernel/linux/linux-6.6/arch/arm/mach-shmobile/
H A Dregulator-quirk-rcar-gen2.c81 u32 mon; in regulator_quirk_notify() local
86 mon = ioread32(irqc + IRQC_MONITOR); in regulator_quirk_notify()
87 dev_dbg(dev, "%s: %ld, IRQC_MONITOR = 0x%x\n", __func__, action, mon); in regulator_quirk_notify()
88 if (mon & REGULATOR_IRQ_MASK) in regulator_quirk_notify()
117 mon = ioread32(irqc + IRQC_MONITOR); in regulator_quirk_notify()
118 if (mon & REGULATOR_IRQ_MASK) in regulator_quirk_notify()
147 u32 mon, addr; in rcar_gen2_regulator_quirk() local
212 mon = ioread32(irqc + IRQC_MONITOR); in rcar_gen2_regulator_quirk()
213 if (mon & REGULATOR_IRQ_MASK) { in rcar_gen2_regulator_quirk()
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dmc146818-time.h91 unsigned int year, mon, day, hour, min, sec; in mc146818_get_cmos_time() local
101 mon = CMOS_READ(RTC_MONTH); in mc146818_get_cmos_time()
110 mon = bcd2bin(mon); in mc146818_get_cmos_time()
116 return mktime64(year, mon, day, hour, min, sec); in mc146818_get_cmos_time()
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dmc146818-time.h91 unsigned int year, mon, day, hour, min, sec; in mc146818_get_cmos_time() local
101 mon = CMOS_READ(RTC_MONTH); in mc146818_get_cmos_time()
110 mon = bcd2bin(mon); in mc146818_get_cmos_time()
116 return mktime64(year, mon, day, hour, min, sec); in mc146818_get_cmos_time()
/kernel/linux/linux-5.10/arch/m68k/bvme6000/
H A Drtc.c74 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
86 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ in rtc_ioctl()
94 if ((mon > 12) || (mon < 1) || (day == 0)) in rtc_ioctl()
97 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
117 rtc->bcd_mth = bin2bcd(mon); in rtc_ioctl()
/kernel/linux/linux-6.6/arch/m68k/bvme6000/
H A Drtc.c74 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
86 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ in rtc_ioctl()
94 if ((mon > 12) || (mon < 1) || (day == 0)) in rtc_ioctl()
97 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
117 rtc->bcd_mth = bin2bcd(mon); in rtc_ioctl()
/kernel/linux/linux-5.10/arch/m68k/mvme16x/
H A Drtc.c69 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
81 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ in rtc_ioctl()
89 if ((mon > 12) || (day == 0)) in rtc_ioctl()
92 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
108 rtc->bcd_mth = bin2bcd(mon); in rtc_ioctl()
/kernel/linux/linux-6.6/arch/m68k/mvme16x/
H A Drtc.c69 unsigned char mon, day, hrs, min, sec, leap_yr; in rtc_ioctl() local
81 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ in rtc_ioctl()
89 if ((mon > 12) || (day == 0)) in rtc_ioctl()
92 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) in rtc_ioctl()
108 rtc->bcd_mth = bin2bcd(mon); in rtc_ioctl()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c303 ret_val = __mon_event_count(rdtgrp->mon.rmid, rr); in mon_event_count()
310 head = &rdtgrp->mon.crdtgrp_list; in mon_event_count()
313 list_for_each_entry(entry, head, mon.crdtgrp_list) { in mon_event_count()
314 if (__mon_event_count(entry->mon.rmid, rr) == 0) in mon_event_count()
371 rmid = rgrp->mon.rmid; in update_mba_bw()
388 head = &rgrp->mon.crdtgrp_list; in update_mba_bw()
389 list_for_each_entry(entry, head, mon.crdtgrp_list) { in update_mba_bw()
390 cmbm_data = &dom_mbm->mbm_local[entry->mon.rmid]; in update_mba_bw()
433 list_for_each_entry(entry, head, mon.crdtgrp_list) { in update_mba_bw()
434 cmbm_data = &dom_mbm->mbm_local[entry->mon in update_mba_bw()
[all...]
H A Drdtgroup.c306 this_cpu_write(pqr_state.default_rmid, r->mon.rmid); in update_cpu_closid_rmid()
336 struct rdtgroup *prgrp = rdtgrp->mon.parent, *crgrp; in cpus_mon_write()
360 head = &prgrp->mon.crdtgrp_list; in cpus_mon_write()
361 list_for_each_entry(crgrp, head, mon.crdtgrp_list) { in cpus_mon_write()
381 /* update the child mon group masks as well*/ in cpumask_rdtgrp_clear()
382 list_for_each_entry(crgrp, &r->mon.crdtgrp_list, mon.crdtgrp_list) in cpumask_rdtgrp_clear()
428 * Clear child mon group masks since there is a new parent mask in cpus_ctrl_write()
431 head = &rdtgrp->mon.crdtgrp_list; in cpus_ctrl_write()
432 list_for_each_entry(crgrp, head, mon in cpus_ctrl_write()
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/resctrl/
H A Drdtgroup.c322 this_cpu_write(pqr_state.default_rmid, r->mon.rmid); in update_cpu_closid_rmid()
347 struct rdtgroup *prgrp = rdtgrp->mon.parent, *crgrp; in cpus_mon_write()
371 head = &prgrp->mon.crdtgrp_list; in cpus_mon_write()
372 list_for_each_entry(crgrp, head, mon.crdtgrp_list) { in cpus_mon_write()
392 /* update the child mon group masks as well*/ in cpumask_rdtgrp_clear()
393 list_for_each_entry(crgrp, &r->mon.crdtgrp_list, mon.crdtgrp_list) in cpumask_rdtgrp_clear()
439 * Clear child mon group masks since there is a new parent mask in cpus_ctrl_write()
442 head = &rdtgrp->mon.crdtgrp_list; in cpus_ctrl_write()
443 list_for_each_entry(crgrp, head, mon in cpus_ctrl_write()
[all...]
/kernel/linux/linux-5.10/arch/sh/boards/mach-sh03/
H A Drtc.c44 unsigned int year, mon, day, hour, min, sec; in sh03_rtc_gettimeofday() local
53 mon = (__raw_readb(RTC_MON1) & 0xf) + (__raw_readb(RTC_MON10) & 0xf) * 10; in sh03_rtc_gettimeofday()
58 if (year == 0 || mon < 1 || mon > 12 || day > 31 || day < 1 || in sh03_rtc_gettimeofday()
62 printk("year=%d, mon=%d, day=%d, hour=%d, min=%d, sec=%d\n", in sh03_rtc_gettimeofday()
63 year, mon, day, hour, min, sec); in sh03_rtc_gettimeofday()
84 tm->tm_mon = mon; in sh03_rtc_gettimeofday()
/kernel/linux/linux-6.6/arch/sh/boards/mach-sh03/
H A Drtc.c43 unsigned int year, mon, day, hour, min, sec; in sh03_rtc_gettimeofday() local
52 mon = (__raw_readb(RTC_MON1) & 0xf) + (__raw_readb(RTC_MON10) & 0xf) * 10; in sh03_rtc_gettimeofday()
57 if (year == 0 || mon < 1 || mon > 12 || day > 31 || day < 1 || in sh03_rtc_gettimeofday()
61 printk("year=%d, mon=%d, day=%d, hour=%d, min=%d, sec=%d\n", in sh03_rtc_gettimeofday()
62 year, mon, day, hour, min, sec); in sh03_rtc_gettimeofday()
83 tm->tm_mon = mon; in sh03_rtc_gettimeofday()
/kernel/linux/linux-5.10/arch/m68k/atari/
H A Dtime.c200 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local
215 mon = t->tm_mon + 1; in atari_tt_hwclk()
234 mon = bin2bcd(mon); in atari_tt_hwclk()
267 mon = RTC_READ( RTC_MONTH ); in atari_tt_hwclk()
276 RTC_WRITE( RTC_MONTH, mon ); in atari_tt_hwclk()
296 mon = bcd2bin(mon); in atari_tt_hwclk()
312 t->tm_mon = mon - 1; in atari_tt_hwclk()
/kernel/linux/linux-6.6/arch/m68k/atari/
H A Dtime.c201 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; in atari_tt_hwclk() local
216 mon = t->tm_mon + 1; in atari_tt_hwclk()
235 mon = bin2bcd(mon); in atari_tt_hwclk()
268 mon = RTC_READ( RTC_MONTH ); in atari_tt_hwclk()
277 RTC_WRITE( RTC_MONTH, mon ); in atari_tt_hwclk()
297 mon = bcd2bin(mon); in atari_tt_hwclk()
313 t->tm_mon = mon - 1; in atari_tt_hwclk()
/kernel/linux/linux-5.10/arch/mips/dec/
H A Dtime.c24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local
34 mon = CMOS_READ(RTC_MONTH); in read_persistent_clock64()
51 mon = bcd2bin(mon); in read_persistent_clock64()
57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec); in read_persistent_clock64()
/kernel/linux/linux-6.6/arch/mips/dec/
H A Dtime.c24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local
34 mon = CMOS_READ(RTC_MONTH); in read_persistent_clock64()
51 mon = bcd2bin(mon); in read_persistent_clock64()
57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec); in read_persistent_clock64()
/kernel/linux/linux-5.10/arch/loongarch/loongson64/
H A Drtc.c16 unsigned int year, mon, day, hour, min, sec; in loongson_get_rtc_time() local
24 mon = (value >> 26) & 0x3f; in loongson_get_rtc_time()
29 return mktime64(year, mon, day, hour, min, sec); in loongson_get_rtc_time()
/kernel/linux/linux-5.10/arch/powerpc/platforms/maple/
H A Dtime.c80 int sec, min, hour, mon, mday, year; in maple_set_rtc_time() local
95 mon = tm->tm_mon; in maple_set_rtc_time()
103 mon = bin2bcd(mon); in maple_set_rtc_time()
110 maple_clock_write(mon, RTC_MONTH); in maple_set_rtc_time()

Completed in 15 milliseconds

12345