/linux-4.1.27/drivers/rtc/ |
D | rtc-ab8500.c | 73 unsigned long secs; in get_elapsed_seconds() local 83 rtc_tm_to_time(&tm, &secs); in get_elapsed_seconds() 84 return secs; in get_elapsed_seconds() 91 unsigned long mins, secs; in ab8500_rtc_read_time() local 125 secs = (buf[3] << 8) | buf[4]; in ab8500_rtc_read_time() 126 secs = secs / COUNTS_PER_SEC; in ab8500_rtc_read_time() 127 secs = secs + (mins * 60); in ab8500_rtc_read_time() 130 secs += get_elapsed_seconds(AB8500_RTC_EPOCH); in ab8500_rtc_read_time() 132 rtc_time_to_tm(secs, tm); in ab8500_rtc_read_time() 140 unsigned long no_secs, no_mins, secs = 0; in ab8500_rtc_set_time() local [all …]
|
D | rtc-pcap.c | 49 unsigned long secs; in pcap_rtc_read_alarm() local 54 secs = tod & PCAP_RTC_TOD_MASK; in pcap_rtc_read_alarm() 57 secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; in pcap_rtc_read_alarm() 59 rtc_time_to_tm(secs, tm); in pcap_rtc_read_alarm() 69 unsigned long secs; in pcap_rtc_set_alarm() local 72 rtc_tm_to_time(tm, &secs); in pcap_rtc_set_alarm() 74 tod = secs % SEC_PER_DAY; in pcap_rtc_set_alarm() 77 days = secs / SEC_PER_DAY; in pcap_rtc_set_alarm() 87 unsigned long secs; in pcap_rtc_read_time() local 91 secs = tod & PCAP_RTC_TOD_MASK; in pcap_rtc_read_time() [all …]
|
D | rtc-jz4740.c | 107 uint32_t secs, secs2; in jz4740_rtc_read_time() local 114 secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC); in jz4740_rtc_read_time() 117 while (secs != secs2 && --timeout) { in jz4740_rtc_read_time() 118 secs = secs2; in jz4740_rtc_read_time() 125 rtc_time_to_tm(secs, time); in jz4740_rtc_read_time() 130 static int jz4740_rtc_set_mmss(struct device *dev, unsigned long secs) in jz4740_rtc_set_mmss() argument 134 return jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, secs); in jz4740_rtc_set_mmss() 140 uint32_t secs; in jz4740_rtc_read_alarm() local 143 secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC_ALARM); in jz4740_rtc_read_alarm() 150 rtc_time_to_tm(secs, &alrm->time); in jz4740_rtc_read_alarm() [all …]
|
D | rtc-at91sam9.c | 111 u32 secs, secs2; in at91_rtc_readtime() local 120 secs = rtt_readl(rtc, VR); in at91_rtc_readtime() 122 if (secs != secs2) in at91_rtc_readtime() 123 secs = rtt_readl(rtc, VR); in at91_rtc_readtime() 125 rtc_time_to_tm(offset + secs, tm); in at91_rtc_readtime() 142 unsigned long secs; in at91_rtc_settime() local 148 err = rtc_tm_to_time(tm, &secs); in at91_rtc_settime() 161 secs += 1; in at91_rtc_settime() 162 gpbr_writel(rtc, secs); in at91_rtc_settime() 167 if (offset > secs) { in at91_rtc_settime() [all …]
|
D | rtc-sun4v.c | 44 static int hypervisor_set_time(unsigned long secs) in hypervisor_set_time() argument 50 ret = sun4v_tod_set(secs); in hypervisor_set_time() 67 unsigned long secs; in sun4v_set_time() local 70 err = rtc_tm_to_time(tm, &secs); in sun4v_set_time() 74 return hypervisor_set_time(secs); in sun4v_set_time()
|
D | rtc-lib.c | 56 unsigned long secs; in rtc_time64_to_tm() local 61 secs = time - (unsigned int) days * 86400; in rtc_time64_to_tm() 88 tm->tm_hour = secs / 3600; in rtc_time64_to_tm() 89 secs -= tm->tm_hour * 3600; in rtc_time64_to_tm() 90 tm->tm_min = secs / 60; in rtc_time64_to_tm() 91 tm->tm_sec = secs - tm->tm_min * 60; in rtc_time64_to_tm()
|
D | rtc-pm8xxx.c | 84 unsigned long secs, irq_flags; in pm8xxx_rtc_set_time() local 93 rtc_tm_to_time(tm, &secs); in pm8xxx_rtc_set_time() 96 value[i] = secs & 0xFF; in pm8xxx_rtc_set_time() 97 secs >>= 8; in pm8xxx_rtc_set_time() 100 dev_dbg(dev, "Seconds value to be written to RTC = %lu\n", secs); in pm8xxx_rtc_set_time() 159 unsigned long secs; in pm8xxx_rtc_read_time() local 189 secs = value[0] | (value[1] << 8) | (value[2] << 16) | (value[3] << 24); in pm8xxx_rtc_read_time() 191 rtc_time_to_tm(secs, tm); in pm8xxx_rtc_read_time() 200 secs, tm->tm_hour, tm->tm_min, tm->tm_sec, in pm8xxx_rtc_read_time() 211 unsigned long secs, irq_flags; in pm8xxx_rtc_set_alarm() local [all …]
|
D | rtc-ds1672.c | 75 static int ds1672_set_mmss(struct i2c_client *client, unsigned long secs) in ds1672_set_mmss() argument 81 buf[1] = secs & 0x000000FF; in ds1672_set_mmss() 82 buf[2] = (secs & 0x0000FF00) >> 8; in ds1672_set_mmss() 83 buf[3] = (secs & 0x00FF0000) >> 16; in ds1672_set_mmss() 84 buf[4] = (secs & 0xFF000000) >> 24; in ds1672_set_mmss() 101 static int ds1672_rtc_set_mmss(struct device *dev, unsigned long secs) in ds1672_rtc_set_mmss() argument 103 return ds1672_set_mmss(to_i2c_client(dev), secs); in ds1672_rtc_set_mmss()
|
D | rtc-ab3100.c | 46 static int ab3100_rtc_set_mmss(struct device *dev, time64_t secs) in ab3100_rtc_set_mmss() argument 51 u64 hw_counter = secs * AB3100_RTC_CLOCK_RATE * 2; in ab3100_rtc_set_mmss() 149 time64_t secs; in ab3100_rtc_set_alarm() local 154 secs = rtc_tm_to_time64(&alarm->time); in ab3100_rtc_set_alarm() 155 hw_counter = secs * AB3100_RTC_CLOCK_RATE * 2; in ab3100_rtc_set_alarm()
|
D | rtc-test.c | 41 static int test_rtc_set_mmss64(struct device *dev, time64_t secs) in test_rtc_set_mmss64() argument 43 dev_info(dev, "%s, secs = %lld\n", __func__, (long long)secs); in test_rtc_set_mmss64() 47 static int test_rtc_set_mmss(struct device *dev, unsigned long secs) in test_rtc_set_mmss() argument 49 dev_info(dev, "%s, secs = %lu\n", __func__, secs); in test_rtc_set_mmss()
|
D | rtc-tx4939.c | 45 static int tx4939_rtc_set_mmss(struct device *dev, unsigned long secs) in tx4939_rtc_set_mmss() argument 54 buf[2] = secs; in tx4939_rtc_set_mmss() 55 buf[3] = secs >> 8; in tx4939_rtc_set_mmss() 56 buf[4] = secs >> 16; in tx4939_rtc_set_mmss() 57 buf[5] = secs >> 24; in tx4939_rtc_set_mmss()
|
D | rtc-ep93xx.c | 72 static int ep93xx_rtc_set_mmss(struct device *dev, unsigned long secs) in ep93xx_rtc_set_mmss() argument 76 __raw_writel(secs + 1, ep93xx_rtc->mmio_base + EP93XX_RTC_LOAD); in ep93xx_rtc_set_mmss()
|
D | rtc-lpc32xx.c | 76 static int lpc32xx_rtc_set_mmss(struct device *dev, unsigned long secs) in lpc32xx_rtc_set_mmss() argument 86 rtc_writel(rtc, LPC32XX_RTC_UCOUNT, secs); in lpc32xx_rtc_set_mmss() 87 rtc_writel(rtc, LPC32XX_RTC_DCOUNT, 0xFFFFFFFF - secs); in lpc32xx_rtc_set_mmss()
|
D | rtc-ab-b5ze-s3.c | 301 static inline void sec_to_timer_a(u8 secs, u8 *taq, u8 *timer_a) in sec_to_timer_a() argument 304 *timer_a = secs; in sec_to_timer_a() 311 static inline int sec_from_timer_a(u8 *secs, u8 taq, u8 timer_a) in sec_from_timer_a() argument 316 *secs = timer_a; in sec_from_timer_a() 558 u8 secs) in _abb5zes3_rtc_set_timer() argument 566 sec_to_timer_a(secs, ®s[0], ®s[1]); in _abb5zes3_rtc_set_timer()
|
D | rtc-digicolor.c | 109 static int dc_rtc_set_mmss(struct device *dev, unsigned long secs) in dc_rtc_set_mmss() argument 113 return dc_rtc_write(rtc, secs); in dc_rtc_set_mmss()
|
D | rtc-coh901331.c | 91 static int coh901331_set_mmss(struct device *dev, unsigned long secs) in coh901331_set_mmss() argument 96 writel(secs, rtap->virtbase + COH901331_SET_TIME); in coh901331_set_mmss()
|
D | rtc-xgene.c | 65 static int xgene_rtc_set_mmss(struct device *dev, unsigned long secs) in xgene_rtc_set_mmss() argument 73 writel((u32) secs, pdata->csr_base + RTC_CLR); in xgene_rtc_set_mmss()
|
D | rtc-ds2404.c | 213 static int ds2404_set_mmss(struct device *dev, unsigned long secs) in ds2404_set_mmss() argument 215 u32 time = cpu_to_le32(secs); in ds2404_set_mmss()
|
D | rtc-mc13xxx.c | 91 static int mc13xxx_rtc_set_mmss(struct device *dev, time64_t secs) in mc13xxx_rtc_set_mmss() argument 98 days = div_s64_rem(secs, SEC_PER_DAY, &seconds); in mc13xxx_rtc_set_mmss()
|
D | rtc-imxdi.c | 248 static int dryice_rtc_set_mmss(struct device *dev, unsigned long secs) in dryice_rtc_set_mmss() argument 256 rc = di_write_wait(imxdi, secs, DTCMR); in dryice_rtc_set_mmss()
|
D | interface.c | 94 int rtc_set_mmss(struct rtc_device *rtc, unsigned long secs) in rtc_set_mmss() argument 105 err = rtc->ops->set_mmss64(rtc->dev.parent, secs); in rtc_set_mmss() 107 err = rtc->ops->set_mmss(rtc->dev.parent, secs); in rtc_set_mmss() 113 rtc_time64_to_tm(secs, &new); in rtc_set_mmss()
|
/linux-4.1.27/arch/sh/kernel/ |
D | time.c | 33 static int null_rtc_set_time(const time_t secs) in null_rtc_set_time() argument 68 unsigned long secs; in set_rtc_time() local 70 rtc_tm_to_time(tm, &secs); in set_rtc_time() 71 return rtc_sh_set_time(secs); in set_rtc_time()
|
/linux-4.1.27/crypto/ |
D | tcrypt.c | 76 struct scatterlist *sg, int blen, int secs) in test_cipher_jiffies() argument 82 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_cipher_jiffies() 94 bcount, secs, (long)bcount * blen); in test_cipher_jiffies() 146 int blen, int secs) in test_aead_jiffies() argument 152 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_aead_jiffies() 164 bcount, secs, (long)bcount * blen); in test_aead_jiffies() 268 static void test_aead_speed(const char *algo, int enc, unsigned int secs, in test_aead_speed() argument 386 if (secs) in test_aead_speed() 388 secs); in test_aead_speed() 419 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument [all …]
|
/linux-4.1.27/arch/mn10300/unit-asb2305/ |
D | leds.c | 101 u8 mins, secs; in peripheral_leds7x4_display_rtc() local 104 secs = RTSCR; in peripheral_leds7x4_display_rtc() 111 clock += ((secs & 0xf0) >> 4); in peripheral_leds7x4_display_rtc() 113 clock += (secs & 0x0f); in peripheral_leds7x4_display_rtc()
|
/linux-4.1.27/kernel/time/ |
D | ntp.c | 272 static inline s64 ntp_update_offset_fll(s64 offset64, long secs) in ntp_update_offset_fll() argument 276 if (secs < MINSEC) in ntp_update_offset_fll() 279 if (!(time_status & STA_FLL) && (secs <= MAXSEC)) in ntp_update_offset_fll() 284 return div64_long(offset64 << (NTP_SCALE_SHIFT - SHIFT_FLL), secs); in ntp_update_offset_fll() 291 long secs; in ntp_update_offset() local 310 secs = get_seconds() - time_reftime; in ntp_update_offset() 312 secs = 0; in ntp_update_offset() 317 freq_adj = ntp_update_offset_fll(offset64, secs); in ntp_update_offset() 324 if (unlikely(secs > 1 << (SHIFT_PLL + 1 + time_constant))) in ntp_update_offset() 325 secs = 1 << (SHIFT_PLL + 1 + time_constant); in ntp_update_offset() [all …]
|
D | ntp_internal.h | 8 extern int second_overflow(unsigned long secs);
|
/linux-4.1.27/drivers/scsi/ |
D | scsicam.c | 25 unsigned int *secs); 126 unsigned int *cyls, unsigned int *hds, unsigned int *secs) in scsi_partsize() argument 182 *secs = end_sector; in scsi_partsize() 231 unsigned int *secs) in setsize() argument 256 *secs = (unsigned int) sectors; in setsize()
|
D | gdth.c | 144 static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs); 498 static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs) in gdth_eval_mapping() argument 503 *secs = SECS; in gdth_eval_mapping() 508 *secs = MEDSECS; in gdth_eval_mapping() 512 *secs = BIGSECS; in gdth_eval_mapping() 1944 ha->hdr[hdrive].secs = (u8)drv_secs; in gdth_analyse_hdrive() 3988 ip[1] = ha->hdr[t].secs; in gdth_bios_param() 4346 int cyls, hds, secs; in ioc_rescan() local 4403 gdth_eval_mapping(ha->hdr[i].size,&cyls,&hds,&secs); in ioc_rescan() 4405 ha->hdr[i].secs = secs; in ioc_rescan() [all …]
|
D | gdth.h | 883 u8 secs; member
|
/linux-4.1.27/arch/x86/um/vdso/ |
D | um_vdso.c | 45 long secs; in __vdso_time() local 48 : "=a" (secs) in __vdso_time() 51 return secs; in __vdso_time()
|
/linux-4.1.27/kernel/trace/ |
D | trace_mmiotrace.c | 178 unsigned secs = (unsigned long)t; in mmio_print_rw() local 187 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw() 194 rw->width, secs, usec_rem, rw->map_id, in mmio_print_rw() 202 secs, usec_rem, rw->map_id, in mmio_print_rw() 223 unsigned secs = (unsigned long)t; in mmio_print_map() local 232 secs, usec_rem, m->map_id, in mmio_print_map() 239 secs, usec_rem, m->map_id, 0UL, 0); in mmio_print_map() 257 unsigned secs = (unsigned long)t; in mmio_print_mark() local 260 trace_seq_printf(s, "MARK %u.%06lu %s", secs, usec_rem, msg); in mmio_print_mark()
|
D | trace_output.c | 567 unsigned long secs, usec_rem; in trace_print_context() local 581 secs = (unsigned long)t; in trace_print_context() 582 trace_seq_printf(s, " %5lu.%06lu: ", secs, usec_rem); in trace_print_context()
|
D | blktrace.c | 1152 unsigned secs = (unsigned long)ts; in blk_log_action_classic() local 1160 secs, nsec_rem, iter->ent->pid, act, rwbs); in blk_log_action_classic()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_fail.h | 131 #define CFS_FAIL_TIMEOUT(id, secs) \ argument 132 cfs_fail_timeout_set(id, 0, secs * 1000, CFS_FAIL_LOC_NOSET) 139 #define CFS_FAIL_TIMEOUT_ORSET(id, value, secs) \ argument 140 cfs_fail_timeout_set(id, value, secs * 1000, CFS_FAIL_LOC_ORSET)
|
/linux-4.1.27/crypto/asymmetric_keys/ |
D | verify_pefile.c | 35 const struct section_header *secs, *sec; in pefile_parse_binary() local 117 ctx->secs = secs = pebuf + cursor; in pefile_parse_binary() 280 if (pefile_compare_shdrs(&ctx->secs[canon[i]], in pefile_digest_pe_contents() 281 &ctx->secs[loop]) > 0) { in pefile_digest_pe_contents() 293 if (ctx->secs[i].raw_data_size == 0) in pefile_digest_pe_contents() 296 pebuf + ctx->secs[i].data_addr, in pefile_digest_pe_contents() 297 ctx->secs[i].raw_data_size); in pefile_digest_pe_contents() 302 hashed_bytes += ctx->secs[i].raw_data_size; in pefile_digest_pe_contents()
|
D | verify_pefile.h | 25 const struct section_header *secs; member
|
/linux-4.1.27/arch/x86/tools/ |
D | relocs.c | 35 static struct section *secs; variable 241 sec_strtab = secs[ehdr.e_shstrndx].strtab; in sec_name() 244 name = sec_strtab + secs[shndx].shdr.sh_name; in sec_name() 272 struct section *sec = &secs[i]; in sym_lookup() 394 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs() 395 if (!secs) { in read_shdrs() 404 struct section *sec = &secs[i]; in read_shdrs() 419 sec->link = &secs[sec->shdr.sh_link]; in read_shdrs() 428 struct section *sec = &secs[i]; in read_strtabs() 453 struct section *sec = &secs[i]; in read_symtabs() [all …]
|
/linux-4.1.27/drivers/watchdog/ |
D | booke_wdt.c | 78 static unsigned int sec_to_period(unsigned int secs) in sec_to_period() argument 82 if (period_to_sec(period) >= secs) in sec_to_period() 97 static unsigned int sec_to_period(unsigned int secs) in sec_to_period() argument 99 return secs; in sec_to_period()
|
D | omap_wdt.h | 52 #define GET_WLDR_VAL(secs) (0xffffffff - ((secs) * (32768/(1<<PTV))) + 1) argument
|
D | da9063_wdt.c | 45 static unsigned int da9063_wdt_timeout_to_sel(unsigned int secs) in da9063_wdt_timeout_to_sel() argument 50 if (wdt_timeout[i] >= secs) in da9063_wdt_timeout_to_sel()
|
D | iTCO_wdt.c | 139 static inline unsigned int seconds_to_ticks(int secs) in seconds_to_ticks() argument 141 return iTCO_wdt_private.iTCO_version == 3 ? secs : (secs * 10) / 6; in seconds_to_ticks()
|
D | hpwdt.c | 42 #define SECS_TO_TICKS(secs) ((secs) * 1000 / 128) argument
|
/linux-4.1.27/tools/perf/util/ |
D | debug.c | 54 u64 secs, usecs, nsecs = t; in __eprintf_time() local 56 secs = nsecs / NSECS_PER_SEC; in __eprintf_time() 57 nsecs -= secs * NSECS_PER_SEC; in __eprintf_time() 61 secs, usecs); in __eprintf_time()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | rtc.h | 101 u_int32_t secs; in set_rtc_time() local 103 secs = mktime(wtime->tm_year + 1900, wtime->tm_mon + 1, wtime->tm_mday, in set_rtc_time() 106 if(pdc_tod_set(secs, 0) < 0) in set_rtc_time()
|
/linux-4.1.27/fs/affs/ |
D | amigaffs.c | 369 secs_to_datestamp(time_t secs, struct affs_date *ds) in secs_to_datestamp() argument 374 secs -= sys_tz.tz_minuteswest * 60 + ((8 * 365 + 2) * 24 * 60 * 60); in secs_to_datestamp() 375 if (secs < 0) in secs_to_datestamp() 376 secs = 0; in secs_to_datestamp() 377 days = secs / 86400; in secs_to_datestamp() 378 secs -= days * 86400; in secs_to_datestamp() 379 minute = secs / 60; in secs_to_datestamp() 380 secs -= minute * 60; in secs_to_datestamp() 384 ds->ticks = cpu_to_be32(secs * 50); in secs_to_datestamp()
|
D | affs.h | 141 extern void secs_to_datestamp(time_t secs, struct affs_date *ds);
|
/linux-4.1.27/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/ |
D | Util.pm | 34 my ($secs, $nsecs) = @_; 36 return $secs * $NSECS_PER_SEC + $nsecs;
|
/linux-4.1.27/arch/sh/boards/mach-dreamcast/ |
D | rtc.c | 57 static int aica_rtc_settimeofday(const time_t secs) in aica_rtc_settimeofday() argument 60 unsigned long adj = secs + TWENTY_YEARS; in aica_rtc_settimeofday()
|
/linux-4.1.27/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
D | Core.py | 112 self.secs = common_secs 119 return (self.secs * (10 ** 9)) + self.nsecs 122 return "%d.%d" % (self.secs, int(self.nsecs / 1000))
|
D | Util.py | 22 def nsecs(secs, nsecs): argument 23 return secs * NSECS_PER_SEC + nsecs
|
/linux-4.1.27/fs/hpfs/ |
D | anode.c | 398 void hpfs_truncate_btree(struct super_block *s, secno f, int fno, unsigned secs) in hpfs_truncate_btree() argument 414 if (!secs) { in hpfs_truncate_btree() 429 if (le32_to_cpu(btree->u.internal[i].file_secno) >= secs) goto f; in hpfs_truncate_btree() 440 if (btree->u.internal[i].file_secno == cpu_to_le32(secs)) { in hpfs_truncate_btree() 454 …o_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= secs) goto ff; in hpfs_truncate_btree() 458 if (secs <= le32_to_cpu(btree->u.external[i].file_secno)) { in hpfs_truncate_btree() 459 hpfs_error(s, "there is an allocation error in file %08x, sector %08x", f, secs); in hpfs_truncate_btree() 462 … (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > secs) { in hpfs_truncate_btree() 463 hpfs_free_sectors(s, le32_to_cpu(btree->u.external[i].disk_secno) + secs - in hpfs_truncate_btree() 465 - secs + le32_to_cpu(btree->u.external[i].file_secno)); /* I hope gcc optimizes this :-) */ in hpfs_truncate_btree() [all …]
|
/linux-4.1.27/tools/perf/scripts/python/ |
D | check-perf-trace.py | 60 def print_header(event_name, cpu, secs, nsecs, pid, comm): argument 62 (event_name, cpu, secs, nsecs, pid, comm),
|
/linux-4.1.27/tools/perf/scripts/perl/ |
D | check-perf-trace.pl | 102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_; 105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
|
/linux-4.1.27/include/linux/ |
D | ktime.h | 50 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() argument 52 if (unlikely(secs >= KTIME_SEC_MAX)) in ktime_set() 55 return (ktime_t) { .tv64 = secs * NSEC_PER_SEC + (s64)nsecs }; in ktime_set()
|
D | rtc.h | 80 int (*set_mmss64)(struct device *, time64_t secs); 81 int (*set_mmss)(struct device *, unsigned long secs); 164 extern int rtc_set_mmss(struct rtc_device *rtc, unsigned long secs);
|
D | rcupdate.h | 87 unsigned long secs, 109 unsigned long secs, 113 #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument
|
/linux-4.1.27/include/trace/events/ |
D | rcu.h | 635 unsigned long secs, unsigned long c_old, unsigned long c), 637 TP_ARGS(rcutorturename, rhp, secs, c_old, c), 642 __field(unsigned long, secs) 650 __entry->secs = secs; 657 __entry->secs, __entry->c_old, __entry->c) 731 #define trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument
|
/linux-4.1.27/tools/testing/selftests/timers/ |
D | clocksource-switch.c | 117 int run_tests(int secs) in run_tests() argument 122 sprintf(buf, "./inconsistency-check -t %i", secs); in run_tests()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lprocfs_status.h | 360 static inline void s2dhms(struct dhms *ts, time_t secs) in s2dhms() argument 362 ts->d = secs / 86400; in s2dhms() 363 secs = secs % 86400; in s2dhms() 364 ts->h = secs / 3600; in s2dhms() 365 secs = secs % 3600; in s2dhms() 366 ts->m = secs / 60; in s2dhms() 367 ts->s = secs % 60; in s2dhms()
|
D | obd_support.h | 501 #define OBD_FAIL_TIMEOUT(id, secs) CFS_FAIL_TIMEOUT(id, secs) argument 503 #define OBD_FAIL_TIMEOUT_ORSET(id, value, secs) CFS_FAIL_TIMEOUT_ORSET(id, value, secs) argument
|
/linux-4.1.27/arch/sh/boards/mach-sh03/ |
D | rtc.c | 121 int sh03_rtc_settimeofday(const time_t secs) in sh03_rtc_settimeofday() argument 123 unsigned long nowtime = secs; in sh03_rtc_settimeofday()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | recover.c | 349 int secs = cfs_time_seconds(obd_timeout); in ptlrpc_recover_import() local 352 obd2cli_tgt(imp->imp_obd), secs); in ptlrpc_recover_import() 354 lwi = LWI_TIMEOUT(secs, NULL, NULL); in ptlrpc_recover_import()
|
D | import.c | 440 int secs = cfs_time_seconds(obd_timeout); in ptlrpc_reconnect_import() local 446 obd2cli_tgt(imp->imp_obd), secs); in ptlrpc_reconnect_import() 448 lwi = LWI_TIMEOUT(secs, NULL, NULL); in ptlrpc_reconnect_import()
|
/linux-4.1.27/include/scsi/ |
D | scsicam.h | 17 unsigned int *cyls, unsigned int *hds, unsigned int *secs);
|
/linux-4.1.27/fs/adfs/ |
D | inode.c | 215 adfs_unix2adfs_time(struct inode *inode, unsigned int secs) in adfs_unix2adfs_time() argument 221 low = (secs & 255) * 100; in adfs_unix2adfs_time() 222 high = (secs / 256) * 100 + (low >> 8) + 0x336e996a; in adfs_unix2adfs_time()
|
/linux-4.1.27/tools/perf/Documentation/ |
D | perf-script-perl.txt | 98 $common_secs the secs portion of the event timestamp 208 nsecs($secs, $nsecs) - returns total nsecs given secs/nsecs pair 209 nsecs_secs($nsecs) - returns whole secs portion given nsecs 211 nsecs_str($nsecs) - returns printable string in the form secs.nsecs
|
D | perf-script-python.txt | 157 def print_header(event_name, cpu, secs, nsecs, pid, comm): 159 (event_name, cpu, secs, nsecs, pid, comm), 494 common_secs the secs portion of the event timestamp 612 nsecs(secs, nsecs) - returns total nsecs given secs/nsecs pair 613 nsecs_secs(nsecs) - returns whole secs portion given nsecs 615 nsecs_str(nsecs) - returns printable string in the form secs.nsecs
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
D | router.c | 932 int secs; in lnet_router_check_interval() local 934 secs = rtr->lp_alive ? live_router_check_interval : in lnet_router_check_interval() 936 if (secs < 0) in lnet_router_check_interval() 937 secs = 0; in lnet_router_check_interval() 939 return secs; in lnet_router_check_interval() 947 int secs; in lnet_ping_router_locked() local 971 secs = lnet_router_check_interval(rtr); in lnet_ping_router_locked() 975 libcfs_nid2str(rtr->lp_nid), secs, in lnet_ping_router_locked() 979 if (secs != 0 && !rtr->lp_ping_notsent && in lnet_ping_router_locked() 981 cfs_time_seconds(secs)))) { in lnet_ping_router_locked()
|
/linux-4.1.27/kernel/rcu/ |
D | update.c | 365 unsigned long secs, in do_trace_rcu_torture_read() argument 368 trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c); in do_trace_rcu_torture_read() 372 #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ argument
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-pps | 24 <secs>.<nsec>#<sequence> 36 <secs>.<nsec>#<sequence>
|
D | sysfs-driver-hid-roccat-isku | 94 Description: When written, this file lets one set the time in secs since
|
/linux-4.1.27/arch/sparc/kernel/ |
D | time_32.c | 366 static int set_rtc_mmss(unsigned long secs) in set_rtc_mmss() argument 372 err = rtc_set_mmss(rtc, secs); in set_rtc_mmss()
|
/linux-4.1.27/Documentation/watchdog/ |
D | watchdog-parameters.txt | 77 wd0_timeout: Default watchdog0 timeout in 1/10secs 78 wd1_timeout: Default watchdog1 timeout in 1/10secs 79 wd2_timeout: Default watchdog2 timeout in 1/10secs 258 timeout: Watchdog timeout in microseconds (max/default 8388607 or 8.3ish secs)
|
/linux-4.1.27/mm/ |
D | kmemleak.c | 1700 unsigned long secs; in kmemleak_write() local 1702 ret = kstrtoul(buf + 5, 0, &secs); in kmemleak_write() 1706 if (secs) { in kmemleak_write() 1707 jiffies_scan_wait = msecs_to_jiffies(secs * 1000); in kmemleak_write()
|
/linux-4.1.27/block/partitions/ |
D | aix.c | 23 __be32 secs; member
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_stats.c | 595 ulong now = jiffies, secs; in ocrdma_update_stats() local 601 secs = jiffies_to_msecs(now - dev->last_stats_time) / 1000U; in ocrdma_update_stats() 602 if (secs) { in ocrdma_update_stats()
|
/linux-4.1.27/tools/perf/ |
D | builtin-script.c | 343 unsigned long secs; in print_sample_start() local 372 secs = nsecs / NSECS_PER_SEC; in print_sample_start() 373 nsecs -= secs * NSECS_PER_SEC; in print_sample_start() 375 printf("%5lu.%06lu: ", secs, usecs); in print_sample_start()
|
/linux-4.1.27/include/xen/interface/ |
D | platform.h | 41 uint32_t secs; member
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o_block.c | 542 unsigned char *hds, unsigned char *secs) in i2o_block_biosparam() argument 561 *secs = (unsigned char)sectors; in i2o_block_biosparam()
|
/linux-4.1.27/fs/ncpfs/ |
D | dir.c | 1198 int month, year, secs; in ncp_date_dos2unix() local 1204 secs = (time & 31) * 2 + 60 * ((time >> 5) & 63) + (time >> 11) * 3600 + in ncp_date_dos2unix() 1208 return local2utc(secs); in ncp_date_dos2unix()
|
/linux-4.1.27/net/batman-adv/ |
D | bridge_loop_avoidance.c | 1676 int secs, msecs; in batadv_bla_backbone_table_seq_print_text() local 1699 secs = msecs / 1000; in batadv_bla_backbone_table_seq_print_text() 1709 BATADV_PRINT_VID(backbone_gw->vid), secs, in batadv_bla_backbone_table_seq_print_text()
|
/linux-4.1.27/arch/x86/xen/ |
D | time.c | 212 op.u.settime.secs = now.tv_sec; in xen_pvclock_gtod_notify()
|
/linux-4.1.27/Documentation/accounting/ |
D | taskstats-struct.txt | 67 /* The time when a task begins, in [secs] since 1970. */
|
/linux-4.1.27/drivers/md/ |
D | bitmap.c | 1611 sector_t secs; in bitmap_set_memory_bits() local 1614 bmc = bitmap_get_counter(&bitmap->counts, offset, &secs, 1); in bitmap_set_memory_bits() 2249 unsigned long secs = mddev->bitmap_info.daemon_sleep / HZ; in timeout_show() local 2252 len = sprintf(page, "%lu", secs); in timeout_show()
|
/linux-4.1.27/net/ipv4/ |
D | ipconfig.c | 623 __be16 secs; /* Seconds since we started */ member 843 b->secs = htons(jiffies_diff / HZ); in ic_bootp_send_if()
|
/linux-4.1.27/Documentation/networking/ |
D | xfrm_sync.txt | 22 know if the replay sequence threshold is reached or 10 secs have passed"
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
D | cxgb2.c | 60 static inline void schedule_mac_stats_update(struct adapter *ap, int secs) in schedule_mac_stats_update() argument 62 schedule_delayed_work(&ap->stats_update_task, secs * HZ); in schedule_mac_stats_update()
|
/linux-4.1.27/Documentation/ |
D | kmemleak.txt | 50 scan=<secs> - set the automatic memory scanning period in seconds
|
D | svga.txt | 44 to continue or wait 30 secs" message. If you press <RETURN>, you enter the
|
D | workqueue.txt | 375 (wait a few secs)
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_state.c | 371 static inline unsigned long make_jiffies(long secs) in make_jiffies() argument 373 if (secs >= (MAX_SCHEDULE_TIMEOUT-1)/HZ) in make_jiffies() 376 return secs*HZ; in make_jiffies()
|
D | xfrm_policy.c | 168 static inline unsigned long make_jiffies(long secs) in make_jiffies() argument 170 if (secs >= (MAX_SCHEDULE_TIMEOUT-1)/HZ) in make_jiffies() 173 return secs*HZ; in make_jiffies()
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_lte.c | 602 u16 secs; /* elapsed since client began in gdm_lte_netif_rx() member
|
/linux-4.1.27/tools/lib/traceevent/ |
D | event-parse.c | 5209 unsigned long secs; in pevent_print_event() local 5223 secs = record->ts / NSECS_PER_SEC; in pevent_print_event() 5224 nsecs = record->ts - secs * NSECS_PER_SEC; in pevent_print_event() 5260 secs, p, usecs, event->name); in pevent_print_event()
|
/linux-4.1.27/Documentation/isdn/ |
D | README | 553 "isdnctrl sdelay <InterfaceName> secs."
|
/linux-4.1.27/Documentation/scsi/ |
D | scsi_mid_low_api.txt | 556 * @secs: outputs number of sectors calculated via this pointer 567 unsigned int *cyls, unsigned int *hds, unsigned int *secs)
|
D | ChangeLog.lpfc | 1726 * Modified detect code, on insmod, to only wait a max of 2 secs if
|
/linux-4.1.27/Documentation/trace/ |
D | ftrace.txt | 584 (explained below), the timestamp in <secs>.<usecs> format, the
|
/linux-4.1.27/Documentation/virtual/uml/ |
D | UserModeLinux-HOWTO.txt | 4240 #1 0x100a2885 in idle_sleep (secs=10) at time.c:122
|