tag | line | file | source code |
mon | 71 | arch/alpha/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
mon | 75 | arch/alpha/kernel/time.c | if (0 >= (int) (mon -= 2)) { /* 1..12 -> 11,12,1..10 */ |
mon | 76 | arch/alpha/kernel/time.c | mon += 12; /* Puts Feb last since it has leap day */ |
mon | 80 | arch/alpha/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
mon | 89 | arch/alpha/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
mon | 109 | arch/alpha/kernel/time.c | mon = CMOS_READ(RTC_MONTH); |
mon | 118 | arch/alpha/kernel/time.c | BCD_TO_BIN(mon); |
mon | 131 | arch/alpha/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
mon | 301 | arch/i386/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
mon | 305 | arch/i386/kernel/time.c | if (0 >= (int) (mon -= 2)) { /* 1..12 -> 11,12,1..10 */ |
mon | 306 | arch/i386/kernel/time.c | mon += 12; /* Puts Feb last since it has leap day */ |
mon | 310 | arch/i386/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
mon | 319 | arch/i386/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
mon | 339 | arch/i386/kernel/time.c | mon = CMOS_READ(RTC_MONTH); |
mon | 348 | arch/i386/kernel/time.c | BCD_TO_BIN(mon); |
mon | 353 | arch/i386/kernel/time.c | return mktime(year, mon, day, hour, min, sec); |
mon | 225 | arch/mips/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
mon | 229 | arch/mips/kernel/time.c | if (0 >= (int) (mon -= 2)) { /* 1..12 -> 11,12,1..10 */ |
mon | 230 | arch/mips/kernel/time.c | mon += 12; /* Puts Feb last since it has leap day */ |
mon | 234 | arch/mips/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
mon | 244 | arch/mips/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
mon | 264 | arch/mips/kernel/time.c | mon = CMOS_READ(RTC_MONTH); |
mon | 273 | arch/mips/kernel/time.c | BCD_TO_BIN(mon); |
mon | 278 | arch/mips/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
mon | 65 | arch/sparc/kernel/time.c | static inline unsigned long mktime(unsigned int year, unsigned int mon, |
mon | 69 | arch/sparc/kernel/time.c | if (0 >= (int) (mon -= 2)) { /* 1..12 -> 11,12,1..10 */ |
mon | 70 | arch/sparc/kernel/time.c | mon += 12; /* Puts Feb last since it has leap day */ |
mon | 74 | arch/sparc/kernel/time.c | (unsigned long)(year/4 - year/100 + year/400 + 367*mon/12 + day) + |
mon | 91 | arch/sparc/kernel/time.c | unsigned int year, mon, day, hour, min, sec; |
mon | 105 | arch/sparc/kernel/time.c | mon = BCD_TO_BIN(mregs->mnth); |
mon | 107 | arch/sparc/kernel/time.c | xtime.tv_sec = mktime(year, mon, day, hour, min, sec); |
mon | 772 | drivers/char/cyclades.c | ++info->mon.int_count; |
mon | 773 | drivers/char/cyclades.c | info->mon.char_count += char_count; |
mon | 774 | drivers/char/cyclades.c | if (char_count > info->mon.char_max) |
mon | 775 | drivers/char/cyclades.c | info->mon.char_max = char_count; |
mon | 776 | drivers/char/cyclades.c | info->mon.char_last = char_count; |
mon | 2018 | drivers/char/cyclades.c | get_mon_info(struct cyclades_port * info, struct cyclades_monitor * mon) |
mon | 2021 | drivers/char/cyclades.c | memcpy_tofs(mon, &info->mon, sizeof(struct cyclades_monitor)); |
mon | 2022 | drivers/char/cyclades.c | info->mon.int_count = 0; |
mon | 2023 | drivers/char/cyclades.c | info->mon.char_count = 0; |
mon | 2024 | drivers/char/cyclades.c | info->mon.char_max = 0; |
mon | 2025 | drivers/char/cyclades.c | info->mon.char_last = 0; |
mon | 107 | include/linux/cyclades.h | struct cyclades_monitor mon; |