mon                81 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	u32 mon;
mon                86 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	mon = ioread32(irqc + IRQC_MONITOR);
mon                87 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	dev_dbg(dev, "%s: %ld, IRQC_MONITOR = 0x%x\n", __func__, action, mon);
mon                88 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	if (mon & REGULATOR_IRQ_MASK)
mon               117 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	mon = ioread32(irqc + IRQC_MONITOR);
mon               118 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	if (mon & REGULATOR_IRQ_MASK)
mon               146 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	u32 mon, addr;
mon               207 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	mon = ioread32(irqc + IRQC_MONITOR);
mon               208 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c 	if (mon & REGULATOR_IRQ_MASK) {
mon               200 arch/m68k/atari/time.c     int sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0;
mon               215 arch/m68k/atari/time.c         mon  = t->tm_mon + 1;
mon               234 arch/m68k/atari/time.c 	    mon = bin2bcd(mon);
mon               267 arch/m68k/atari/time.c         mon  = RTC_READ( RTC_MONTH );
mon               276 arch/m68k/atari/time.c         RTC_WRITE( RTC_MONTH, mon );
mon               296 arch/m68k/atari/time.c 	    mon = bcd2bin(mon);
mon               312 arch/m68k/atari/time.c         t->tm_mon  = mon - 1;
mon                74 arch/m68k/bvme6000/rtc.c 		unsigned char mon, day, hrs, min, sec, leap_yr;
mon                86 arch/m68k/bvme6000/rtc.c 		mon = rtc_tm.tm_mon + 1;   /* tm_mon starts at zero */
mon                94 arch/m68k/bvme6000/rtc.c 		if ((mon > 12) || (mon < 1) || (day == 0))
mon                97 arch/m68k/bvme6000/rtc.c 		if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr)))
mon               117 arch/m68k/bvme6000/rtc.c 		rtc->bcd_mth   = bin2bcd(mon);
mon                69 arch/m68k/mvme16x/rtc.c 		unsigned char mon, day, hrs, min, sec, leap_yr;
mon                81 arch/m68k/mvme16x/rtc.c 		mon = rtc_tm.tm_mon + 1;   /* tm_mon starts at zero */
mon                89 arch/m68k/mvme16x/rtc.c 		if ((mon > 12) || (day == 0))
mon                92 arch/m68k/mvme16x/rtc.c 		if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr)))
mon               108 arch/m68k/mvme16x/rtc.c 		rtc->bcd_mth  = bin2bcd(mon);
mon                24 arch/mips/dec/time.c 	unsigned int year, mon, day, hour, min, sec, real_year;
mon                34 arch/mips/dec/time.c 		mon = CMOS_READ(RTC_MONTH);
mon                51 arch/mips/dec/time.c 		mon = bcd2bin(mon);
mon                57 arch/mips/dec/time.c 	ts->tv_sec = mktime64(year, mon, day, hour, min, sec);
mon                91 arch/mips/include/asm/mc146818-time.h 	unsigned int year, mon, day, hour, min, sec;
mon               101 arch/mips/include/asm/mc146818-time.h 		mon = CMOS_READ(RTC_MONTH);
mon               110 arch/mips/include/asm/mc146818-time.h 		mon = bcd2bin(mon);
mon               116 arch/mips/include/asm/mc146818-time.h 	return mktime64(year, mon, day, hour, min, sec);
mon               188 arch/mips/sibyte/swarm/rtc_m41t81.c 	unsigned int year, mon, day, hour, min, sec;
mon               203 arch/mips/sibyte/swarm/rtc_m41t81.c 	mon = m41t81_read(M41T81REG_MO);
mon               211 arch/mips/sibyte/swarm/rtc_m41t81.c 	mon = bcd2bin(mon);
mon               216 arch/mips/sibyte/swarm/rtc_m41t81.c 	return mktime64(year, mon, day, hour, min, sec);
mon               169 arch/mips/sibyte/swarm/rtc_xicor1241.c 	unsigned int year, mon, day, hour, min, sec, y2k;
mon               185 arch/mips/sibyte/swarm/rtc_xicor1241.c 	mon = xicor_read(X1241REG_MO);
mon               194 arch/mips/sibyte/swarm/rtc_xicor1241.c 	mon = bcd2bin(mon);
mon               200 arch/mips/sibyte/swarm/rtc_xicor1241.c 	return mktime64(year, mon, day, hour, min, sec);
mon               377 arch/powerpc/kernel/rtas-proc.c 		unsigned int year, mon, day, hour, min, sec;
mon               378 arch/powerpc/kernel/rtas-proc.c 		year = ret[0]; mon  = ret[1]; day  = ret[2];
mon               381 arch/powerpc/kernel/rtas-proc.c 				mktime64(year, mon, day, hour, min, sec));
mon               134 arch/powerpc/platforms/chrp/time.c 	unsigned int year, mon, day, hour, min, sec;
mon               141 arch/powerpc/platforms/chrp/time.c 		mon = chrp_cmos_clock_read(RTC_MONTH);
mon               150 arch/powerpc/platforms/chrp/time.c 		mon = bcd2bin(mon);
mon               159 arch/powerpc/platforms/chrp/time.c 	tm->tm_mon = mon;
mon                81 arch/powerpc/platforms/maple/time.c 	int sec, min, hour, mon, mday, year;
mon                96 arch/powerpc/platforms/maple/time.c 	mon = tm->tm_mon;
mon               104 arch/powerpc/platforms/maple/time.c 		mon = bin2bcd(mon);
mon               111 arch/powerpc/platforms/maple/time.c 	maple_clock_write(mon, RTC_MONTH);
mon                44 arch/sh/boards/mach-sh03/rtc.c 	unsigned int year, mon, day, hour, min, sec;
mon                53 arch/sh/boards/mach-sh03/rtc.c 		mon  = (__raw_readb(RTC_MON1) & 0xf) + (__raw_readb(RTC_MON10) & 0xf) * 10;
mon                58 arch/sh/boards/mach-sh03/rtc.c 	if (year == 0 || mon < 1 || mon > 12 || day > 31 || day < 1 ||
mon                63 arch/sh/boards/mach-sh03/rtc.c 		       year, mon, day, hour, min, sec);
mon                84 arch/sh/boards/mach-sh03/rtc.c 	tm->tm_mon  = mon;
mon               697 arch/x86/kernel/cpu/resctrl/core.c 	list_for_each_entry(cr, &r->mon.crdtgrp_list, mon.crdtgrp_list) {
mon               209 arch/x86/kernel/cpu/resctrl/internal.h 	struct mongroup			mon;
mon               305 arch/x86/kernel/cpu/resctrl/monitor.c 	if (__mon_event_count(rdtgrp->mon.rmid, rr))
mon               311 arch/x86/kernel/cpu/resctrl/monitor.c 	head = &rdtgrp->mon.crdtgrp_list;
mon               314 arch/x86/kernel/cpu/resctrl/monitor.c 		list_for_each_entry(entry, head, mon.crdtgrp_list) {
mon               315 arch/x86/kernel/cpu/resctrl/monitor.c 			if (__mon_event_count(entry->mon.rmid, rr))
mon               368 arch/x86/kernel/cpu/resctrl/monitor.c 	rmid = rgrp->mon.rmid;
mon               385 arch/x86/kernel/cpu/resctrl/monitor.c 	head = &rgrp->mon.crdtgrp_list;
mon               386 arch/x86/kernel/cpu/resctrl/monitor.c 	list_for_each_entry(entry, head, mon.crdtgrp_list) {
mon               387 arch/x86/kernel/cpu/resctrl/monitor.c 		cmbm_data = &dom_mbm->mbm_local[entry->mon.rmid];
mon               430 arch/x86/kernel/cpu/resctrl/monitor.c 	list_for_each_entry(entry, head, mon.crdtgrp_list) {
mon               431 arch/x86/kernel/cpu/resctrl/monitor.c 		cmbm_data = &dom_mbm->mbm_local[entry->mon.rmid];
mon               525 arch/x86/kernel/cpu/resctrl/monitor.c 		mbm_update(d, prgrp->mon.rmid);
mon               527 arch/x86/kernel/cpu/resctrl/monitor.c 		head = &prgrp->mon.crdtgrp_list;
mon               528 arch/x86/kernel/cpu/resctrl/monitor.c 		list_for_each_entry(crgrp, head, mon.crdtgrp_list)
mon               529 arch/x86/kernel/cpu/resctrl/monitor.c 			mbm_update(d, crgrp->mon.rmid);
mon               530 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	return !list_empty(&rdtgrp->mon.crdtgrp_list);
mon               735 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 	free_rmid(rdtgrp->mon.rmid);
mon               765 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		rdtgrp->mon.rmid = ret;
mon               770 arch/x86/kernel/cpu/resctrl/pseudo_lock.c 		free_rmid(rdtgrp->mon.rmid);
mon               306 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		this_cpu_write(pqr_state.default_rmid, r->mon.rmid);
mon               336 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct rdtgroup *prgrp = rdtgrp->mon.parent, *crgrp;
mon               360 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		head = &prgrp->mon.crdtgrp_list;
mon               361 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		list_for_each_entry(crgrp, head, mon.crdtgrp_list) {
mon               382 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	list_for_each_entry(crgrp, &r->mon.crdtgrp_list, mon.crdtgrp_list)
mon               431 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	head = &rdtgrp->mon.crdtgrp_list;
mon               432 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	list_for_each_entry(crgrp, head, mon.crdtgrp_list) {
mon               578 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			tsk->rmid = rdtgrp->mon.rmid;
mon               580 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			if (rdtgrp->mon.parent->closid == tsk->closid) {
mon               581 arch/x86/kernel/cpu/resctrl/rdtgroup.c 				tsk->rmid = rdtgrp->mon.rmid;
mon               607 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		    (r->type == RDTMON_GROUP && t->rmid == r->mon.rmid)) {
mon               706 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		    (r->type == RDTMON_GROUP && t->rmid == r->mon.rmid))
mon              1997 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		rdtgroup_default.mon.mon_data_kn = kn_mondata;
mon              2171 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		(r->type == RDTMON_GROUP) && (t->rmid == r->mon.rmid));
mon              2192 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			t->rmid = to->mon.rmid;
mon              2217 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	head = &rdtgrp->mon.crdtgrp_list;
mon              2218 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	list_for_each_entry_safe(sentry, stmp, head, mon.crdtgrp_list) {
mon              2219 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		free_rmid(sentry->mon.rmid);
mon              2220 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		list_del(&sentry->mon.crdtgrp_list);
mon              2259 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		free_rmid(rdtgrp->mon.rmid);
mon              2343 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		kernfs_remove_by_name(prgrp->mon.mon_data_kn, name);
mon              2345 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		list_for_each_entry(crgrp, &prgrp->mon.crdtgrp_list, mon.crdtgrp_list)
mon              2346 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			kernfs_remove_by_name(crgrp->mon.mon_data_kn, name);
mon              2415 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		parent_kn = prgrp->mon.mon_data_kn;
mon              2418 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		head = &prgrp->mon.crdtgrp_list;
mon              2419 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		list_for_each_entry(crgrp, head, mon.crdtgrp_list) {
mon              2420 arch/x86/kernel/cpu/resctrl/rdtgroup.c 			parent_kn = crgrp->mon.mon_data_kn;
mon              2691 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	rdtgrp->mon.parent = prdtgrp;
mon              2693 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	INIT_LIST_HEAD(&rdtgrp->mon.crdtgrp_list);
mon              2731 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		rdtgrp->mon.rmid = ret;
mon              2733 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		ret = mkdir_mondata_all(kn, rdtgrp, &rdtgrp->mon.mon_data_kn);
mon              2747 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	free_rmid(rdtgrp->mon.rmid);
mon              2760 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	free_rmid(rgrp->mon.rmid);
mon              2782 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	prgrp = rdtgrp->mon.parent;
mon              2789 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	list_add_tail(&rdtgrp->mon.crdtgrp_list, &prgrp->mon.crdtgrp_list);
mon              2898 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	struct rdtgroup *prdtgrp = rdtgrp->mon.parent;
mon              2906 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		per_cpu(pqr_state.default_rmid, cpu) = prdtgrp->mon.rmid;
mon              2915 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	free_rmid(rdtgrp->mon.rmid);
mon              2920 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	WARN_ON(list_empty(&prdtgrp->mon.crdtgrp_list));
mon              2921 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	list_del(&rdtgrp->mon.crdtgrp_list);
mon              2963 arch/x86/kernel/cpu/resctrl/rdtgroup.c 		per_cpu(pqr_state.default_rmid, cpu) = rdtgroup_default.mon.rmid;
mon              2974 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	free_rmid(rdtgrp->mon.rmid);
mon              3064 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	rdtgroup_default.mon.rmid = 0;
mon              3066 arch/x86/kernel/cpu/resctrl/rdtgroup.c 	INIT_LIST_HEAD(&rdtgroup_default.mon.crdtgrp_list);
mon                65 arch/x86/kernel/rtc.c 	unsigned int status, year, mon, day, hour, min, sec, century = 0;
mon                92 arch/x86/kernel/rtc.c 	mon = CMOS_READ(RTC_MONTH);
mon               111 arch/x86/kernel/rtc.c 		mon = bcd2bin(mon);
mon               121 arch/x86/kernel/rtc.c 	now->tv_sec = mktime64(year, mon, day, hour, min, sec);
mon                58 arch/x86/platform/intel-mid/intel_mid_vrtc.c 	u8 sec, min, hour, mday, mon;
mon                71 arch/x86/platform/intel-mid/intel_mid_vrtc.c 	mon = vrtc_cmos_read(RTC_MONTH);
mon                80 arch/x86/platform/intel-mid/intel_mid_vrtc.c 		"mon: %d year: %d\n", sec, min, hour, mday, mon, year);
mon                82 arch/x86/platform/intel-mid/intel_mid_vrtc.c 	now->tv_sec = mktime64(year, mon, mday, hour, min, sec);
mon               540 crypto/asymmetric_keys/x509_cert_parser.c 	unsigned year, mon, day, hour, min, sec, mon_len;
mon               565 crypto/asymmetric_keys/x509_cert_parser.c 	mon  = DD2bin(p);
mon               575 crypto/asymmetric_keys/x509_cert_parser.c 	    mon < 1 || mon > 12)
mon               578 crypto/asymmetric_keys/x509_cert_parser.c 	mon_len = month_lengths[mon - 1];
mon               579 crypto/asymmetric_keys/x509_cert_parser.c 	if (mon == 2) {
mon               596 crypto/asymmetric_keys/x509_cert_parser.c 	*_t = mktime64(year, mon, day, hour, min, sec);
mon               532 drivers/char/rtc.c 		unsigned char mon, day, hrs, min, sec, leap_yr;
mon               547 drivers/char/rtc.c 		mon = rtc_tm.tm_mon + 1;   /* tm_mon starts at zero */
mon               558 drivers/char/rtc.c 		if ((mon > 12) || (day == 0))
mon               561 drivers/char/rtc.c 		if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr)))
mon               581 drivers/char/rtc.c 		if (!leap_yr && mon < 3) {
mon               602 drivers/char/rtc.c 			mon = bin2bcd(mon);
mon               615 drivers/char/rtc.c 		CMOS_WRITE(mon, RTC_MONTH);
mon               413 drivers/firmware/efi/cper.c 	__u8 hour, min, sec, day, mon, year, century, *timestamp;
mon               421 drivers/firmware/efi/cper.c 		mon       = bcd2bin(timestamp[5]);
mon               427 drivers/firmware/efi/cper.c 		       century, year, mon, day, hour, min, sec);
mon               599 drivers/input/misc/hp_sdc_rtc.c                 unsigned char mon, day, hrs, min, sec, leap_yr;
mon               609 drivers/input/misc/hp_sdc_rtc.c                 mon = hp_sdc_rtc_tm.tm_mon + 1;   /* tm_mon starts at zero */
mon               620 drivers/input/misc/hp_sdc_rtc.c                 if ((mon > 12) || (day == 0))
mon               622 drivers/input/misc/hp_sdc_rtc.c                 if (day > (days_in_mo[mon] + ((mon == 2) && leap_yr)))
mon                67 drivers/media/pci/ddbridge/ddbridge-i2c.c 				u32 mon = ddbreadl(dev,
mon                71 drivers/media/pci/ddbridge/ddbridge-i2c.c 					val, mon);
mon                95 drivers/rtc/rtc-bq4802.c 	u8 sec, min, hrs, day, mon, yrs, century, val;
mon               103 drivers/rtc/rtc-bq4802.c 	mon = tm->tm_mon + 1;   /* tm_mon starts at zero */
mon               113 drivers/rtc/rtc-bq4802.c 	mon = bin2bcd(mon);
mon               126 drivers/rtc/rtc-bq4802.c 	p->write(p, 0x09, mon);
mon               449 drivers/rtc/rtc-cmos.c 	unsigned char mon, mday, hrs, min, sec, rtc_control;
mon               460 drivers/rtc/rtc-cmos.c 	mon = t->time.tm_mon + 1;
mon               469 drivers/rtc/rtc-cmos.c 		mon = (mon <= 12) ? bin2bcd(mon) : 0xff;
mon               490 drivers/rtc/rtc-cmos.c 			CMOS_WRITE(mon, cmos->mon_alrm);
mon               232 drivers/rtc/rtc-davinci.c 	int tmp_days, year, mon;
mon               239 drivers/rtc/rtc-davinci.c 			for (mon = 0;; mon++) {
mon               240 drivers/rtc/rtc-davinci.c 				tmp_days = rtc_month_days(mon, year);
mon               245 drivers/rtc/rtc-davinci.c 					tm->tm_mon = mon;
mon               216 drivers/rtc/rtc-ds1286.c 	unsigned char mon, day, hrs, min, sec;
mon               222 drivers/rtc/rtc-ds1286.c 	mon = tm->tm_mon + 1;   /* tm_mon starts at zero */
mon               242 drivers/rtc/rtc-ds1286.c 	mon = bin2bcd(mon);
mon               250 drivers/rtc/rtc-ds1286.c 	ds1286_rtc_write(priv, mon, RTC_MONTH);
mon               182 drivers/rtc/rtc-ds1511.c 	u8 mon, day, dow, hrs, min, sec, yrs, cen;
mon               196 drivers/rtc/rtc-ds1511.c 	mon = rtc_tm->tm_mon + 1;   /* tm_mon starts at zero */
mon               203 drivers/rtc/rtc-ds1511.c 	if ((mon > 12) || (day == 0))
mon               219 drivers/rtc/rtc-ds1511.c 	mon = bin2bcd(mon) & 0x1f;
mon               227 drivers/rtc/rtc-ds1511.c 	rtc_write((rtc_read(RTC_MON) & 0xe0) | mon, RTC_MON);
mon                35 drivers/rtc/rtc-imx-sc.c 	u8 mon;
mon               106 drivers/rtc/rtc-imx-sc.c 	msg.mon = alrm_tm->tm_mon + 1;
mon                89 drivers/rtc/rtc-m48t35.c 	unsigned char mon, day, hrs, min, sec;
mon                94 drivers/rtc/rtc-m48t35.c 	mon = tm->tm_mon + 1;   /* tm_mon starts at zero */
mon               117 drivers/rtc/rtc-m48t35.c 	mon = bin2bcd(mon);
mon               124 drivers/rtc/rtc-m48t35.c 	writeb(mon, &priv->reg->month);
mon               106 drivers/rtc/rtc-mc146818-lib.c 	unsigned char mon, day, hrs, min, sec;
mon               115 drivers/rtc/rtc-mc146818-lib.c 	mon = time->tm_mon + 1;   /* tm_mon starts at zero */
mon               136 drivers/rtc/rtc-mc146818-lib.c 	if (!leap_yr && mon < 3) {
mon               167 drivers/rtc/rtc-mc146818-lib.c 		mon = bin2bcd(mon);
mon               181 drivers/rtc/rtc-mc146818-lib.c 	CMOS_WRITE(mon, RTC_MONTH);
mon               110 drivers/rtc/rtc-mrst.c 	unsigned char mon, day, hrs, min, sec;
mon               114 drivers/rtc/rtc-mrst.c 	mon = time->tm_mon + 1;   /* tm_mon starts at zero */
mon               127 drivers/rtc/rtc-mrst.c 	vrtc_cmos_write(mon, RTC_MONTH);
mon               155 drivers/rtc/rtc-mt7622.c 	u32 year, mon, mday, wday, hour, min, sec;
mon               169 drivers/rtc/rtc-mt7622.c 		mon = mtk_r32(hw, MTK_RTC_TREG(time_alarm, MTK_MON));
mon               178 drivers/rtc/rtc-mt7622.c 	tm->tm_mon  = mon - 1;
mon               429 drivers/rtc/rtc-sh.c 	int mon;
mon               444 drivers/rtc/rtc-sh.c 	mon = tm->tm_mon;
mon               445 drivers/rtc/rtc-sh.c 	if (mon >= 0)
mon               446 drivers/rtc/rtc-sh.c 		mon += 1;
mon               447 drivers/rtc/rtc-sh.c 	sh_rtc_write_alarm_value(rtc, mon, RMONAR);
mon               311 drivers/staging/exfat/exfat.h 	u16      mon;        /* 1 ~ 12               */
mon              1160 drivers/staging/exfat/exfat_core.c 	tp->mon  = (d >> 5) & 0x000F;
mon              1189 drivers/staging/exfat/exfat_core.c 	tp->mon  = (d >> 5) & 0x000F;
mon              1200 drivers/staging/exfat/exfat_core.c 	d = (tp->year <<  9) | (tp->mon << 5) |  tp->day;
mon              1221 drivers/staging/exfat/exfat_core.c 	d = (tp->year <<  9) | (tp->mon << 5) |  tp->day;
mon               119 drivers/staging/exfat/exfat_super.c 		tp->mon  = 1;
mon               129 drivers/staging/exfat/exfat_super.c 		tp->mon  = 12;
mon               138 drivers/staging/exfat/exfat_super.c 	tp->mon  = tm.tm_mon + 1;
mon              1579 drivers/staging/exfat/exfat_super.c 	info->CreateTimestamp.Month = tm.mon;
mon              1588 drivers/staging/exfat/exfat_super.c 	info->ModifyTimestamp.Month = tm.mon;
mon              1705 drivers/staging/exfat/exfat_super.c 	tm.mon  = info->CreateTimestamp.Month;
mon              1713 drivers/staging/exfat/exfat_super.c 	tm.mon  = info->ModifyTimestamp.Month;
mon              2042 drivers/staging/exfat/exfat_super.c 			dir_entry->CreateTimestamp.Month = tm.mon;
mon              2051 drivers/staging/exfat/exfat_super.c 			dir_entry->ModifyTimestamp.Month = tm.mon;
mon               541 drivers/tty/cyclades.c 		++info->mon.int_count;
mon               542 drivers/tty/cyclades.c 		info->mon.char_count += char_count;
mon               543 drivers/tty/cyclades.c 		if (char_count > info->mon.char_max)
mon               544 drivers/tty/cyclades.c 			info->mon.char_max = char_count;
mon               545 drivers/tty/cyclades.c 		info->mon.char_last = char_count;
mon               945 drivers/tty/cyclades.c 	info->mon.int_count++;
mon               946 drivers/tty/cyclades.c 	info->mon.char_count += char_count;
mon               947 drivers/tty/cyclades.c 	if (char_count > info->mon.char_max)
mon               948 drivers/tty/cyclades.c 		info->mon.char_max = char_count;
mon               949 drivers/tty/cyclades.c 	info->mon.char_last = char_count;
mon              2639 drivers/tty/cyclades.c 		if (copy_to_user(argp, &info->mon, sizeof(info->mon))) {
mon              2643 drivers/tty/cyclades.c 		memset(&info->mon, 0, sizeof(info->mon));
mon               233 drivers/video/fbdev/bw2.c 	u8 status, mon;
mon               237 drivers/video/fbdev/bw2.c 	mon = status & BWTWO_SR_RES_MASK;
mon               240 drivers/video/fbdev/bw2.c 		if (mon == BWTWO_SR_1600_1280) {
mon               254 drivers/video/fbdev/bw2.c 		if (mon == BWTWO_SR_1152_900_76_A ||
mon               255 drivers/video/fbdev/bw2.c 		    mon == BWTWO_SR_1152_900_76_B)
mon               320 drivers/video/fbdev/cg3.c 		u8 status = sbus_readb(&par->regs->status), mon;
mon               322 drivers/video/fbdev/cg3.c 			mon = status & CG3_SR_RES_MASK;
mon               323 drivers/video/fbdev/cg3.c 			if (mon == CG3_SR_1152_900_76_A ||
mon               324 drivers/video/fbdev/cg3.c 			    mon == CG3_SR_1152_900_76_B)
mon               388 fs/lockd/mon.c 				info->len, info->mon);
mon               323 fs/lockd/xdr.c 	if (!(p = xdr_decode_string_inplace(p, &argp->mon, &argp->len, SM_MAXSTRLEN)))
mon               320 fs/lockd/xdr4.c 	if (!(p = xdr_decode_string_inplace(p, &argp->mon, &argp->len, SM_MAXSTRLEN)))
mon               155 include/linux/cyclades.h 	struct cyclades_monitor	mon;
mon                88 include/linux/lockd/xdr.h 	char			*mon;
mon                21 include/linux/time.h extern time64_t mktime64(const unsigned int year, const unsigned int mon,
mon               178 include/linux/time32.h 			const unsigned int mon, const unsigned int day,
mon               182 include/linux/time32.h 	return mktime64(year, mon, day, hour, min, sec);
mon               437 kernel/time/time.c 	unsigned int mon = mon0, year = year0;
mon               440 kernel/time/time.c 	if (0 >= (int) (mon -= 2)) {
mon               441 kernel/time/time.c 		mon += 12;	/* Puts Feb last since it has leap day */
mon               446 kernel/time/time.c 		  (year/4 - year/100 + year/400 + 367*mon/12 + day) +
mon              1721 lib/vsprintf.c 	int mon = tm->tm_mon + (r ? 0 : 1);
mon              1728 lib/vsprintf.c 	buf = number(buf, end, mon, default_dec02_spec);
mon               153 net/tipc/monitor.c static struct tipc_peer *get_peer(struct tipc_monitor *mon, u32 addr)
mon               158 net/tipc/monitor.c 	hlist_for_each_entry(peer, &mon->peers[thash], hash) {
mon               167 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               169 net/tipc/monitor.c 	return mon->self;
mon               172 net/tipc/monitor.c static inline bool tipc_mon_is_active(struct net *net, struct tipc_monitor *mon)
mon               176 net/tipc/monitor.c 	return mon->peer_cnt > tn->mon_threshold;
mon               215 net/tipc/monitor.c static void mon_apply_domain(struct tipc_monitor *mon,
mon               240 net/tipc/monitor.c static void mon_update_local_domain(struct tipc_monitor *mon)
mon               242 net/tipc/monitor.c 	struct tipc_peer *self = mon->self;
mon               243 net/tipc/monitor.c 	struct tipc_mon_domain *cache = &mon->cache;
mon               251 net/tipc/monitor.c 	member_cnt = dom_size(mon->peer_cnt) - 1;
mon               268 net/tipc/monitor.c 	dom->gen = ++mon->dom_gen;
mon               273 net/tipc/monitor.c 	mon_apply_domain(mon, self);
mon               278 net/tipc/monitor.c static void mon_update_neighbors(struct tipc_monitor *mon,
mon               283 net/tipc/monitor.c 	dz = dom_size(mon->peer_cnt);
mon               285 net/tipc/monitor.c 		mon_apply_domain(mon, peer);
mon               294 net/tipc/monitor.c static void mon_assign_roles(struct tipc_monitor *mon, struct tipc_peer *head)
mon               297 net/tipc/monitor.c 	struct tipc_peer *self = mon->self;
mon               319 net/tipc/monitor.c 	mon->list_gen++;
mon               324 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               328 net/tipc/monitor.c 	write_lock_bh(&mon->lock);
mon               329 net/tipc/monitor.c 	peer = get_peer(mon, addr);
mon               337 net/tipc/monitor.c 	mon->peer_cnt--;
mon               340 net/tipc/monitor.c 		mon_update_local_domain(mon);
mon               341 net/tipc/monitor.c 	mon_update_neighbors(mon, prev);
mon               344 net/tipc/monitor.c 	if (!tipc_mon_is_active(net, mon)) {
mon               351 net/tipc/monitor.c 	mon_assign_roles(mon, head);
mon               353 net/tipc/monitor.c 	write_unlock_bh(&mon->lock);
mon               356 net/tipc/monitor.c static bool tipc_mon_add_peer(struct tipc_monitor *mon, u32 addr,
mon               359 net/tipc/monitor.c 	struct tipc_peer *self = mon->self;
mon               370 net/tipc/monitor.c 	hlist_add_head(&p->hash, &mon->peers[tipc_hashfn(addr)]);
mon               383 net/tipc/monitor.c 	mon->peer_cnt++;
mon               384 net/tipc/monitor.c 	mon_update_neighbors(mon, p);
mon               390 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               394 net/tipc/monitor.c 	write_lock_bh(&mon->lock);
mon               395 net/tipc/monitor.c 	peer = get_peer(mon, addr);
mon               396 net/tipc/monitor.c 	if (!peer && !tipc_mon_add_peer(mon, addr, &peer))
mon               401 net/tipc/monitor.c 		mon_update_local_domain(mon);
mon               402 net/tipc/monitor.c 	mon_assign_roles(mon, head);
mon               404 net/tipc/monitor.c 	write_unlock_bh(&mon->lock);
mon               409 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               415 net/tipc/monitor.c 	write_lock_bh(&mon->lock);
mon               416 net/tipc/monitor.c 	peer = get_peer(mon, addr);
mon               434 net/tipc/monitor.c 		mon_update_local_domain(mon);
mon               435 net/tipc/monitor.c 	mon_assign_roles(mon, head);
mon               437 net/tipc/monitor.c 	write_unlock_bh(&mon->lock);
mon               445 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               481 net/tipc/monitor.c 	write_lock_bh(&mon->lock);
mon               482 net/tipc/monitor.c 	peer = get_peer(mon, addr);
mon               518 net/tipc/monitor.c 	mon_apply_domain(mon, peer);
mon               520 net/tipc/monitor.c 	mon_assign_roles(mon, peer_head(peer));
mon               522 net/tipc/monitor.c 	write_unlock_bh(&mon->lock);
mon               528 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               530 net/tipc/monitor.c 	u16 gen = mon->dom_gen;
mon               534 net/tipc/monitor.c 	if (!tipc_mon_is_active(net, mon)) {
mon               550 net/tipc/monitor.c 	read_lock_bh(&mon->lock);
mon               551 net/tipc/monitor.c 	len = ntohs(mon->cache.len);
mon               553 net/tipc/monitor.c 	memcpy(data, &mon->cache, len);
mon               554 net/tipc/monitor.c 	read_unlock_bh(&mon->lock);
mon               562 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               565 net/tipc/monitor.c 	if (!tipc_mon_is_active(net, mon)) {
mon               573 net/tipc/monitor.c 	    (state->list_gen == mon->list_gen) &&
mon               574 net/tipc/monitor.c 	    (state->acked_gen == mon->dom_gen))
mon               577 net/tipc/monitor.c 	read_lock_bh(&mon->lock);
mon               578 net/tipc/monitor.c 	peer = get_peer(mon, addr);
mon               580 net/tipc/monitor.c 		state->probing = state->acked_gen != mon->dom_gen;
mon               585 net/tipc/monitor.c 		state->list_gen = mon->list_gen;
mon               587 net/tipc/monitor.c 	read_unlock_bh(&mon->lock);
mon               592 net/tipc/monitor.c 	struct tipc_monitor *mon = from_timer(mon, t, timer);
mon               594 net/tipc/monitor.c 	int best_member_cnt = dom_size(mon->peer_cnt) - 1;
mon               596 net/tipc/monitor.c 	write_lock_bh(&mon->lock);
mon               597 net/tipc/monitor.c 	self = mon->self;
mon               599 net/tipc/monitor.c 		mon_update_local_domain(mon);
mon               600 net/tipc/monitor.c 		mon_assign_roles(mon, self);
mon               602 net/tipc/monitor.c 	write_unlock_bh(&mon->lock);
mon               603 net/tipc/monitor.c 	mod_timer(&mon->timer, jiffies + mon->timer_intv);
mon               609 net/tipc/monitor.c 	struct tipc_monitor *mon;
mon               616 net/tipc/monitor.c 	mon = kzalloc(sizeof(*mon), GFP_ATOMIC);
mon               619 net/tipc/monitor.c 	if (!mon || !self || !dom) {
mon               620 net/tipc/monitor.c 		kfree(mon);
mon               625 net/tipc/monitor.c 	tn->monitors[bearer_id] = mon;
mon               626 net/tipc/monitor.c 	rwlock_init(&mon->lock);
mon               627 net/tipc/monitor.c 	mon->net = net;
mon               628 net/tipc/monitor.c 	mon->peer_cnt = 1;
mon               629 net/tipc/monitor.c 	mon->self = self;
mon               635 net/tipc/monitor.c 	timer_setup(&mon->timer, mon_timeout, 0);
mon               636 net/tipc/monitor.c 	mon->timer_intv = msecs_to_jiffies(MON_TIMEOUT + (tn->random & 0xffff));
mon               637 net/tipc/monitor.c 	mod_timer(&mon->timer, jiffies + mon->timer_intv);
mon               644 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               648 net/tipc/monitor.c 	if (!mon)
mon               652 net/tipc/monitor.c 	write_lock_bh(&mon->lock);
mon               660 net/tipc/monitor.c 	mon->self = NULL;
mon               661 net/tipc/monitor.c 	write_unlock_bh(&mon->lock);
mon               662 net/tipc/monitor.c 	del_timer_sync(&mon->timer);
mon               665 net/tipc/monitor.c 	kfree(mon);
mon               670 net/tipc/monitor.c 	struct tipc_monitor *mon;
mon               674 net/tipc/monitor.c 		mon = tipc_monitor(net, bearer_id);
mon               675 net/tipc/monitor.c 		if (!mon)
mon               677 net/tipc/monitor.c 		write_lock_bh(&mon->lock);
mon               678 net/tipc/monitor.c 		mon->self->addr = tipc_own_addr(net);
mon               679 net/tipc/monitor.c 		write_unlock_bh(&mon->lock);
mon               759 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               762 net/tipc/monitor.c 	if (!mon)
mon               765 net/tipc/monitor.c 	read_lock_bh(&mon->lock);
mon               766 net/tipc/monitor.c 	peer = mon->self;
mon               776 net/tipc/monitor.c 			read_unlock_bh(&mon->lock);
mon               779 net/tipc/monitor.c 	} while ((peer = peer_nxt(peer)) != mon->self);
mon               780 net/tipc/monitor.c 	read_unlock_bh(&mon->lock);
mon               788 net/tipc/monitor.c 	struct tipc_monitor *mon = tipc_monitor(net, bearer_id);
mon               795 net/tipc/monitor.c 	if (ret || !mon)
mon               807 net/tipc/monitor.c 	read_lock_bh(&mon->lock);
mon               810 net/tipc/monitor.c 	if (tipc_mon_is_active(net, mon))
mon               815 net/tipc/monitor.c 	if (nla_put_u32(msg->skb, TIPC_NLA_MON_PEERCNT, mon->peer_cnt))
mon               817 net/tipc/monitor.c 	if (nla_put_u32(msg->skb, TIPC_NLA_MON_LISTGEN, mon->list_gen))
mon               820 net/tipc/monitor.c 	read_unlock_bh(&mon->lock);
mon               827 net/tipc/monitor.c 	read_unlock_bh(&mon->lock);
mon              2488 net/tipc/node.c 		struct nlattr *mon[TIPC_NLA_MON_MAX + 1];
mon              2497 net/tipc/node.c 		err = nla_parse_nested_deprecated(mon, TIPC_NLA_MON_MAX,
mon              2504 net/tipc/node.c 		if (!mon[TIPC_NLA_MON_REF])
mon              2507 net/tipc/node.c 		bearer_id = nla_get_u32(mon[TIPC_NLA_MON_REF]);
mon                97 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	int unsigned mon;
mon               105 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (mon = 0; mon < avail_monitors; mon++) {
mon               106 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		need_len = monitors[mon]->hw_states_num * (MAX_COL_WIDTH + 1)
mon               108 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		if (mon != 0)
mon               110 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		sprintf(buf, "%s", monitors[mon]->name);
mon               123 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (mon = 0; mon < avail_monitors; mon++) {
mon               124 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		if (mon != 0)
mon               126 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		for (state = 0; state < monitors[mon]->hw_states_num; state++) {
mon               129 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 			s = monitors[mon]->hw_states[state];
mon               142 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	unsigned int mon;
mon               162 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (mon = 0; mon < avail_monitors; mon++) {
mon               163 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		if (mon != 0)
mon               166 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		for (state = 0; state < monitors[mon]->hw_states_num; state++) {
mon               170 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 			s = monitors[mon]->hw_states[state];
mon               191 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 				       monitors[mon]->name, s.name);
mon               223 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	int mon, hits = 0;
mon               228 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (mon = 0; mon < MONITORS_MAX; mon++, tmp = NULL) {
mon               259 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	unsigned int mon;
mon               263 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 	for (mon = 0; mon < avail_monitors; mon++) {
mon               266 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 			monitors[mon]->name, monitors[mon]->hw_states_num,
mon               267 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 			monitors[mon]->overflow_s);
mon               269 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 		for (state = 0; state < monitors[mon]->hw_states_num; state++) {
mon               270 tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c 			s = monitors[mon]->hw_states[state];
mon                69 tools/testing/selftests/timers/adjtick.c void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw)
mon                75 tools/testing/selftests/timers/adjtick.c 	clock_gettime(CLOCK_MONOTONIC, mon);
mon                91 tools/testing/selftests/timers/adjtick.c 			*mon = nsec_to_ts(tmp);
mon                69 tools/testing/selftests/timers/raw_skew.c void get_monotonic_and_raw(struct timespec *mon, struct timespec *raw)
mon                87 tools/testing/selftests/timers/raw_skew.c 			*mon = nsec_to_ts(tmp);
mon                94 tools/testing/selftests/timers/raw_skew.c 	struct timespec mon, raw, start, end;
mon               107 tools/testing/selftests/timers/raw_skew.c 	get_monotonic_and_raw(&mon, &raw);
mon               108 tools/testing/selftests/timers/raw_skew.c 	start = mon;
mon               109 tools/testing/selftests/timers/raw_skew.c 	delta1 = diff_timespec(mon, raw);
mon               118 tools/testing/selftests/timers/raw_skew.c 	get_monotonic_and_raw(&mon, &raw);
mon               119 tools/testing/selftests/timers/raw_skew.c 	end = mon;
mon               122 tools/testing/selftests/timers/raw_skew.c 	delta2 = diff_timespec(mon, raw);