secs 116 arch/arm/xen/enlighten.c op.u.settime64.secs = now.tv_sec; secs 32 arch/mips/boot/tools/relocs.c static struct section *secs; secs 96 arch/mips/boot/tools/relocs.c sec_strtab = secs[ehdr.e_shstrndx].strtab; secs 98 arch/mips/boot/tools/relocs.c name = sec_strtab + secs[shndx].shdr.sh_name; secs 114 arch/mips/boot/tools/relocs.c return &secs[i]; secs 265 arch/mips/boot/tools/relocs.c secs = calloc(ehdr.e_shnum, sizeof(struct section)); secs 266 arch/mips/boot/tools/relocs.c if (!secs) secs 273 arch/mips/boot/tools/relocs.c struct section *sec = &secs[i]; secs 290 arch/mips/boot/tools/relocs.c sec->link = &secs[sec->shdr.sh_link]; secs 299 arch/mips/boot/tools/relocs.c struct section *sec = &secs[i]; secs 324 arch/mips/boot/tools/relocs.c struct section *sec = &secs[i]; secs 367 arch/mips/boot/tools/relocs.c struct section *sec = &secs[i]; secs 413 arch/mips/boot/tools/relocs.c struct section *sec = &secs[i]; secs 478 arch/mips/boot/tools/relocs.c struct section *sec = &secs[i]; secs 484 arch/mips/boot/tools/relocs.c sec_applies = &secs[sec->shdr.sh_info]; secs 66 arch/mips/mti-malta/malta-time.c int secs; secs 111 arch/mips/mti-malta/malta-time.c secs = secs2 - secs1; secs 112 arch/mips/mti-malta/malta-time.c if (secs < 1) secs 113 arch/mips/mti-malta/malta-time.c secs += 60; secs 116 arch/mips/mti-malta/malta-time.c count /= secs; secs 120 arch/mips/mti-malta/malta-time.c giccount = div_u64(giccount - gicstart, secs); secs 182 arch/parisc/kernel/time.c time64_t secs = rtc_tm_to_time64(tm); secs 184 arch/parisc/kernel/time.c if (pdc_tod_set(secs, 0) < 0) secs 64 arch/sh/boards/mach-dreamcast/rtc.c time64_t secs = rtc_tm_to_time64(tm); secs 65 arch/sh/boards/mach-dreamcast/rtc.c u32 adj = secs + TWENTY_YEARS; secs 38 arch/x86/tools/relocs.c static struct section *secs; secs 246 arch/x86/tools/relocs.c sec_strtab = secs[shstrndx].strtab; secs 249 arch/x86/tools/relocs.c name = sec_strtab + secs[shndx].shdr.sh_name; secs 277 arch/x86/tools/relocs.c struct section *sec = &secs[i]; secs 413 arch/x86/tools/relocs.c secs = calloc(shnum, sizeof(struct section)); secs 414 arch/x86/tools/relocs.c if (!secs) { secs 423 arch/x86/tools/relocs.c struct section *sec = &secs[i]; secs 438 arch/x86/tools/relocs.c sec->link = &secs[sec->shdr.sh_link]; secs 447 arch/x86/tools/relocs.c struct section *sec = &secs[i]; secs 472 arch/x86/tools/relocs.c struct section *sec = &secs[i]; secs 505 arch/x86/tools/relocs.c struct section *sec = &secs[i]; secs 548 arch/x86/tools/relocs.c struct section *sec = &secs[i]; secs 586 arch/x86/tools/relocs.c struct section *sec = &secs[i]; secs 595 arch/x86/tools/relocs.c sec_applies = &secs[sec->shdr.sh_info]; secs 674 arch/x86/tools/relocs.c struct section *sec = &secs[i]; secs 680 arch/x86/tools/relocs.c sec_applies = &secs[sec->shdr.sh_info]; secs 730 arch/x86/tools/relocs.c if (secs[i].shdr.sh_addr != 0) /* non SMP kernel */ secs 42 arch/x86/um/vdso/um_vdso.c long secs; secs 45 arch/x86/um/vdso/um_vdso.c : "=a" (secs) secs 48 arch/x86/um/vdso/um_vdso.c return secs; secs 114 arch/x86/xen/time.c op.u.settime64.secs = now.tv_sec; secs 119 arch/x86/xen/time.c op.u.settime32.secs = now.tv_sec; secs 24 block/partitions/aix.c __be32 secs; secs 31 crypto/asymmetric_keys/verify_pefile.c const struct section_header *secs, *sec; secs 113 crypto/asymmetric_keys/verify_pefile.c ctx->secs = secs = pebuf + cursor; secs 276 crypto/asymmetric_keys/verify_pefile.c if (pefile_compare_shdrs(&ctx->secs[canon[i]], secs 277 crypto/asymmetric_keys/verify_pefile.c &ctx->secs[loop]) > 0) { secs 289 crypto/asymmetric_keys/verify_pefile.c if (ctx->secs[i].raw_data_size == 0) secs 292 crypto/asymmetric_keys/verify_pefile.c pebuf + ctx->secs[i].data_addr, secs 293 crypto/asymmetric_keys/verify_pefile.c ctx->secs[i].raw_data_size); secs 298 crypto/asymmetric_keys/verify_pefile.c hashed_bytes += ctx->secs[i].raw_data_size; secs 20 crypto/asymmetric_keys/verify_pefile.h const struct section_header *secs; secs 183 crypto/tcrypt.c int blen, int secs, u32 num_mb) secs 194 crypto/tcrypt.c for (start = jiffies, end = start + secs * HZ, bcount = 0; secs 202 crypto/tcrypt.c bcount * num_mb, secs, (long)bcount * blen * num_mb); secs 250 crypto/tcrypt.c static void test_mb_aead_speed(const char *algo, int enc, int secs, secs 414 crypto/tcrypt.c if (secs) { secs 416 crypto/tcrypt.c secs, num_mb); secs 454 crypto/tcrypt.c int blen, int secs) secs 460 crypto/tcrypt.c for (start = jiffies, end = start + secs * HZ, bcount = 0; secs 472 crypto/tcrypt.c bcount, secs, (long)bcount * blen); secs 518 crypto/tcrypt.c static void test_aead_speed(const char *algo, int enc, unsigned int secs, secs 661 crypto/tcrypt.c if (secs) { secs 663 crypto/tcrypt.c secs); secs 744 crypto/tcrypt.c int secs, u32 num_mb) secs 755 crypto/tcrypt.c for (start = jiffies, end = start + secs * HZ, bcount = 0; secs 763 crypto/tcrypt.c bcount * num_mb, secs, (long)bcount * blen * num_mb); secs 811 crypto/tcrypt.c static void test_mb_ahash_speed(const char *algo, unsigned int secs, secs 879 crypto/tcrypt.c if (secs) { secs 880 crypto/tcrypt.c ret = test_mb_ahash_jiffies(data, speed[i].blen, secs, secs 908 crypto/tcrypt.c char *out, int secs) secs 914 crypto/tcrypt.c for (start = jiffies, end = start + secs * HZ, bcount = 0; secs 922 crypto/tcrypt.c bcount / secs, ((long)bcount * blen) / secs); secs 928 crypto/tcrypt.c int plen, char *out, int secs) secs 935 crypto/tcrypt.c return test_ahash_jiffies_digest(req, blen, out, secs); secs 937 crypto/tcrypt.c for (start = jiffies, end = start + secs * HZ, bcount = 0; secs 954 crypto/tcrypt.c bcount / secs, ((long)bcount * blen) / secs); secs 1054 crypto/tcrypt.c static void test_ahash_speed_common(const char *algo, unsigned int secs, secs 1111 crypto/tcrypt.c if (secs) { secs 1113 crypto/tcrypt.c speed[i].plen, output, secs); secs 1135 crypto/tcrypt.c static void test_ahash_speed(const char *algo, unsigned int secs, secs 1138 crypto/tcrypt.c return test_ahash_speed_common(algo, secs, speed, 0); secs 1141 crypto/tcrypt.c static void test_hash_speed(const char *algo, unsigned int secs, secs 1144 crypto/tcrypt.c return test_ahash_speed_common(algo, secs, speed, CRYPTO_ALG_ASYNC); secs 1181 crypto/tcrypt.c int blen, int secs, u32 num_mb) secs 1192 crypto/tcrypt.c for (start = jiffies, end = start + secs * HZ, bcount = 0; secs 1200 crypto/tcrypt.c bcount * num_mb, secs, (long)bcount * blen * num_mb); secs 1248 crypto/tcrypt.c static void test_mb_skcipher_speed(const char *algo, int enc, int secs, secs 1377 crypto/tcrypt.c if (secs) { secs 1379 crypto/tcrypt.c *b_size, secs, secs 1418 crypto/tcrypt.c int blen, int secs) secs 1424 crypto/tcrypt.c for (start = jiffies, end = start + secs * HZ, bcount = 0; secs 1438 crypto/tcrypt.c bcount, secs, (long)bcount * blen); secs 1489 crypto/tcrypt.c static void test_skcipher_speed(const char *algo, int enc, unsigned int secs, secs 1593 crypto/tcrypt.c if (secs) { secs 1595 crypto/tcrypt.c *b_size, secs); secs 1619 crypto/tcrypt.c static void test_acipher_speed(const char *algo, int enc, unsigned int secs, secs 1623 crypto/tcrypt.c return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, secs 1627 crypto/tcrypt.c static void test_cipher_speed(const char *algo, int enc, unsigned int secs, secs 1631 crypto/tcrypt.c return test_skcipher_speed(algo, enc, secs, template, tcount, keysize, secs 608 drivers/infiniband/hw/ocrdma/ocrdma_stats.c ulong now = jiffies, secs; secs 614 drivers/infiniband/hw/ocrdma/ocrdma_stats.c secs = jiffies_to_msecs(now - dev->last_stats_time) / 1000U; secs 615 drivers/infiniband/hw/ocrdma/ocrdma_stats.c if (secs) { secs 995 drivers/lightnvm/pblk.h int secs, chnls, luns; secs 1001 drivers/lightnvm/pblk.h paddr = div_u64_rem(paddr, uaddrf->sec_stripe, &secs); secs 1002 drivers/lightnvm/pblk.h ppa.m.sec = secs; secs 1052 drivers/lightnvm/pblk.h u64 secs = p.m.sec; secs 1058 drivers/lightnvm/pblk.h secs = div_u64_rem(secs, uaddrf->sec_stripe, &sec_stripe); secs 1059 drivers/lightnvm/pblk.h paddr += secs * uaddrf->sec_ws_stripe; secs 1671 drivers/md/md-bitmap.c sector_t secs; secs 1674 drivers/md/md-bitmap.c bmc = md_bitmap_get_counter(&bitmap->counts, offset, &secs, 1); secs 2415 drivers/md/md-bitmap.c unsigned long secs = mddev->bitmap_info.daemon_sleep / HZ; secs 2418 drivers/md/md-bitmap.c len = sprintf(page, "%lu", secs); secs 60 drivers/net/ethernet/chelsio/cxgb/cxgb2.c static inline void schedule_mac_stats_update(struct adapter *ap, int secs) secs 62 drivers/net/ethernet/chelsio/cxgb/cxgb2.c schedule_delayed_work(&ap->stats_update_task, secs * HZ); secs 74 drivers/net/ethernet/netronome/nfp/nfpcore/nfp.h int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs); secs 231 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs) secs 234 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_resource.c unsigned long err_at = jiffies + secs * HZ; secs 25 drivers/rtc/interface.c time64_t secs; secs 30 drivers/rtc/interface.c secs = rtc_tm_to_time64(tm); secs 38 drivers/rtc/interface.c if ((rtc->start_secs > rtc->range_min && secs >= rtc->start_secs) || secs 40 drivers/rtc/interface.c secs <= (rtc->start_secs + rtc->range_max - rtc->range_min))) secs 43 drivers/rtc/interface.c rtc_time64_to_tm(secs + rtc->offset_secs, tm); secs 48 drivers/rtc/interface.c time64_t secs; secs 53 drivers/rtc/interface.c secs = rtc_tm_to_time64(tm); secs 61 drivers/rtc/interface.c if (secs >= rtc->range_min && secs <= rtc->range_max) secs 64 drivers/rtc/interface.c rtc_time64_to_tm(secs - rtc->offset_secs, tm); secs 51 drivers/rtc/lib.c unsigned int month, year, secs; secs 55 drivers/rtc/lib.c days = div_s64_rem(time, 86400, &secs); secs 82 drivers/rtc/lib.c tm->tm_hour = secs / 3600; secs 83 drivers/rtc/lib.c secs -= tm->tm_hour * 3600; secs 84 drivers/rtc/lib.c tm->tm_min = secs / 60; secs 85 drivers/rtc/lib.c tm->tm_sec = secs - tm->tm_min * 60; secs 273 drivers/rtc/rtc-ab-b5ze-s3.c static inline void sec_to_timer_a(u8 secs, u8 *taq, u8 *timer_a) secs 276 drivers/rtc/rtc-ab-b5ze-s3.c *timer_a = secs; secs 283 drivers/rtc/rtc-ab-b5ze-s3.c static inline int sec_from_timer_a(u8 *secs, u8 taq, u8 timer_a) secs 288 drivers/rtc/rtc-ab-b5ze-s3.c *secs = timer_a; secs 506 drivers/rtc/rtc-ab-b5ze-s3.c u8 secs) secs 514 drivers/rtc/rtc-ab-b5ze-s3.c sec_to_timer_a(secs, ®s[0], ®s[1]); secs 149 drivers/rtc/rtc-ab3100.c time64_t secs; secs 154 drivers/rtc/rtc-ab3100.c secs = rtc_tm_to_time64(&alarm->time); secs 155 drivers/rtc/rtc-ab3100.c hw_counter = secs * AB3100_RTC_CLOCK_RATE * 2; secs 65 drivers/rtc/rtc-ab8500.c unsigned long mins, secs; secs 99 drivers/rtc/rtc-ab8500.c secs = (buf[3] << 8) | buf[4]; secs 100 drivers/rtc/rtc-ab8500.c secs = secs / COUNTS_PER_SEC; secs 101 drivers/rtc/rtc-ab8500.c secs = secs + (mins * 60); secs 103 drivers/rtc/rtc-ab8500.c rtc_time_to_tm(secs, tm); secs 111 drivers/rtc/rtc-ab8500.c unsigned long no_secs, no_mins, secs = 0; secs 113 drivers/rtc/rtc-ab8500.c rtc_tm_to_time(tm, &secs); secs 115 drivers/rtc/rtc-ab8500.c no_mins = secs / 60; secs 117 drivers/rtc/rtc-ab8500.c no_secs = secs % 60; secs 145 drivers/rtc/rtc-ab8500.c unsigned long secs, mins; secs 169 drivers/rtc/rtc-ab8500.c secs = mins * 60; secs 171 drivers/rtc/rtc-ab8500.c rtc_time_to_tm(secs, &alarm->time); secs 187 drivers/rtc/rtc-ab8500.c unsigned long mins, secs = 0, cursec = 0; secs 191 drivers/rtc/rtc-ab8500.c rtc_tm_to_time(&alarm->time, &secs); secs 200 drivers/rtc/rtc-ab8500.c if ((secs - cursec) < 59) { secs 205 drivers/rtc/rtc-ab8500.c mins = secs / 60; secs 106 drivers/rtc/rtc-at91sam9.c u32 secs, secs2; secs 115 drivers/rtc/rtc-at91sam9.c secs = rtt_readl(rtc, VR); secs 117 drivers/rtc/rtc-at91sam9.c if (secs != secs2) secs 118 drivers/rtc/rtc-at91sam9.c secs = rtt_readl(rtc, VR); secs 120 drivers/rtc/rtc-at91sam9.c rtc_time64_to_tm(offset + secs, tm); secs 134 drivers/rtc/rtc-at91sam9.c unsigned long secs; secs 138 drivers/rtc/rtc-at91sam9.c secs = rtc_tm_to_time64(tm); secs 149 drivers/rtc/rtc-at91sam9.c secs += 1; secs 150 drivers/rtc/rtc-at91sam9.c gpbr_writel(rtc, secs); secs 155 drivers/rtc/rtc-at91sam9.c if (offset > secs) { secs 157 drivers/rtc/rtc-at91sam9.c alarm += (offset - secs); secs 158 drivers/rtc/rtc-at91sam9.c } else if ((alarm + offset) > secs) { secs 160 drivers/rtc/rtc-at91sam9.c alarm -= (secs - offset); secs 203 drivers/rtc/rtc-at91sam9.c unsigned long secs; secs 207 drivers/rtc/rtc-at91sam9.c secs = rtc_tm_to_time64(tm); secs 218 drivers/rtc/rtc-at91sam9.c if (secs <= offset) { secs 224 drivers/rtc/rtc-at91sam9.c rtt_writel(rtc, AR, secs - offset); secs 51 drivers/rtc/rtc-brcmstb-waketimer.c unsigned int secs) secs 58 drivers/rtc/rtc-brcmstb-waketimer.c writel_relaxed(secs + 1, timer->base + BRCMSTB_WKTMR_ALARM); secs 86 drivers/rtc/rtc-ds1672.c unsigned long secs = rtc_tm_to_time64(tm); secs 89 drivers/rtc/rtc-ds1672.c buf[1] = secs & 0x000000FF; secs 90 drivers/rtc/rtc-ds1672.c buf[2] = (secs & 0x0000FF00) >> 8; secs 91 drivers/rtc/rtc-ds1672.c buf[3] = (secs & 0x00FF0000) >> 16; secs 92 drivers/rtc/rtc-ds1672.c buf[4] = (secs & 0xFF000000) >> 24; secs 66 drivers/rtc/rtc-ep93xx.c unsigned long secs = rtc_tm_to_time64(tm); secs 68 drivers/rtc/rtc-ep93xx.c writel(secs + 1, ep93xx_rtc->mmio_base + EP93XX_RTC_LOAD); secs 148 drivers/rtc/rtc-jz4740.c uint32_t secs, secs2; secs 158 drivers/rtc/rtc-jz4740.c secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC); secs 161 drivers/rtc/rtc-jz4740.c while (secs != secs2 && --timeout) { secs 162 drivers/rtc/rtc-jz4740.c secs = secs2; secs 169 drivers/rtc/rtc-jz4740.c rtc_time64_to_tm(secs, time); secs 189 drivers/rtc/rtc-jz4740.c uint32_t secs; secs 192 drivers/rtc/rtc-jz4740.c secs = jz4740_rtc_reg_read(rtc, JZ_REG_RTC_SEC_ALARM); secs 199 drivers/rtc/rtc-jz4740.c rtc_time64_to_tm(secs, &alrm->time); secs 208 drivers/rtc/rtc-jz4740.c uint32_t secs = lower_32_bits(rtc_tm_to_time64(&alrm->time)); secs 210 drivers/rtc/rtc-jz4740.c ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC_ALARM, secs); secs 69 drivers/rtc/rtc-lpc32xx.c u32 secs = rtc_tm_to_time64(time); secs 77 drivers/rtc/rtc-lpc32xx.c rtc_writel(rtc, LPC32XX_RTC_UCOUNT, secs); secs 78 drivers/rtc/rtc-lpc32xx.c rtc_writel(rtc, LPC32XX_RTC_DCOUNT, 0xFFFFFFFF - secs); secs 44 drivers/rtc/rtc-pcap.c unsigned long secs; secs 49 drivers/rtc/rtc-pcap.c secs = tod & PCAP_RTC_TOD_MASK; secs 52 drivers/rtc/rtc-pcap.c secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; secs 54 drivers/rtc/rtc-pcap.c rtc_time64_to_tm(secs, tm); secs 62 drivers/rtc/rtc-pcap.c unsigned long secs = rtc_tm_to_time64(&alrm->time); secs 65 drivers/rtc/rtc-pcap.c tod = secs % SEC_PER_DAY; secs 68 drivers/rtc/rtc-pcap.c days = secs / SEC_PER_DAY; secs 77 drivers/rtc/rtc-pcap.c unsigned long secs; secs 81 drivers/rtc/rtc-pcap.c secs = tod & PCAP_RTC_TOD_MASK; secs 84 drivers/rtc/rtc-pcap.c secs += (days & PCAP_RTC_DAY_MASK) * SEC_PER_DAY; secs 86 drivers/rtc/rtc-pcap.c rtc_time64_to_tm(secs, tm); secs 94 drivers/rtc/rtc-pcap.c unsigned long secs = rtc_tm_to_time64(tm); secs 97 drivers/rtc/rtc-pcap.c tod = secs % SEC_PER_DAY; secs 100 drivers/rtc/rtc-pcap.c days = secs / SEC_PER_DAY; secs 78 drivers/rtc/rtc-pm8xxx.c unsigned long secs, irq_flags; secs 87 drivers/rtc/rtc-pm8xxx.c rtc_tm_to_time(tm, &secs); secs 89 drivers/rtc/rtc-pm8xxx.c dev_dbg(dev, "Seconds value to be written to RTC = %lu\n", secs); secs 92 drivers/rtc/rtc-pm8xxx.c value[i] = secs & 0xFF; secs 93 drivers/rtc/rtc-pm8xxx.c secs >>= 8; secs 178 drivers/rtc/rtc-pm8xxx.c unsigned long secs; secs 208 drivers/rtc/rtc-pm8xxx.c secs = value[0] | (value[1] << 8) | (value[2] << 16) | secs 211 drivers/rtc/rtc-pm8xxx.c rtc_time_to_tm(secs, tm); secs 213 drivers/rtc/rtc-pm8xxx.c dev_dbg(dev, "secs = %lu, h:m:s == %ptRt, y-m-d = %ptRdr\n", secs, tm, tm); secs 223 drivers/rtc/rtc-pm8xxx.c unsigned long secs, irq_flags; secs 227 drivers/rtc/rtc-pm8xxx.c rtc_tm_to_time(&alarm->time, &secs); secs 230 drivers/rtc/rtc-pm8xxx.c value[i] = secs & 0xFF; secs 231 drivers/rtc/rtc-pm8xxx.c secs >>= 8; secs 269 drivers/rtc/rtc-pm8xxx.c unsigned long secs; secs 280 drivers/rtc/rtc-pm8xxx.c secs = value[0] | (value[1] << 8) | (value[2] << 16) | secs 283 drivers/rtc/rtc-pm8xxx.c rtc_time_to_tm(secs, &alarm->time); secs 167 drivers/rtc/rtc-sc27xx.c time64_t *secs) secs 219 drivers/rtc/rtc-sc27xx.c *secs = (((time64_t)(day * 24) + hour) * 60 + min) * 60 + sec; secs 224 drivers/rtc/rtc-sc27xx.c time64_t secs) secs 231 drivers/rtc/rtc-sc27xx.c day = div_s64_rem(secs, 86400, &rem); secs 305 drivers/rtc/rtc-sc27xx.c time64_t secs; secs 309 drivers/rtc/rtc-sc27xx.c ret = sprd_rtc_get_secs(rtc, SPRD_RTC_AUX_ALARM, &secs); secs 313 drivers/rtc/rtc-sc27xx.c rtc_time64_to_tm(secs, &alrm->time); secs 332 drivers/rtc/rtc-sc27xx.c time64_t secs = rtc_tm_to_time64(&alrm->time); secs 341 drivers/rtc/rtc-sc27xx.c ret = sprd_rtc_set_secs(rtc, SPRD_RTC_AUX_ALARM, secs); secs 362 drivers/rtc/rtc-sc27xx.c time64_t secs; secs 370 drivers/rtc/rtc-sc27xx.c ret = sprd_rtc_get_secs(rtc, SPRD_RTC_TIME, &secs); secs 374 drivers/rtc/rtc-sc27xx.c rtc_time64_to_tm(secs, tm); secs 381 drivers/rtc/rtc-sc27xx.c time64_t secs = rtc_tm_to_time64(tm); secs 384 drivers/rtc/rtc-sc27xx.c ret = sprd_rtc_set_secs(rtc, SPRD_RTC_TIME, secs); secs 413 drivers/rtc/rtc-sc27xx.c time64_t secs; secs 428 drivers/rtc/rtc-sc27xx.c ret = sprd_rtc_get_secs(rtc, SPRD_RTC_ALARM, &secs); secs 432 drivers/rtc/rtc-sc27xx.c rtc_time64_to_tm(secs, &alrm->time); secs 451 drivers/rtc/rtc-sc27xx.c time64_t secs = rtc_tm_to_time64(&alrm->time); secs 478 drivers/rtc/rtc-sc27xx.c ret = sprd_rtc_set_secs(rtc, SPRD_RTC_ALARM, secs); secs 106 drivers/rtc/rtc-st-lpc.c unsigned long long lpt, secs; secs 109 drivers/rtc/rtc-st-lpc.c secs = rtc_tm_to_time64(tm); secs 111 drivers/rtc/rtc-st-lpc.c lpt = (unsigned long long)secs * rtc->clkrate; secs 46 drivers/rtc/rtc-sun4v.c static int hypervisor_set_time(unsigned long secs) secs 52 drivers/rtc/rtc-sun4v.c ret = sun4v_tod_set(secs); secs 64 drivers/rtc/rtc-tx4939.c unsigned long secs = rtc_tm_to_time64(tm); secs 70 drivers/rtc/rtc-tx4939.c buf[2] = secs; secs 71 drivers/rtc/rtc-tx4939.c buf[3] = secs >> 8; secs 72 drivers/rtc/rtc-tx4939.c buf[4] = secs >> 16; secs 73 drivers/rtc/rtc-tx4939.c buf[5] = secs >> 24; secs 117 drivers/scsi/gdth.c static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs); secs 385 drivers/scsi/gdth.c static void gdth_eval_mapping(u32 size, u32 *cyls, int *heads, int *secs) secs 390 drivers/scsi/gdth.c *secs = SECS; secs 395 drivers/scsi/gdth.c *secs = MEDSECS; secs 399 drivers/scsi/gdth.c *secs = BIGSECS; secs 1495 drivers/scsi/gdth.c ha->hdr[hdrive].secs = (u8)drv_secs; secs 3378 drivers/scsi/gdth.c ip[1] = ha->hdr[t].secs; secs 3753 drivers/scsi/gdth.c int cyls, hds, secs; secs 3810 drivers/scsi/gdth.c gdth_eval_mapping(ha->hdr[i].size,&cyls,&hds,&secs); secs 3812 drivers/scsi/gdth.c ha->hdr[i].secs = secs; secs 3814 drivers/scsi/gdth.c ha->hdr[i].size = cyls * hds * secs; secs 851 drivers/scsi/gdth.h u8 secs; secs 26 drivers/scsi/scsicam.c unsigned int *secs); secs 127 drivers/scsi/scsicam.c unsigned int *cyls, unsigned int *hds, unsigned int *secs) secs 183 drivers/scsi/scsicam.c *secs = end_sector; secs 232 drivers/scsi/scsicam.c unsigned int *secs) secs 257 drivers/scsi/scsicam.c *secs = (unsigned int) sectors; secs 589 drivers/staging/gdm724x/gdm_lte.c u16 secs; /* elapsed since client began secs 74 drivers/watchdog/booke_wdt.c static unsigned int sec_to_period(unsigned int secs) secs 78 drivers/watchdog/booke_wdt.c if (period_to_sec(period) >= secs) secs 93 drivers/watchdog/booke_wdt.c static unsigned int sec_to_period(unsigned int secs) secs 95 drivers/watchdog/booke_wdt.c return secs; secs 35 drivers/watchdog/da9062_wdt.c static unsigned int da9062_wdt_timeout_to_sel(unsigned int secs) secs 40 drivers/watchdog/da9062_wdt.c if (wdt_timeout[i] >= secs) secs 36 drivers/watchdog/da9063_wdt.c static unsigned int da9063_wdt_timeout_to_sel(unsigned int secs) secs 41 drivers/watchdog/da9063_wdt.c if (wdt_timeout[i] >= secs) secs 26 drivers/watchdog/hpwdt.c #define SECS_TO_TICKS(secs) ((secs) * 1000 / 128) secs 141 drivers/watchdog/iTCO_wdt.c int secs) secs 143 drivers/watchdog/iTCO_wdt.c return p->iTCO_version == 3 ? secs : (secs * 10) / 6; secs 33 drivers/watchdog/omap_wdt.h #define GET_WLDR_VAL(secs) (0xffffffff - ((secs) * (32768/(1<<PTV))) + 1) secs 212 fs/adfs/inode.c adfs_unix2adfs_time(struct inode *inode, unsigned int secs) secs 218 fs/adfs/inode.c low = (secs & 255) * 100; secs 219 fs/adfs/inode.c high = (secs / 256) * 100 + (low >> 8) + 0x336e996a; secs 142 fs/affs/affs.h extern void affs_secs_to_datestamp(time64_t secs, struct affs_date *ds); secs 372 fs/affs/amigaffs.c affs_secs_to_datestamp(time64_t secs, struct affs_date *ds) secs 378 fs/affs/amigaffs.c secs -= sys_tz.tz_minuteswest * 60 + AFFS_EPOCH_DELTA; secs 379 fs/affs/amigaffs.c if (secs < 0) secs 380 fs/affs/amigaffs.c secs = 0; secs 381 fs/affs/amigaffs.c days = div_s64_rem(secs, 86400, &rem); secs 1426 fs/f2fs/gc.c static void update_sb_metadata(struct f2fs_sb_info *sbi, int secs) secs 1433 fs/f2fs/gc.c int segs = secs * sbi->segs_per_sec; secs 1435 fs/f2fs/gc.c raw_sb->section_count = cpu_to_le32(section_count + secs); secs 1442 fs/f2fs/gc.c static void update_fs_metadata(struct f2fs_sb_info *sbi, int secs) secs 1444 fs/f2fs/gc.c int segs = secs * sbi->segs_per_sec; secs 1450 fs/f2fs/gc.c FREE_I(sbi)->free_sections = (int)FREE_I(sbi)->free_sections + secs; secs 1459 fs/f2fs/gc.c unsigned int secs; secs 1489 fs/f2fs/gc.c secs = div_u64(shrunk_blocks, BLKS_PER_SEC(sbi)); secs 1508 fs/f2fs/gc.c MAIN_SECS(sbi) -= secs; secs 1527 fs/f2fs/gc.c update_sb_metadata(sbi, -secs); secs 1531 fs/f2fs/gc.c update_sb_metadata(sbi, secs); secs 1536 fs/f2fs/gc.c update_fs_metadata(sbi, -secs); secs 1544 fs/f2fs/gc.c update_fs_metadata(sbi, secs); secs 1546 fs/f2fs/gc.c update_sb_metadata(sbi, secs); secs 1554 fs/f2fs/gc.c MAIN_SECS(sbi) += secs; secs 399 fs/hpfs/anode.c void hpfs_truncate_btree(struct super_block *s, secno f, int fno, unsigned secs) secs 415 fs/hpfs/anode.c if (!secs) { secs 430 fs/hpfs/anode.c if (le32_to_cpu(btree->u.internal[i].file_secno) >= secs) goto f; secs 441 fs/hpfs/anode.c if (btree->u.internal[i].file_secno == cpu_to_le32(secs)) { secs 455 fs/hpfs/anode.c if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) >= secs) goto ff; secs 459 fs/hpfs/anode.c if (secs <= le32_to_cpu(btree->u.external[i].file_secno)) { secs 460 fs/hpfs/anode.c hpfs_error(s, "there is an allocation error in file %08x, sector %08x", f, secs); secs 463 fs/hpfs/anode.c else if (le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > secs) { secs 464 fs/hpfs/anode.c hpfs_free_sectors(s, le32_to_cpu(btree->u.external[i].disk_secno) + secs - secs 466 fs/hpfs/anode.c - secs + le32_to_cpu(btree->u.external[i].file_secno)); /* I hope gcc optimizes this :-) */ secs 467 fs/hpfs/anode.c btree->u.external[i].length = cpu_to_le32(secs - le32_to_cpu(btree->u.external[i].file_secno)); secs 37 include/linux/ktime.h static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) secs 39 include/linux/ktime.h if (unlikely(secs >= KTIME_SEC_MAX)) secs 42 include/linux/ktime.h return secs * NSEC_PER_SEC + (s64)nsecs; secs 18 include/scsi/scsicam.h unsigned int *cyls, unsigned int *hds, unsigned int *secs); secs 683 include/trace/events/rcu.h unsigned long secs, unsigned long c_old, unsigned long c), secs 685 include/trace/events/rcu.h TP_ARGS(rcutorturename, rhp, secs, c_old, c), secs 690 include/trace/events/rcu.h __field(unsigned long, secs) secs 700 include/trace/events/rcu.h __entry->secs = secs; secs 707 include/trace/events/rcu.h __entry->secs, __entry->c_old, __entry->c) secs 12 include/trace/events/rtc.h TP_PROTO(time64_t secs, int err), secs 14 include/trace/events/rtc.h TP_ARGS(secs, err), secs 17 include/trace/events/rtc.h __field(time64_t, secs) secs 22 include/trace/events/rtc.h __entry->secs = secs; secs 27 include/trace/events/rtc.h __entry->secs, __entry->err secs 33 include/trace/events/rtc.h TP_PROTO(time64_t secs, int err), secs 35 include/trace/events/rtc.h TP_ARGS(secs, err) secs 40 include/trace/events/rtc.h TP_PROTO(time64_t secs, int err), secs 42 include/trace/events/rtc.h TP_ARGS(secs, err) secs 47 include/trace/events/rtc.h TP_PROTO(time64_t secs, int err), secs 49 include/trace/events/rtc.h TP_ARGS(secs, err) secs 54 include/trace/events/rtc.h TP_PROTO(time64_t secs, int err), secs 56 include/trace/events/rtc.h TP_ARGS(secs, err) secs 41 include/xen/interface/platform.h uint32_t secs; secs 49 include/xen/interface/platform.h uint64_t secs; secs 3166 kernel/bpf/btf.c struct btf_sec_info secs[ARRAY_SIZE(btf_sec_info_offset)]; secs 3176 kernel/bpf/btf.c secs[i] = *(struct btf_sec_info *)((void *)hdr + secs 3179 kernel/bpf/btf.c sort(secs, ARRAY_SIZE(btf_sec_info_offset), secs 3186 kernel/bpf/btf.c if (expected_total < secs[i].off) { secs 3190 kernel/bpf/btf.c if (total < secs[i].off) { secs 3195 kernel/bpf/btf.c if (total > secs[i].off) { secs 3199 kernel/bpf/btf.c if (expected_total - total < secs[i].len) { secs 3204 kernel/bpf/btf.c total += secs[i].len; secs 461 kernel/rcu/rcu.h unsigned long secs, secs 475 kernel/rcu/rcu.h unsigned long secs, secs 479 kernel/rcu/rcu.h #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ secs 440 kernel/rcu/update.c unsigned long secs, secs 443 kernel/rcu/update.c trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c); secs 447 kernel/rcu/update.c #define do_trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ secs 281 kernel/time/ntp.c static inline s64 ntp_update_offset_fll(s64 offset64, long secs) secs 285 kernel/time/ntp.c if (secs < MINSEC) secs 288 kernel/time/ntp.c if (!(time_status & STA_FLL) && (secs <= MAXSEC)) secs 293 kernel/time/ntp.c return div64_long(offset64 << (NTP_SCALE_SHIFT - SHIFT_FLL), secs); secs 300 kernel/time/ntp.c long secs; secs 321 kernel/time/ntp.c secs = (long)(__ktime_get_real_seconds() - time_reftime); secs 323 kernel/time/ntp.c secs = 0; secs 328 kernel/time/ntp.c freq_adj = ntp_update_offset_fll(offset64, secs); secs 335 kernel/time/ntp.c if (unlikely(secs > 1 << (SHIFT_PLL + 1 + time_constant))) secs 336 kernel/time/ntp.c secs = 1 << (SHIFT_PLL + 1 + time_constant); secs 338 kernel/time/ntp.c freq_adj += (offset64 * secs) << secs 400 kernel/time/ntp.c int second_overflow(time64_t secs) secs 415 kernel/time/ntp.c div_s64_rem(secs, SECS_PER_DAY, &rem); secs 416 kernel/time/ntp.c ntp_next_leap_sec = secs + SECS_PER_DAY - rem; secs 419 kernel/time/ntp.c div_s64_rem(secs + 1, SECS_PER_DAY, &rem); secs 420 kernel/time/ntp.c ntp_next_leap_sec = secs + SECS_PER_DAY - rem; secs 427 kernel/time/ntp.c } else if (secs == ntp_next_leap_sec) { secs 438 kernel/time/ntp.c } else if (secs == ntp_next_leap_sec) { secs 10 kernel/time/ntp_internal.h extern int second_overflow(time64_t secs); secs 1286 kernel/trace/blktrace.c unsigned secs = (unsigned long)ts; secs 1294 kernel/trace/blktrace.c secs, nsec_rem, iter->ent->pid, act, rwbs); secs 175 kernel/trace/trace_mmiotrace.c unsigned secs = (unsigned long)t; secs 184 kernel/trace/trace_mmiotrace.c rw->width, secs, usec_rem, rw->map_id, secs 191 kernel/trace/trace_mmiotrace.c rw->width, secs, usec_rem, rw->map_id, secs 199 kernel/trace/trace_mmiotrace.c secs, usec_rem, rw->map_id, secs 220 kernel/trace/trace_mmiotrace.c unsigned secs = (unsigned long)t; secs 229 kernel/trace/trace_mmiotrace.c secs, usec_rem, m->map_id, secs 236 kernel/trace/trace_mmiotrace.c secs, usec_rem, m->map_id, 0UL, 0); secs 254 kernel/trace/trace_mmiotrace.c unsigned secs = (unsigned long)t; secs 257 kernel/trace/trace_mmiotrace.c trace_seq_printf(s, "MARK %u.%06lu %s", secs, usec_rem, msg); secs 571 kernel/trace/trace_output.c unsigned long secs, usec_rem; secs 595 kernel/trace/trace_output.c secs = (unsigned long)t; secs 596 kernel/trace/trace_output.c trace_seq_printf(s, " %5lu.%06lu: ", secs, usec_rem); secs 1807 mm/kmemleak.c unsigned long secs; secs 1809 mm/kmemleak.c ret = kstrtoul(buf + 5, 0, &secs); secs 1813 mm/kmemleak.c if (secs) { secs 1814 mm/kmemleak.c jiffies_scan_wait = msecs_to_jiffies(secs * 1000); secs 2276 net/batman-adv/bridge_loop_avoidance.c int secs, msecs; secs 2299 net/batman-adv/bridge_loop_avoidance.c secs = msecs / 1000; secs 2313 net/batman-adv/bridge_loop_avoidance.c batadv_print_vid(backbone_gw->vid), secs, secs 81 net/batman-adv/distributed-arp-table.c __be16 secs; secs 1550 net/ipv4/af_inet.c u32 secs; secs 1557 net/ipv4/af_inet.c (void)div_u64_rem(ts.tv_sec, SECONDS_PER_DAY, &secs); secs 1559 net/ipv4/af_inet.c msecs = secs * MSEC_PER_SEC; secs 611 net/ipv4/ipconfig.c __be16 secs; /* Seconds since we started */ secs 846 net/ipv4/ipconfig.c b->secs = htons(jiffies_diff / HZ); secs 108 net/netfilter/nft_limit.c u64 secs = div_u64(limit->nsecs, NSEC_PER_SEC); secs 112 net/netfilter/nft_limit.c nla_put_be64(skb, NFTA_LIMIT_UNIT, cpu_to_be64(secs), secs 36 net/netfilter/nft_meta.c static u8 nft_meta_weekday(time64_t secs) secs 41 net/netfilter/nft_meta.c secs -= NFT_META_SECS_PER_MINUTE * sys_tz.tz_minuteswest; secs 42 net/netfilter/nft_meta.c dse = div_u64(secs, NFT_META_SECS_PER_DAY); secs 48 net/netfilter/nft_meta.c static u32 nft_meta_hour(time64_t secs) secs 52 net/netfilter/nft_meta.c time64_to_tm(secs, 0, &tm); secs 302 net/xfrm/xfrm_policy.c static inline unsigned long make_jiffies(long secs) secs 304 net/xfrm/xfrm_policy.c if (secs >= (MAX_SCHEDULE_TIMEOUT-1)/HZ) secs 307 net/xfrm/xfrm_policy.c return secs*HZ; secs 138 samples/bpf/sampleip_user.c int *pmu_fd, opt, freq = DEFAULT_FREQ, secs = DEFAULT_SECS; secs 153 samples/bpf/sampleip_user.c secs = atoi(argv[optind]); secs 154 samples/bpf/sampleip_user.c if (freq == 0 || secs == 0) { secs 189 samples/bpf/sampleip_user.c freq, secs); secs 192 samples/bpf/sampleip_user.c sleep(secs); secs 1106 tools/perf/bench/numa.c u64 bytes_done, secs; secs 1262 tools/perf/bench/numa.c secs = td->runtime_ns / NSEC_PER_SEC; secs 1263 tools/perf/bench/numa.c td->speed_gbs = secs ? bytes_done / secs / 1e9 : 0; secs 630 tools/perf/builtin-script.c unsigned long secs; secs 709 tools/perf/builtin-script.c secs = nsecs / NSEC_PER_SEC; secs 710 tools/perf/builtin-script.c nsecs -= secs * NSEC_PER_SEC; secs 713 tools/perf/builtin-script.c printed += fprintf(fp, "%5lu.%09llu: ", secs, nsecs); secs 1183 tools/perf/util/auxtrace.c unsigned long secs = nsecs / NSEC_PER_SEC; secs 1185 tools/perf/util/auxtrace.c nsecs -= secs * NSEC_PER_SEC; secs 1186 tools/perf/util/auxtrace.c ret += fprintf(fp, " time %lu.%09llu", secs, nsecs); secs 61 tools/perf/util/debug.c u64 secs, usecs, nsecs = t; secs 63 tools/perf/util/debug.c secs = nsecs / NSEC_PER_SEC; secs 64 tools/perf/util/debug.c nsecs -= secs * NSEC_PER_SEC; secs 68 tools/perf/util/debug.c secs, usecs); secs 290 tools/testing/selftests/futex/functional/futex_requeue_pi.c time_t secs; secs 294 tools/testing/selftests/futex/functional/futex_requeue_pi.c secs = (ts.tv_nsec + timeout_ns) / 1000000000; secs 296 tools/testing/selftests/futex/functional/futex_requeue_pi.c ts.tv_sec += secs; secs 33 tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/misc.h #define trace_rcu_torture_read(rcutorturename, rhp, secs, c_old, c) \ secs 117 tools/testing/selftests/rtc/rtctest.c time_t secs, new; secs 123 tools/testing/selftests/rtc/rtctest.c secs = timegm((struct tm *)&tm) + ALARM_DELTA; secs 124 tools/testing/selftests/rtc/rtctest.c gmtime_r(&secs, (struct tm *)&tm); secs 162 tools/testing/selftests/rtc/rtctest.c ASSERT_EQ(new, secs); secs 171 tools/testing/selftests/rtc/rtctest.c time_t secs, new; secs 177 tools/testing/selftests/rtc/rtctest.c secs = timegm((struct tm *)&alarm.time) + ALARM_DELTA; secs 178 tools/testing/selftests/rtc/rtctest.c gmtime_r(&secs, (struct tm *)&alarm.time); secs 211 tools/testing/selftests/rtc/rtctest.c ASSERT_EQ(new, secs); secs 219 tools/testing/selftests/rtc/rtctest.c time_t secs, new; secs 225 tools/testing/selftests/rtc/rtctest.c secs = timegm((struct tm *)&tm) + 60 - tm.tm_sec; secs 226 tools/testing/selftests/rtc/rtctest.c gmtime_r(&secs, (struct tm *)&tm); secs 264 tools/testing/selftests/rtc/rtctest.c ASSERT_EQ(new, secs); secs 273 tools/testing/selftests/rtc/rtctest.c time_t secs, new; secs 279 tools/testing/selftests/rtc/rtctest.c secs = timegm((struct tm *)&alarm.time) + 60 - alarm.time.tm_sec; secs 280 tools/testing/selftests/rtc/rtctest.c gmtime_r(&secs, (struct tm *)&alarm.time); secs 313 tools/testing/selftests/rtc/rtctest.c ASSERT_EQ(new, secs); secs 106 tools/testing/selftests/timers/clocksource-switch.c int run_tests(int secs) secs 111 tools/testing/selftests/timers/clocksource-switch.c sprintf(buf, "./inconsistency-check -t %i", secs);