/linux-4.1.27/kernel/time/ |
D | timeconv.c | 79 long days, rem, y; in time_to_tm() local 82 days = totalsecs / SECS_PER_DAY; in time_to_tm() 87 --days; in time_to_tm() 91 ++days; in time_to_tm() 100 result->tm_wday = (4 + days) % 7; in time_to_tm() 106 while (days < 0 || days >= (__isleap(y) ? 366 : 365)) { in time_to_tm() 108 long yg = y + math_div(days, 365); in time_to_tm() 111 days -= (yg - y) * 365 + leaps_between(y, yg); in time_to_tm() 117 result->tm_yday = days; in time_to_tm() 120 for (y = 11; days < ip[y]; y--) in time_to_tm() [all …]
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-lib.c | 57 int days; in rtc_time64_to_tm() local 60 days = div_s64(time, 86400); in rtc_time64_to_tm() 61 secs = time - (unsigned int) days * 86400; in rtc_time64_to_tm() 64 tm->tm_wday = (days + 4) % 7; in rtc_time64_to_tm() 66 year = 1970 + days / 365; in rtc_time64_to_tm() 67 days -= (year - 1970) * 365 in rtc_time64_to_tm() 70 if (days < 0) { in rtc_time64_to_tm() 72 days += 365 + is_leap_year(year); in rtc_time64_to_tm() 75 tm->tm_yday = days + 1; in rtc_time64_to_tm() 80 newdays = days - rtc_month_days(month, year); in rtc_time64_to_tm() [all …]
|
D | rtc-davinci.c | 243 static int convertfromdays(u16 days, struct rtc_time *tm) in convertfromdays() argument 249 if (days >= tmp_days) in convertfromdays() 250 days -= tmp_days; in convertfromdays() 254 if (days >= tmp_days) { in convertfromdays() 255 days -= tmp_days; in convertfromdays() 259 tm->tm_mday = days + 1; in convertfromdays() 269 static int convert2days(u16 *days, struct rtc_time *tm) in convert2days() argument 272 *days = 0; in convert2days() 279 *days += rtc_year_days(1, 12, i); in convert2days() 281 *days += rtc_year_days(tm->tm_mday, tm->tm_mon, 1900 + tm->tm_year); in convert2days() [all …]
|
D | rtc-pcap.c | 51 u32 days; /* days since 1/1/1970 */ in pcap_rtc_read_alarm() local 56 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, &days); in pcap_rtc_read_alarm() 57 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; in pcap_rtc_read_alarm() 70 u32 tod, days; in pcap_rtc_set_alarm() local 77 days = secs / SEC_PER_DAY; in pcap_rtc_set_alarm() 78 ezx_pcap_write(pcap_rtc->pcap, PCAP_REG_RTC_DAYA, days); in pcap_rtc_set_alarm() 88 u32 tod, days; in pcap_rtc_read_time() local 93 ezx_pcap_read(pcap_rtc->pcap, PCAP_REG_RTC_DAY, &days); in pcap_rtc_read_time() 94 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; in pcap_rtc_read_time() 105 u32 tod, days; in pcap_rtc_set_mmss() local [all …]
|
D | rtc-mc13xxx.c | 94 unsigned int seconds, days; in mc13xxx_rtc_set_mmss() local 98 days = div_s64_rem(secs, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_mmss() 125 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCDAY, days); in mc13xxx_rtc_set_mmss() 160 unsigned seconds, days; in mc13xxx_rtc_read_alarm() local 175 ret = mc13xxx_reg_read(priv->mc13xxx, MC13XXX_RTCDAY, &days); in mc13xxx_rtc_read_alarm() 191 s1970 = (time64_t)days * SEC_PER_DAY + seconds; in mc13xxx_rtc_read_alarm() 203 u32 seconds, days; in mc13xxx_rtc_set_alarm() local 227 days = div_s64_rem(s1970, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_alarm() 229 ret = mc13xxx_reg_write(priv->mc13xxx, MC13XXX_RTCDAYA, days); in mc13xxx_rtc_set_alarm()
|
D | rtc-bfin.c | 91 u32 days = (now / (60 * 60 * 24)); in rtc_time_to_bfin() local 95 (days << DAY_BITS_OFF); in rtc_time_to_bfin()
|
D | interface.c | 167 unsigned days; in __rtc_read_alarm() local 298 days = rtc_month_days(alarm->time.tm_mon, in __rtc_read_alarm() 300 } while (days < alarm->time.tm_mday); in __rtc_read_alarm()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | rtc.h | 50 long int days, rem, y; in get_rtc_time() local 63 days = tod_data.tod_sec / SECS_PER_DAY; in get_rtc_time() 76 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) in get_rtc_time() 79 long int yg = y + days / 365 - (days % 365 < 0); in get_rtc_time() 82 days -= ((yg - y) * 365 in get_rtc_time() 90 for (y = 11; days < (long int) ip[y]; --y) in get_rtc_time() 92 days -= ip[y]; in get_rtc_time() 94 wtime->tm_mday = days + 1; in get_rtc_time()
|
/linux-4.1.27/fs/udf/ |
D | udftime.c | 122 long int days, rem, y; in udf_time_to_disk_stamp() local 134 days = ts.tv_sec / SECS_PER_DAY; in udf_time_to_disk_stamp() 145 while (days < 0 || days >= (__isleap(y) ? 366 : 365)) { in udf_time_to_disk_stamp() 146 long int yg = y + days / 365 - (days % 365 < 0); in udf_time_to_disk_stamp() 149 days -= ((yg - y) * 365 in udf_time_to_disk_stamp() 156 for (y = 11; days < (long int)ip[y]; --y) in udf_time_to_disk_stamp() 158 days -= ip[y]; in udf_time_to_disk_stamp() 160 dest->day = days + 1; in udf_time_to_disk_stamp()
|
/linux-4.1.27/arch/ia64/hp/sim/boot/ |
D | fw-emu.c | 56 long int days, rem, y; in offtime() local 59 days = t / SECS_PER_DAY; in offtime() 63 --days; in offtime() 67 ++days; in offtime() 81 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) { in offtime() 83 long int yg = y + days / 365 - (days % 365 < 0); in offtime() 86 days -= ((yg - y) * 365 + LEAPS_THRU_END_OF (yg - 1) in offtime() 92 for (y = 11; days < (long int) ip[y]; --y) in offtime() 94 days -= ip[y]; in offtime() 96 tp->day = days + 1; in offtime()
|
/linux-4.1.27/arch/m68k/mac/ |
D | misc.c | 639 long int days, rem, y, wday, yday; in unmktime() local 642 days = time / SECS_PER_DAY; in unmktime() 647 --days; in unmktime() 651 ++days; in unmktime() 658 wday = (4 + days) % 7; /* Day in the week. Not currently used */ in unmktime() 667 while (days < 0 || days >= (__isleap (y) ? 366 : 365)) in unmktime() 670 long int yg = y + days / 365 - (days % 365 < 0); in unmktime() 673 days -= ((yg - y) * 365 in unmktime() 679 yday = days; /* day in the year. Not currently used. */ in unmktime() 681 for (y = 11; days < (long int) ip[y]; --y) in unmktime() [all …]
|
/linux-4.1.27/drivers/input/misc/ |
D | hp_sdc_rtc.c | 204 unsigned int days; in hp_sdc_rtc_read_rt() local 210 days = (unsigned int)(raw >> 24) & 0xffff; in hp_sdc_rtc_read_rt() 213 res->tv_sec = (time_t)(tenms / 100) + days * 86400; in hp_sdc_rtc_read_rt() 292 unsigned int days; 304 days = setto->tv_sec / 86400; 306 days += ((setto->tv_sec % 86400) + setto->tv_usec / 1000000) / 86400; 307 if (days > 0xffff) return -1; 319 tseq[9] = (uint8_t)(days & 0xff); 320 tseq[10] = (uint8_t)((days >> 8) & 0xff);
|
/linux-4.1.27/fs/cifs/ |
D | netmisc.c | 965 int sec, min, days, month, year; in cnvrtDosUnixTm() local 981 days = sd->Day; in cnvrtDosUnixTm() 983 if ((days > 31) || (month > 12)) { in cnvrtDosUnixTm() 984 cifs_dbg(VFS, "illegal date, month %d day: %d\n", month, days); in cnvrtDosUnixTm() 989 days += total_days_of_prev_months[month]; in cnvrtDosUnixTm() 990 days += 3652; /* account for difference in days between 1980 and 1970 */ in cnvrtDosUnixTm() 992 days += year * 365; in cnvrtDosUnixTm() 993 days += (year/4); /* leap year */ in cnvrtDosUnixTm() 1001 days = days - 1; /* do not count leap year for the year 2100 */ in cnvrtDosUnixTm() 1005 days -= ((year & 0x03) == 0) && (month < 2 ? 1 : 0); in cnvrtDosUnixTm() [all …]
|
/linux-4.1.27/include/linux/ |
D | amigaffs.h | 35 __be32 days; member 41 __be16 days; member
|
/linux-4.1.27/drivers/net/wan/ |
D | hdlc_cisco.c | 230 u32 sec, min, hrs, days; in cisco_rx() local 234 days = hrs / 24; hrs -= days * 24; in cisco_rx() 236 days, hrs, min, sec); in cisco_rx()
|
/linux-4.1.27/fs/affs/ |
D | amigaffs.c | 371 u32 days; in secs_to_datestamp() local 377 days = secs / 86400; in secs_to_datestamp() 378 secs -= days * 86400; in secs_to_datestamp() 382 ds->days = cpu_to_be32(days); in secs_to_datestamp()
|
D | inode.c | 149 = (be32_to_cpu(tail->change.days) * (24 * 60 * 60) + in affs_iget()
|
D | Changes | 177 the old link days ...
|
/linux-4.1.27/Documentation/ |
D | SecurityBugs | 27 expect these delays to be short, measurable in days, not weeks or months. 33 disclosure date to be on the order of 7 days.
|
D | stable_kernel_rules.txt | 98 days, according to the developer's schedules.
|
D | module-signing.txt | 137 openssl req -new -nodes -utf8 -sha256 -days 36500 -batch -x509 \
|
D | email-clients.txt | 6 These days most developers use `git send-email` instead of regular
|
D | HOWTO | 436 If there are no responses to your posting, wait a few days and try
|
/linux-4.1.27/drivers/platform/x86/ |
D | dell-laptop.c | 996 u8 days; member 1074 info->days = (buffer->output[3] >> 24) & 0xFF; in kbd_get_info() 1290 if (kbd_info.days > 63) in kbd_init_info() 1291 kbd_info.days = 63; in kbd_init_info() 1407 if (value > kbd_info.days) in kbd_led_timeout_store() 1447 } else if (value / (60 * 60 * 24) <= kbd_info.days && kbd_info.days) { in kbd_led_timeout_store()
|
/linux-4.1.27/security/tomoyo/ |
D | util.c | 106 const unsigned short days = (y & 3) ? 365 : 366; in tomoyo_convert_time() local 107 if (time < days) in tomoyo_convert_time() 109 time -= days; in tomoyo_convert_time()
|
/linux-4.1.27/Documentation/networking/ |
D | x25.txt | 33 development and use of Linux X.25. It is early days yet, but interested
|
D | nf_conntrack-sysctl.txt | 141 default 432000 (5 days)
|
D | netdev-features.txt | 12 Long gone are the days when a network card would just take and give packets
|
D | ip-sysctl.txt | 1459 Default: 604800 (7 days)
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-platform-dell-laptop | 53 days, for which the symbols are 's', 'm', 'h' and 'd'
|
/linux-4.1.27/Documentation/EDID/ |
D | HOWTO.txt | 1 In the good old days when graphics parameters were configured explicitly
|
/linux-4.1.27/Documentation/sysctl/ |
D | README | 49 - common sense (this is especially hard to come by these days)
|
/linux-4.1.27/kernel/ |
D | Makefile | 182 openssl req -new -nodes -utf8 -$(CONFIG_MODULE_SIG_HASH) -days 36500 \
|
/linux-4.1.27/Documentation/usb/ |
D | callbacks.txt | 40 reason. Sysfs is preferred these days. The PM callbacks are covered
|
/linux-4.1.27/drivers/scsi/ |
D | ips.c | 6004 long days; in ips_fix_ffdc_time() local 6026 days = current_time / IPS_SECS_DAY; in ips_fix_ffdc_time() 6035 while (days < 0 || days >= year_lengths[yleap = IPS_IS_LEAP_YEAR(year)]) { in ips_fix_ffdc_time() 6038 newy = year + (days / IPS_DAYS_NORMAL_YEAR); in ips_fix_ffdc_time() 6039 if (days < 0) in ips_fix_ffdc_time() 6041 days -= (newy - year) * IPS_DAYS_NORMAL_YEAR + in ips_fix_ffdc_time() 6050 for (i = 0; days >= month_lengths[i][yleap]; ++i) in ips_fix_ffdc_time() 6051 days -= month_lengths[i][yleap]; in ips_fix_ffdc_time() 6054 scb->cmd.ffdc.day = days + 1; in ips_fix_ffdc_time()
|
/linux-4.1.27/drivers/input/mouse/ |
D | Kconfig | 269 They are rather rare these days. 285 They are rather rare these days.
|
/linux-4.1.27/kernel/debug/kdb/ |
D | kdb_main.c | 2566 int days = val.uptime / (24*60*60); in kdb_summary() local 2568 kdb_printf("%d day%s ", days, days == 1 ? "" : "s"); in kdb_summary()
|
/linux-4.1.27/drivers/net/ppp/ |
D | Kconfig | 13 days support PPP rather than SLIP.
|
/linux-4.1.27/ |
D | REPORTING-BUGS | 159 In general, kernel maintainers take 1 to 5 business days to respond to
|
D | CREDITS | 1607 D: Some kernel programming on the floppy and sound drivers in early days 3229 D: Maintainer of the sound drivers until 2.1.x days.
|
/linux-4.1.27/Documentation/dvb/ |
D | README.dvb-usb | 72 2004-12-29 - after several days of struggling around bug of no returning URBs fixed.
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | compress_offload.txt | 8 Since its early days, the ALSA API was defined with PCM support or
|
/linux-4.1.27/Documentation/scsi/ |
D | aic7xxx.txt | 335 408-957-2550, 24 hours a day, 7 days a week.
|
D | aic79xx.txt | 438 408-957-2550, 24 hours a day, 7 days a week.
|
/linux-4.1.27/Documentation/filesystems/ |
D | ramfs-rootfs-initramfs.txt | 293 1) cpio is a standard. It's decades old (from the AT&T days), and already
|
D | xfs-self-describing-metadata.txt | 25 few days to perform such forensic analysis, so for at this scale root cause
|
/linux-4.1.27/Documentation/cdrom/ |
D | ide-cd | 249 The Pioneer DR-A24X CDROM drives are fairly popular these days.
|
/linux-4.1.27/Documentation/development-process/ |
D | 4.Coding | 160 raise the level of concurrency within the kernel. The days when kernel
|
/linux-4.1.27/Documentation/vm/ |
D | unevictable-lru.txt | 64 spending 100% of their time in vmscan for hours or days on end, with the system
|
/linux-4.1.27/Documentation/cgroups/ |
D | memory.txt | 109 its processing over a period of hours, days, months or years, but with
|
/linux-4.1.27/Documentation/x86/ |
D | boot.txt | 6 well as the desire in the early days to have the kernel itself be a
|