/linux-master/drivers/rtc/ |
H A D | rtc-ab-b5ze-s3.c | 273 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, ®s[0], ®s[1]); 505 _abb5zes3_rtc_set_timer(struct device *dev, struct rtc_wkalrm *alarm, u8 secs) argument
|
/linux-master/net/netfilter/ |
H A D | nft_meta.c | 38 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 D | nft_limit.c | 130 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 D | iTCO_wdt.c | 139 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 D | time.c | 123 op.u.settime64.secs = now.tv_sec; 128 op.u.settime32.secs = now.tv_sec;
|
/linux-master/block/partitions/ |
H A D | aix.c | 23 __be32 secs; member in struct:vgda
|
/linux-master/tools/perf/ |
H A D | builtin-daemon.c | 444 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 D | builtin-inject.c | 126 struct perf_file_section secs[HEADER_FEAT_BITS]; member in struct:perf_inject 1829 inject->secs[feat] = *section; 1897 u64 offs = inject->secs[feat].offset; 1898 size_t sz = inject->secs[feat].size; 1926 if (!inject->secs[feat].offset ||
|
/linux-master/fs/affs/ |
H A D | affs.h | 143 extern void affs_secs_to_datestamp(time64_t secs, struct affs_date *ds);
|
/linux-master/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_stats.c | 608 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 D | igc_ptp.c | 472 u32 secs, nsecs; local 476 secs = le32_to_cpu(buf[1]); 478 timestamp = ktime_set(secs, nsecs);
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz9477.c | 1101 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 D | kmemleak.c | 2034 unsigned secs; local 2037 ret = kstrtouint(buf + 5, 0, &secs); 2041 msecs = secs * MSEC_PER_SEC;
|
/linux-master/kernel/trace/ |
H A D | trace_output.c | 596 unsigned long secs, usec_rem; local 602 secs = (unsigned long)t; 603 trace_seq_printf(s, " %5lu.%06lu", secs, usec_rem);
|
H A D | blktrace.c | 1250 unsigned secs = (unsigned long)ts; local 1258 secs, nsec_rem, iter->ent->pid, act, rwbs);
|
/linux-master/drivers/net/phy/mscc/ |
H A D | mscc_ptp.h | 458 u64 secs:48; member in struct:vsc85xx_ts_fifo
|
/linux-master/tools/perf/bench/ |
H A D | numa.c | 179 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 D | enlighten.c | 122 op.u.settime64.secs = now.tv_sec;
|
/linux-master/drivers/net/dsa/ |
H A D | mt7530.c | 838 unsigned int secs = msecs / 1000; local 845 if (secs < 1 || secs > (AGE_CNT_MAX + 1) * (AGE_UNIT_MAX + 1)) 850 unsigned int tmp_age_unit = secs / (tmp_age_count + 1) - 1; 853 unsigned int tmp_error = secs -
|
/linux-master/net/ipv4/ |
H A D | af_inet.c | 1613 u32 secs; local 1619 /* Get secs since midnight. */ 1620 (void)div_u64_rem(ts.tv_sec, SECONDS_PER_DAY, &secs); 1622 msecs = secs * MSEC_PER_SEC;
|
H A D | ipconfig.c | 635 __be16 secs; /* Seconds since we started */ member in struct:bootp_pkt 873 b->secs = htons(jiffies_diff / HZ);
|
/linux-master/drivers/md/ |
H A D | md-bitmap.c | 1739 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/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 60 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/drivers/net/dsa/qca/ |
H A D | qca8k-common.c | 719 unsigned int secs = msecs / 1000; local 723 val = secs / 7;
|
/linux-master/tools/perf/util/ |
H A D | auxtrace.c | 1698 unsigned long secs = nsecs / NSEC_PER_SEC; local 1700 nsecs -= secs * NSEC_PER_SEC; 1701 ret += fprintf(fp, " time %lu.%09llu", secs, nsecs);
|