/linux-master/net/tipc/ |
H A D | monitor.c | 183 static struct tipc_peer *get_peer(struct tipc_monitor *mon, u32 addr) argument 188 hlist_for_each_entry(peer, &mon->peers[thash], hash) { 197 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local 199 return mon->self; 202 static inline bool tipc_mon_is_active(struct net *net, struct tipc_monitor *mon) argument 206 return mon->peer_cnt > tn->mon_threshold; 245 static void mon_apply_domain(struct tipc_monitor *mon, argument 270 static void mon_update_local_domain(struct tipc_monitor *mon) argument 272 struct tipc_peer *self = mon->self; 273 struct tipc_mon_domain *cache = &mon 308 mon_update_neighbors(struct tipc_monitor *mon, struct tipc_peer *peer) argument 324 mon_assign_roles(struct tipc_monitor *mon, struct tipc_peer *head) argument 354 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local 390 tipc_mon_add_peer(struct tipc_monitor *mon, u32 addr, struct tipc_peer **peer) argument 424 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local 443 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local 483 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local 569 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local 603 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local 633 struct tipc_monitor *mon = from_timer(mon, t, timer); local 650 struct tipc_monitor *mon; local 685 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local 711 struct tipc_monitor *mon; local 800 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local 829 struct tipc_monitor *mon = tipc_monitor(net, bearer_id); local [all...] |
/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpupower-monitor.c | 97 int unsigned mon; local 105 for (mon = 0; mon < avail_monitors; mon++) { 106 need_len = monitors[mon]->hw_states_num * (MAX_COL_WIDTH + 1) 108 if (mon != 0) 110 sprintf(buf, "%s", monitors[mon]->name); 123 for (mon = 0; mon < avail_monitors; mon 142 unsigned int mon; local 223 int mon, hits = 0; local 259 unsigned int mon; local [all...] |
/linux-master/tools/testing/selftests/timers/ |
H A D | raw_skew.c | 69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) argument 87 *mon = nsec_to_ts(tmp); 94 struct timespec mon, raw, start, end; local 107 get_monotonic_and_raw(&mon, &raw); 108 start = mon; 109 delta1 = diff_timespec(mon, raw); 118 get_monotonic_and_raw(&mon, &raw); 119 end = mon; 122 delta2 = diff_timespec(mon, raw);
|
H A D | adjtick.c | 69 void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw) argument 75 clock_gettime(CLOCK_MONOTONIC, mon); 91 *mon = nsec_to_ts(tmp);
|
/linux-master/arch/mips/include/asm/ |
H A D | mc146818-time.h | 91 unsigned int year, mon, day, hour, min, sec; local 101 mon = CMOS_READ(RTC_MONTH); 110 mon = bcd2bin(mon); 116 return mktime64(year, mon, day, hour, min, sec);
|
/linux-master/drivers/net/wireless/microchip/wilc1000/ |
H A D | Makefile | 4 wilc1000-objs := cfg80211.o netdev.o mon.o \
|
/linux-master/arch/mips/dec/ |
H A D | time.c | 24 unsigned int year, mon, day, hour, min, sec, real_year; local 34 mon = CMOS_READ(RTC_MONTH); 51 mon = bcd2bin(mon); 57 ts->tv_sec = mktime64(year, mon, day, hour, min, sec);
|
/linux-master/arch/m68k/bvme6000/ |
H A D | rtc.c | 74 unsigned char mon, day, hrs, min, sec, leap_yr; local 86 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ 94 if ((mon > 12) || (mon < 1) || (day == 0)) 97 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) 117 rtc->bcd_mth = bin2bcd(mon);
|
/linux-master/arch/m68k/mvme16x/ |
H A D | rtc.c | 69 unsigned char mon, day, hrs, min, sec, leap_yr; local 81 mon = rtc_tm.tm_mon + 1; /* tm_mon starts at zero */ 89 if ((mon > 12) || (day == 0)) 92 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr))) 108 rtc->bcd_mth = bin2bcd(mon);
|
/linux-master/arch/sh/boards/mach-sh03/ |
H A D | rtc.c | 43 unsigned int year, mon, day, hour, min, sec; local 52 mon = (__raw_readb(RTC_MON1) & 0xf) + (__raw_readb(RTC_MON10) & 0xf) * 10; 57 if (year == 0 || mon < 1 || mon > 12 || day > 31 || day < 1 || 61 printk("year=%d, mon=%d, day=%d, hour=%d, min=%d, sec=%d\n", 62 year, mon, day, hour, min, sec); 83 tm->tm_mon = mon;
|
/linux-master/fs/lockd/ |
H A D | Makefile | 11 svcshare.o svcproc.o svcsubs.o mon.o trace.o xdr.o
|
/linux-master/arch/arm/mach-shmobile/ |
H A D | regulator-quirk-rcar-gen2.c | 81 u32 mon; local 86 mon = ioread32(irqc + IRQC_MONITOR); 87 dev_dbg(dev, "%s: %ld, IRQC_MONITOR = 0x%x\n", __func__, action, mon); 88 if (mon & REGULATOR_IRQ_MASK) 117 mon = ioread32(irqc + IRQC_MONITOR); 118 if (mon & REGULATOR_IRQ_MASK) 147 u32 mon, addr; local 212 mon = ioread32(irqc + IRQC_MONITOR); 213 if (mon & REGULATOR_IRQ_MASK) {
|
/linux-master/arch/powerpc/platforms/chrp/ |
H A D | time.c | 132 unsigned int year, mon, day, hour, min, sec; local 139 mon = chrp_cmos_clock_read(RTC_MONTH); 148 mon = bcd2bin(mon); 157 tm->tm_mon = mon;
|
/linux-master/arch/powerpc/platforms/maple/ |
H A D | time.c | 80 int sec, min, hour, mon, mday, year; local 95 mon = tm->tm_mon; 103 mon = bin2bcd(mon); 110 maple_clock_write(mon, RTC_MONTH);
|
/linux-master/arch/m68k/atari/ |
H A D | time.c | 203 int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; local 218 mon = t->tm_mon + 1; 237 mon = bin2bcd(mon); 270 mon = RTC_READ( RTC_MONTH ); 279 RTC_WRITE( RTC_MONTH, mon ); 299 mon = bcd2bin(mon); 315 t->tm_mon = mon - 1;
|
/linux-master/tools/gpio/ |
H A D | Makefile | 21 ALL_TARGETS := lsgpio gpio-hammer gpio-event-mon gpio-watch 61 # gpio-event-mon 63 GPIO_EVENT_MON_IN := $(OUTPUT)gpio-event-mon-in.o 65 $(Q)$(MAKE) $(build)=gpio-event-mon 66 $(OUTPUT)gpio-event-mon: $(GPIO_EVENT_MON_IN)
|
/linux-master/drivers/rtc/ |
H A D | rtc-mc146818-lib.c | 215 unsigned char mon, day, hrs, min, sec; local 224 mon = time->tm_mon + 1; /* tm_mon starts at zero */ 244 if (!leap_yr && mon < 3) { 275 mon = bin2bcd(mon); 293 CMOS_WRITE(mon, RTC_MONTH);
|
H A D | rtc-bq4802.c | 95 u8 sec, min, hrs, day, mon, yrs, century, val; local 103 mon = tm->tm_mon + 1; /* tm_mon starts at zero */ 113 mon = bin2bcd(mon); 126 p->write(p, 0x09, mon);
|
H A D | rtc-m48t35.c | 100 unsigned char mon, day, hrs, min, sec; local 105 mon = tm->tm_mon + 1; /* tm_mon starts at zero */ 128 mon = bin2bcd(mon); 135 writeb(mon, &priv->reg->month);
|
H A D | rtc-ds1286.c | 216 unsigned char mon, day, hrs, min, sec; local 222 mon = tm->tm_mon + 1; /* tm_mon starts at zero */ 242 mon = bin2bcd(mon); 250 ds1286_rtc_write(priv, mon, RTC_MONTH);
|
H A D | rtc-imx-sc.c | 35 u8 mon; member in struct:imx_sc_msg_timer_rtc_set_alarm 96 msg.mon = alrm_tm->tm_mon + 1;
|
/linux-master/arch/mips/sibyte/swarm/ |
H A D | rtc_m41t81.c | 188 unsigned int year, mon, day, hour, min, sec; local 203 mon = m41t81_read(M41T81REG_MO); 211 mon = bcd2bin(mon); 216 return mktime64(year, mon, day, hour, min, sec);
|
H A D | rtc_xicor1241.c | 169 unsigned int year, mon, day, hour, min, sec, y2k; local 185 mon = xicor_read(X1241REG_MO); 194 mon = bcd2bin(mon); 200 return mktime64(year, mon, day, hour, min, sec);
|
/linux-master/include/linux/ |
H A D | time.h | 20 extern time64_t mktime64(const unsigned int year, const unsigned int mon,
|
/linux-master/arch/x86/kernel/cpu/resctrl/ |
H A D | rdtgroup.c | 349 this_cpu_write(pqr_state.default_rmid, r->mon.rmid); 374 struct rdtgroup *prgrp = rdtgrp->mon.parent, *crgrp; 398 head = &prgrp->mon.crdtgrp_list; 399 list_for_each_entry(crgrp, head, mon.crdtgrp_list) { 419 /* update the child mon group masks as well*/ 420 list_for_each_entry(crgrp, &r->mon.crdtgrp_list, mon.crdtgrp_list) 466 * Clear child mon group masks since there is a new parent mask 469 head = &rdtgrp->mon.crdtgrp_list; 470 list_for_each_entry(crgrp, head, mon [all...] |