Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 99 of 99) sorted by relevance

/linux-4.1.27/drivers/rtc/
Drtc-ab8500.c73 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 …]
Drtc-pcap.c49 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 …]
Drtc-jz4740.c107 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 …]
Drtc-at91sam9.c111 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 …]
Drtc-sun4v.c44 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()
Drtc-lib.c56 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()
Drtc-pm8xxx.c84 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 …]
Drtc-ds1672.c75 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()
Drtc-ab3100.c46 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()
Drtc-test.c41 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()
Drtc-tx4939.c45 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()
Drtc-ep93xx.c72 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()
Drtc-lpc32xx.c76 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()
Drtc-ab-b5ze-s3.c301 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, &regs[0], &regs[1]); in _abb5zes3_rtc_set_timer()
Drtc-digicolor.c109 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()
Drtc-coh901331.c91 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()
Drtc-xgene.c65 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()
Drtc-ds2404.c213 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()
Drtc-mc13xxx.c91 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()
Drtc-imxdi.c248 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()
Dinterface.c94 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/
Dtime.c33 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/
Dtcrypt.c76 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/
Dleds.c101 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/
Dntp.c272 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 …]
Dntp_internal.h8 extern int second_overflow(unsigned long secs);
/linux-4.1.27/drivers/scsi/
Dscsicam.c25 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()
Dgdth.c144 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 …]
Dgdth.h883 u8 secs; member
/linux-4.1.27/arch/x86/um/vdso/
Dum_vdso.c45 long secs; in __vdso_time() local
48 : "=a" (secs) in __vdso_time()
51 return secs; in __vdso_time()
/linux-4.1.27/kernel/trace/
Dtrace_mmiotrace.c178 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()
Dtrace_output.c567 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()
Dblktrace.c1152 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/
Dlibcfs_fail.h131 #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/
Dverify_pefile.c35 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()
Dverify_pefile.h25 const struct section_header *secs; member
/linux-4.1.27/arch/x86/tools/
Drelocs.c35 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/
Dbooke_wdt.c78 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()
Domap_wdt.h52 #define GET_WLDR_VAL(secs) (0xffffffff - ((secs) * (32768/(1<<PTV))) + 1) argument
Dda9063_wdt.c45 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()
DiTCO_wdt.c139 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()
Dhpwdt.c42 #define SECS_TO_TICKS(secs) ((secs) * 1000 / 128) argument
/linux-4.1.27/tools/perf/util/
Ddebug.c54 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/
Drtc.h101 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/
Damigaffs.c369 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()
Daffs.h141 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/
DUtil.pm34 my ($secs, $nsecs) = @_;
36 return $secs * $NSECS_PER_SEC + $nsecs;
/linux-4.1.27/arch/sh/boards/mach-dreamcast/
Drtc.c57 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/
DCore.py112 self.secs = common_secs
119 return (self.secs * (10 ** 9)) + self.nsecs
122 return "%d.%d" % (self.secs, int(self.nsecs / 1000))
DUtil.py22 def nsecs(secs, nsecs): argument
23 return secs * NSECS_PER_SEC + nsecs
/linux-4.1.27/fs/hpfs/
Danode.c398 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/
Dcheck-perf-trace.py60 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/
Dcheck-perf-trace.pl102 my ($event_name, $cpu, $secs, $nsecs, $pid, $comm) = @_;
105 $event_name, $cpu, $secs, $nsecs, $pid, $comm);
/linux-4.1.27/include/linux/
Dktime.h50 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()
Drtc.h80 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);
Drcupdate.h87 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/
Drcu.h635 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/
Dclocksource-switch.c117 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/
Dlprocfs_status.h360 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()
Dobd_support.h501 #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/
Drtc.c121 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/
Drecover.c349 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()
Dimport.c440 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/
Dscsicam.h17 unsigned int *cyls, unsigned int *hds, unsigned int *secs);
/linux-4.1.27/fs/adfs/
Dinode.c215 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/
Dperf-script-perl.txt98 $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
Dperf-script-python.txt157 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/
Drouter.c932 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/
Dupdate.c365 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/
Dsysfs-pps24 <secs>.<nsec>#<sequence>
36 <secs>.<nsec>#<sequence>
Dsysfs-driver-hid-roccat-isku94 Description: When written, this file lets one set the time in secs since
/linux-4.1.27/arch/sparc/kernel/
Dtime_32.c366 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/
Dwatchdog-parameters.txt77 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/
Dkmemleak.c1700 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/
Daix.c23 __be32 secs; member
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
Docrdma_stats.c595 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/
Dbuiltin-script.c343 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/
Dplatform.h41 uint32_t secs; member
/linux-4.1.27/drivers/staging/i2o/
Di2o_block.c542 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/
Ddir.c1198 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/
Dbridge_loop_avoidance.c1676 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/
Dtime.c212 op.u.settime.secs = now.tv_sec; in xen_pvclock_gtod_notify()
/linux-4.1.27/Documentation/accounting/
Dtaskstats-struct.txt67 /* The time when a task begins, in [secs] since 1970. */
/linux-4.1.27/drivers/md/
Dbitmap.c1611 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/
Dipconfig.c623 __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/
Dxfrm_sync.txt22 know if the replay sequence threshold is reached or 10 secs have passed"
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c60 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/
Dkmemleak.txt50 scan=<secs> - set the automatic memory scanning period in seconds
Dsvga.txt44 to continue or wait 30 secs" message. If you press <RETURN>, you enter the
Dworkqueue.txt375 (wait a few secs)
/linux-4.1.27/net/xfrm/
Dxfrm_state.c371 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()
Dxfrm_policy.c168 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/
Dgdm_lte.c602 u16 secs; /* elapsed since client began in gdm_lte_netif_rx() member
/linux-4.1.27/tools/lib/traceevent/
Devent-parse.c5209 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/
DREADME553 "isdnctrl sdelay <InterfaceName> secs."
/linux-4.1.27/Documentation/scsi/
Dscsi_mid_low_api.txt556 * @secs: outputs number of sectors calculated via this pointer
567 unsigned int *cyls, unsigned int *hds, unsigned int *secs)
DChangeLog.lpfc1726 * Modified detect code, on insmod, to only wait a max of 2 secs if
/linux-4.1.27/Documentation/trace/
Dftrace.txt584 (explained below), the timestamp in <secs>.<usecs> format, the
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt4240 #1 0x100a2885 in idle_sleep (secs=10) at time.c:122