Searched refs:secs (Results 76 - 100 of 110) sorted by relevance

12345

/linux-master/drivers/rtc/
H A Drtc-ab-b5ze-s3.c273 static inline void sec_to_timer_a(u8 secs, u8 *taq, u8 *timer_a) argument
276 *timer_a = secs;
283 static inline int sec_from_timer_a(u8 *secs, u8 taq, u8 timer_a) argument
288 *secs = timer_a;
506 u8 secs)
514 sec_to_timer_a(secs, &regs[0], &regs[1]);
505 _abb5zes3_rtc_set_timer(struct device *dev, struct rtc_wkalrm *alarm, u8 secs) argument
/linux-master/net/netfilter/
H A Dnft_meta.c38 time64_t secs = ktime_get_real_seconds(); local
42 secs -= NFT_META_SECS_PER_MINUTE * sys_tz.tz_minuteswest;
43 dse = div_u64(secs, NFT_META_SECS_PER_DAY);
49 static u32 nft_meta_hour(time64_t secs) argument
53 time64_to_tm(secs, 0, &tm);
H A Dnft_limit.c130 u64 secs = div_u64(priv->nsecs, NSEC_PER_SEC); local
134 nla_put_be64(skb, NFTA_LIMIT_UNIT, cpu_to_be64(secs),
/linux-master/drivers/watchdog/
H A DiTCO_wdt.c139 int secs)
141 return p->iTCO_version == 3 ? secs : (secs * 10) / 6;
138 seconds_to_ticks(struct iTCO_wdt_private *p, int secs) argument
/linux-master/arch/x86/xen/
H A Dtime.c123 op.u.settime64.secs = now.tv_sec;
128 op.u.settime32.secs = now.tv_sec;
/linux-master/block/partitions/
H A Daix.c23 __be32 secs; member in struct:vgda
/linux-master/fs/affs/
H A Daffs.h143 extern void affs_secs_to_datestamp(time64_t secs, struct affs_date *ds);
/linux-master/tools/perf/
H A Dbuiltin-daemon.c444 int secs)
464 if (start + secs < time(NULL))
483 static int daemon__wait(struct daemon *daemon, int secs) argument
503 if (start + secs < time(NULL))
443 daemon_session__wait(struct daemon_session *session, struct daemon *daemon, int secs) argument
H A Dbuiltin-inject.c126 struct perf_file_section secs[HEADER_FEAT_BITS]; member in struct:perf_inject
1833 inject->secs[feat] = *section;
1901 u64 offs = inject->secs[feat].offset;
1902 size_t sz = inject->secs[feat].size;
1930 if (!inject->secs[feat].offset ||
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_stats.c608 ulong now = jiffies, secs; local
614 secs = jiffies_to_msecs(now - dev->last_stats_time) / 1000U;
615 if (secs) {
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c473 u32 secs, nsecs; local
477 secs = le32_to_cpu(buf[1]);
479 timestamp = ktime_set(secs, nsecs);
/linux-master/kernel/trace/
H A Dtrace_output.c596 unsigned long secs, usec_rem; local
602 secs = (unsigned long)t;
603 trace_seq_printf(s, " %5lu.%06lu", secs, usec_rem);
/linux-master/drivers/net/dsa/microchip/
H A Dksz9477.c1101 u32 secs = msecs / 1000; local
1106 value = FIELD_GET(SW_AGE_PERIOD_7_0_M, secs);
1112 data = FIELD_GET(SW_AGE_PERIOD_10_8_M, secs);
/linux-master/mm/
H A Dkmemleak.c2030 unsigned secs; local
2033 ret = kstrtouint(buf + 5, 0, &secs);
2037 msecs = secs * MSEC_PER_SEC;
/linux-master/drivers/net/phy/mscc/
H A Dmscc_ptp.h458 u64 secs:48; member in struct:vsc85xx_ts_fifo
/linux-master/tools/perf/bench/
H A Dnuma.c179 OPT_UINTEGER('s', "nr_secs" , &p0.nr_secs, "max number of seconds to run (default: 5 secs)"),
192 OPT_INTEGER('x', "perturb_secs", &p0.perturb_secs, "perturb thread 0/0 every X secs, to test convergence stability"),
1169 u64 bytes_done, secs; local
1329 secs = td->runtime_ns / NSEC_PER_SEC;
1330 td->speed_gbs = secs ? bytes_done / secs / 1e9 : 0;
1687 "secs,", "NUMA-convergence-latency", "secs latency to NUMA-converge");
1691 "secs,", "runtime-max/thread", "secs slowes
[all...]
/linux-master/arch/arm/xen/
H A Denlighten.c122 op.u.settime64.secs = now.tv_sec;
/linux-master/drivers/net/dsa/
H A Dmt7530.c825 unsigned int secs = msecs / 1000; local
832 if (secs < 1 || secs > (AGE_CNT_MAX + 1) * (AGE_UNIT_MAX + 1))
837 unsigned int tmp_age_unit = secs / (tmp_age_count + 1) - 1;
840 unsigned int tmp_error = secs -
/linux-master/net/ipv4/
H A Daf_inet.c1573 u32 secs; local
1579 /* Get secs since midnight. */
1580 (void)div_u64_rem(ts.tv_sec, SECONDS_PER_DAY, &secs);
1582 msecs = secs * MSEC_PER_SEC;
H A Dipconfig.c635 __be16 secs; /* Seconds since we started */ member in struct:bootp_pkt
873 b->secs = htons(jiffies_diff / HZ);
/linux-master/drivers/md/
H A Dmd-bitmap.c1739 sector_t secs; local
1742 bmc = md_bitmap_get_counter(&bitmap->counts, offset, &secs, 1);
2481 unsigned long secs = mddev->bitmap_info.daemon_sleep / HZ; local
2484 len = sprintf(page, "%lu", secs);
/linux-master/drivers/net/dsa/qca/
H A Dqca8k-common.c719 unsigned int secs = msecs / 1000; local
723 val = secs / 7;
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dcxgb2.c60 static inline void schedule_mac_stats_update(struct adapter *ap, int secs) argument
62 schedule_delayed_work(&ap->stats_update_task, secs * HZ);
/linux-master/tools/perf/util/
H A Dauxtrace.c1705 unsigned long secs = nsecs / NSEC_PER_SEC; local
1707 nsecs -= secs * NSEC_PER_SEC;
1708 ret += fprintf(fp, " time %lu.%09llu", secs, nsecs);
/linux-master/kernel/bpf/
H A Dbtf.c5278 struct btf_sec_info secs[ARRAY_SIZE(btf_sec_info_offset)]; local
5286 /* Populate the secs from hdr */
5288 secs[i] = *(struct btf_sec_info *)((void *)hdr +
5291 sort(secs, ARRAY_SIZE(btf_sec_info_offset),
5298 if (expected_total < secs[i].off) {
5302 if (total < secs[i].off) {
5307 if (total > secs[i].off) {
5311 if (expected_total - total < secs[i].len) {
5316 total += secs[i].len;

Completed in 307 milliseconds

12345