Searched refs:secs (Results 1 – 8 of 8) sorted by relevance
/net/netfilter/ |
D | nft_meta.c | 38 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()
|
D | nft_limit.c | 108 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/ |
D | af_inet.c | 1585 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()
|
D | ipconfig.c | 611 __be16 secs; /* Seconds since we started */ member 846 b->secs = htons(jiffies_diff / HZ); in ic_bootp_send_if()
|
/net/batman-adv/ |
D | bridge_loop_avoidance.c | 2378 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()
|
D | distributed-arp-table.c | 81 __be16 secs; member
|
/net/core/ |
D | sock.c | 741 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/ |
D | xfrm_policy.c | 311 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()
|