tag | line | file | source code |
year | 110 | arch/alpha/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 116 | arch/alpha/kernel/time.c | year -= 1; |
year | 119 | arch/alpha/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 120 | arch/alpha/kernel/time.c | year*365 - 719499 |
year | 128 | arch/alpha/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 149 | arch/alpha/kernel/time.c | year = CMOS_READ(RTC_YEAR); |
year | 158 | arch/alpha/kernel/time.c | BCD_TO_BIN(year); |
year | 166 | arch/alpha/kernel/time.c | year -= 42; |
year | 168 | arch/alpha/kernel/time.c | if ((year += 1900) < 1970) |
year | 169 | arch/alpha/kernel/time.c | year += 100; |
year | 170 | arch/alpha/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
year | 303 | arch/i386/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 309 | arch/i386/kernel/time.c | year -= 1; |
year | 312 | arch/i386/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 313 | arch/i386/kernel/time.c | year*365 - 719499 |
year | 321 | arch/i386/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 342 | arch/i386/kernel/time.c | year = CMOS_READ(RTC_YEAR); |
year | 351 | arch/i386/kernel/time.c | BCD_TO_BIN(year); |
year | 353 | arch/i386/kernel/time.c | if ((year += 1900) < 1970) |
year | 354 | arch/i386/kernel/time.c | year += 100; |
year | 355 | arch/i386/kernel/time.c | return mktime(year, mon, day, hour, min, sec); |
year | 225 | arch/mips/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 231 | arch/mips/kernel/time.c | year -= 1; |
year | 234 | arch/mips/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 235 | arch/mips/kernel/time.c | year*365 - 719499 |
year | 244 | arch/mips/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 265 | arch/mips/kernel/time.c | year = CMOS_READ(RTC_YEAR); |
year | 274 | arch/mips/kernel/time.c | BCD_TO_BIN(year); |
year | 276 | arch/mips/kernel/time.c | if ((year += 1900) < 1970) |
year | 277 | arch/mips/kernel/time.c | year += 100; |
year | 278 | arch/mips/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
year | 75 | arch/sparc/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
year | 81 | arch/sparc/kernel/time.c | year -= 1; |
year | 84 | arch/sparc/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
year | 85 | arch/sparc/kernel/time.c | year*365 - 719499 |
year | 236 | arch/sparc/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
year | 253 | arch/sparc/kernel/time.c | year = (BCD_TO_BIN(mregs->yr) + MSTK_YR_ZERO); |
year | 254 | arch/sparc/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
year | 239 | fs/fat/misc.c | int month,year,secs; |
year | 242 | fs/fat/misc.c | year = date >> 9; |
year | 244 | fs/fat/misc.c | ((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 && |
year | 257 | fs/fat/misc.c | int day,year,nl_day,month; |
year | 263 | fs/fat/misc.c | year = day/365; |
year | 264 | fs/fat/misc.c | if ((year+3)/4+365*year > day) year--; |
year | 265 | fs/fat/misc.c | day -= (year+3)/4+365*year; |
year | 266 | fs/fat/misc.c | if (day == 59 && !(year & 3)) { |
year | 271 | fs/fat/misc.c | nl_day = (year & 3) || day <= 59 ? day : day-1; |
year | 275 | fs/fat/misc.c | *date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9); |
year | 93 | fs/isofs/util.c | int year, month, day, hour ,minute, second, tz; |
year | 96 | fs/isofs/util.c | year = p[0] - 70; |
year | 105 | fs/isofs/util.c | if (year < 0) { |
year | 109 | fs/isofs/util.c | days = year * 365; |
year | 110 | fs/isofs/util.c | if (year > 2) |
year | 111 | fs/isofs/util.c | days += (year+1) / 4; |
year | 114 | fs/isofs/util.c | if (((year+2) % 4) == 0 && month > 2) |
year | 1152 | fs/ncpfs/dir.c | int month,year,secs; |
year | 1155 | fs/ncpfs/dir.c | year = date >> 9; |
year | 1157 | fs/ncpfs/dir.c | ((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 && |
year | 1168 | fs/ncpfs/dir.c | int day,year,nl_day,month; |
year | 1174 | fs/ncpfs/dir.c | year = day/365; |
year | 1175 | fs/ncpfs/dir.c | if ((year+3)/4+365*year > day) year--; |
year | 1176 | fs/ncpfs/dir.c | day -= (year+3)/4+365*year; |
year | 1177 | fs/ncpfs/dir.c | if (day == 59 && !(year & 3)) { |
year | 1182 | fs/ncpfs/dir.c | nl_day = (year & 3) || day <= 59 ? day : day-1; |
year | 1186 | fs/ncpfs/dir.c | *date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9); |
year | 185 | fs/smbfs/proc.c | int month,year,secs; |
year | 188 | fs/smbfs/proc.c | year = date >> 9; |
year | 190 | fs/smbfs/proc.c | ((date & 31)-1+day_n[month]+(year/4)+year*365-((year & 3) == 0 && |
year | 202 | fs/smbfs/proc.c | int day,year,nl_day,month; |
year | 208 | fs/smbfs/proc.c | year = day/365; |
year | 209 | fs/smbfs/proc.c | if ((year+3)/4+365*year > day) year--; |
year | 210 | fs/smbfs/proc.c | day -= (year+3)/4+365*year; |
year | 211 | fs/smbfs/proc.c | if (day == 59 && !(year & 3)) { |
year | 216 | fs/smbfs/proc.c | nl_day = (year & 3) || day <= 59 ? day : day-1; |
year | 220 | fs/smbfs/proc.c | *date = nl_day-day_n[month-1]+1+(month << 5)+(year << 9); |