taglinefilesource code
year110arch/alpha/kernel/time.cstatic inline unsigned long mktime(unsigned int year, unsigned int mon,
year116arch/alpha/kernel/time.cyear -= 1;
year119arch/alpha/kernel/time.c(unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) +
year120arch/alpha/kernel/time.cyear*365 - 719499
year128arch/alpha/kernel/time.cunsigned int year, mon, day, hour, min, sec;
year149arch/alpha/kernel/time.cyear = CMOS_READ(RTC_YEAR);
year158arch/alpha/kernel/time.cBCD_TO_BIN(year);
year166arch/alpha/kernel/time.cyear -= 42;
year168arch/alpha/kernel/time.cif ((year += 1900) < 1970)
year169arch/alpha/kernel/time.cyear += 100;
year170arch/alpha/kernel/time.cxtime.tv_sec = mktime(year, mon, day, hour, min, sec);
year307arch/i386/kernel/time.cstatic inline unsigned long mktime(unsigned int year, unsigned int mon,
year313arch/i386/kernel/time.cyear -= 1;
year316arch/i386/kernel/time.c(unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) +
year317arch/i386/kernel/time.cyear*365 - 719499
year325arch/i386/kernel/time.cunsigned int year, mon, day, hour, min, sec;
year346arch/i386/kernel/time.cyear = CMOS_READ(RTC_YEAR);
year355arch/i386/kernel/time.cBCD_TO_BIN(year);
year357arch/i386/kernel/time.cif ((year += 1900) < 1970)
year358arch/i386/kernel/time.cyear += 100;
year359arch/i386/kernel/time.creturn mktime(year, mon, day, hour, min, sec);
year482arch/m68k/amiga/config.ct->year = tod->year1   * 10 + tod->year2;
year496arch/m68k/amiga/config.ctod->year1   = t->year / 10;
year497arch/m68k/amiga/config.ctod->year2   = t->year % 10;
year516arch/m68k/amiga/config.ct->year = tod->year1       * 10 + tod->year2;
year542arch/m68k/amiga/config.ctod->year1   = t->year / 10;
year543arch/m68k/amiga/config.ctod->year2   = t->year % 10;
year702arch/m68k/atari/atakeyb.cvoid ikbd_clock_set(int year, int month, int day, int hour, int minute, int second)
year704arch/m68k/atari/atakeyb.cchar cmd[7] = { 0x1B, year, month, day, hour, minute, second };
year710arch/m68k/atari/atakeyb.cvoid ikbd_clock_get(int *year, int *month, int *day, int *hour, int *minute, int second)
year584arch/m68k/atari/config.cint hour, year;
year611arch/m68k/atari/config.cyear = t->year - 80;
year612arch/m68k/atari/config.cval.year_ones = year % 10;
year613arch/m68k/atari/config.cval.year_tens = year / 10;
year617arch/m68k/atari/config.cval.year_ones = (year % 4);  /* leap year register */
year633arch/m68k/atari/config.ct->year = val.year_ones + val.year_tens * 10 + 80;
year641arch/m68k/atari/config.cint sec=0, min=0, hour=0, day=0, mon=0, year=0, wday=0; 
year661arch/m68k/atari/config.cyear = t->year - ((tos_version < 0x306) ? 70 : 68);
year675arch/m68k/atari/config.cBIN_TO_BCD(year);
year707arch/m68k/atari/config.cyear = RTC_READ( RTC_YEAR );
year716arch/m68k/atari/config.cRTC_WRITE( RTC_YEAR, year );
year731arch/m68k/atari/config.cBCD_TO_BIN(year);
year747arch/m68k/atari/config.ct->year = year + ((tos_version < 0x306) ? 70 : 68);
year322arch/m68k/kernel/setup.cvoid arch_gettod(int *year, int *mon, int *day, int *hour,
year326arch/m68k/kernel/setup.cmach_gettod(year, mon, day, hour, min, sec);
year328arch/m68k/kernel/setup.c*year = *mon = *day = *hour = *min = *sec = 0;
year71arch/m68k/kernel/time.cstatic inline unsigned long mktime(unsigned int year, unsigned int mon,
year77arch/m68k/kernel/time.cyear -= 1;
year80arch/m68k/kernel/time.c(unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) +
year81arch/m68k/kernel/time.cyear*365 - 719499
year89arch/m68k/kernel/time.cunsigned int year, mon, day, hour, min, sec;
year91arch/m68k/kernel/time.cextern void arch_gettod(int *year, int *mon, int *day, int *hour,
year94arch/m68k/kernel/time.carch_gettod (&year, &mon, &day, &hour, &min, &sec);
year96arch/m68k/kernel/time.cif ((year += 1900) < 1970)
year97arch/m68k/kernel/time.cyear += 100;
year98arch/m68k/kernel/time.cxtime.tv_sec = mktime(year, mon, day, hour, min, sec);
year225arch/mips/kernel/time.cstatic inline unsigned long mktime(unsigned int year, unsigned int mon,
year231arch/mips/kernel/time.cyear -= 1;
year234arch/mips/kernel/time.c(unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) +
year235arch/mips/kernel/time.cyear*365 - 719499
year244arch/mips/kernel/time.cunsigned int year, mon, day, hour, min, sec;
year265arch/mips/kernel/time.cyear = CMOS_READ(RTC_YEAR);
year274arch/mips/kernel/time.cBCD_TO_BIN(year);
year276arch/mips/kernel/time.cif ((year += 1900) < 1970)
year277arch/mips/kernel/time.cyear += 100;
year278arch/mips/kernel/time.cxtime.tv_sec = mktime(year, mon, day, hour, min, sec);
year68arch/sparc/kernel/time.cstatic inline unsigned long mktime(unsigned int year, unsigned int mon,
year74arch/sparc/kernel/time.cyear -= 1;
year77arch/sparc/kernel/time.c(unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) +
year78arch/sparc/kernel/time.cyear*365 - 719499
year162arch/sparc/kernel/time.cunsigned int year, mon, day, hour, min, sec;
year184arch/sparc/kernel/time.cyear = (BCD_TO_BIN(mregs->yr) + MSTK_YR_ZERO);
year185arch/sparc/kernel/time.cxtime.tv_sec = mktime(year, mon, day, hour, min, sec);
year239fs/fat/misc.cint month,year,secs;
year242fs/fat/misc.cyear = date >> 9;
year244fs/fat/misc.c((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 &&
year257fs/fat/misc.cint day,year,nl_day,month;
year263fs/fat/misc.cyear = day/365;
year264fs/fat/misc.cif ((year+3)/4+365*year > day) year--;
year265fs/fat/misc.cday -= (year+3)/4+365*year;
year266fs/fat/misc.cif (day == 59 && !(year & 3)) {
year271fs/fat/misc.cnl_day = (year & 3) || day <= 59 ? day : day-1;
year275fs/fat/misc.c*date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9);
year93fs/isofs/util.cint year, month, day, hour ,minute, second, tz;
year96fs/isofs/util.cyear = p[0] - 70;
year105fs/isofs/util.cif (year < 0) {
year109fs/isofs/util.cdays = year * 365;
year110fs/isofs/util.cif (year > 2)
year111fs/isofs/util.cdays += (year+1) / 4;
year114fs/isofs/util.cif (((year+2) % 4) == 0 && month > 2)
year1179fs/ncpfs/dir.cint month,year,secs;
year1182fs/ncpfs/dir.cyear = date >> 9;
year1184fs/ncpfs/dir.c((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 &&
year1195fs/ncpfs/dir.cint day,year,nl_day,month;
year1201fs/ncpfs/dir.cyear = day/365;
year1202fs/ncpfs/dir.cif ((year+3)/4+365*year > day) year--;
year1203fs/ncpfs/dir.cday -= (year+3)/4+365*year;
year1204fs/ncpfs/dir.cif (day == 59 && !(year & 3)) {
year1209fs/ncpfs/dir.cnl_day = (year & 3) || day <= 59 ? day : day-1;
year1213fs/ncpfs/dir.c*date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9);
year185fs/smbfs/proc.cint month,year,secs;
year188fs/smbfs/proc.cyear = date >> 9;
year190fs/smbfs/proc.c((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 &&
year202fs/smbfs/proc.cint day,year,nl_day,month;
year208fs/smbfs/proc.cyear = day/365;
year209fs/smbfs/proc.cif ((year+3)/4+365*year > day) year--;
year210fs/smbfs/proc.cday -= (year+3)/4+365*year;
year211fs/smbfs/proc.cif (day == 59 && !(year & 3)) {
year216fs/smbfs/proc.cnl_day = (year & 3) || day <= 59 ? day : day-1;
year220fs/smbfs/proc.c*date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9);
year29include/asm-m68k/machdep.hextern void (*mach_gettod)(int *year, int *mon, int *day, int *hour,