Home
last modified time | relevance | path

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

/net/netfilter/
Dnft_meta.c38 time64_t secs = ktime_get_real_seconds(); in nft_meta_weekday() local
42 secs -= NFT_META_SECS_PER_MINUTE * sys_tz.tz_minuteswest; in nft_meta_weekday()
43 dse = div_u64(secs, NFT_META_SECS_PER_DAY); in nft_meta_weekday()
49 static u32 nft_meta_hour(time64_t secs) in nft_meta_hour() argument
53 time64_to_tm(secs, 0, &tm); in nft_meta_hour()
Dnft_limit.c108 u64 secs = div_u64(limit->nsecs, NSEC_PER_SEC); in nft_limit_dump() local
112 nla_put_be64(skb, NFTA_LIMIT_UNIT, cpu_to_be64(secs), in nft_limit_dump()
/net/ipv4/
Daf_inet.c1585 u32 secs; in inet_current_timestamp() local
1592 (void)div_u64_rem(ts.tv_sec, SECONDS_PER_DAY, &secs); in inet_current_timestamp()
1594 msecs = secs * MSEC_PER_SEC; in inet_current_timestamp()
Dipconfig.c611 __be16 secs; /* Seconds since we started */ member
846 b->secs = htons(jiffies_diff / HZ); in ic_bootp_send_if()
/net/batman-adv/
Dbridge_loop_avoidance.c2378 int secs, msecs; in batadv_bla_backbone_table_seq_print_text() local
2401 secs = msecs / 1000; in batadv_bla_backbone_table_seq_print_text()
2415 batadv_print_vid(backbone_gw->vid), secs, in batadv_bla_backbone_table_seq_print_text()
Ddistributed-arp-table.c81 __be16 secs; member
/net/core/
Dsock.c741 void sock_set_sndtimeo(struct sock *sk, s64 secs) in sock_set_sndtimeo() argument
744 if (secs && secs < MAX_SCHEDULE_TIMEOUT / HZ - 1) in sock_set_sndtimeo()
745 sk->sk_sndtimeo = secs * HZ; in sock_set_sndtimeo()
/net/xfrm/
Dxfrm_policy.c311 static inline unsigned long make_jiffies(long secs) in make_jiffies() argument
313 if (secs >= (MAX_SCHEDULE_TIMEOUT-1)/HZ) in make_jiffies()
316 return secs*HZ; in make_jiffies()