| /net/9p/ |
| A D | trans_fd.c | 232 if (!ts) { in p9_fd_poll() 239 if (ts->rd != ts->wr) in p9_fd_poll() 261 if (!ts) in p9_fd_read() 428 if (!ts) in p9_fd_write() 434 ret = kernel_write(ts->wr, v, len, &ts->wr->f_pos); in p9_fd_write() 834 if (!ts) in p9_fd_open() 868 kfree(ts); in p9_fd_open() 946 if (!ts) in p9_fd_close() 953 if (ts->rd) in p9_fd_close() 955 if (ts->wr) in p9_fd_close() [all …]
|
| /net/netfilter/ |
| A D | nf_conntrack_amanda.c | 61 struct ts_config *ts; member 119 search[SEARCH_CONNECT].ts); in amanda_help() 125 search[SEARCH_NEWLINE].ts); in amanda_help() 131 off = skb_find_text(skb, start, stop, search[i].ts); in amanda_help() 208 textsearch_destroy(search[i].ts); in nf_conntrack_amanda_fini() 218 search[i].ts = textsearch_prepare(ts_algo, search[i].string, in nf_conntrack_amanda_init() 221 if (IS_ERR(search[i].ts)) { in nf_conntrack_amanda_init() 222 ret = PTR_ERR(search[i].ts); in nf_conntrack_amanda_init() 234 textsearch_destroy(search[i].ts); in nf_conntrack_amanda_init()
|
| A D | nf_conntrack_ecache.c | 313 u64 ts = 0; in nf_ct_ecache_tstamp_new() local 316 ts = ktime_get_real_ns(); in nf_ct_ecache_tstamp_new() 318 local64_set(&e->timestamp, ts); in nf_ct_ecache_tstamp_new()
|
| A D | nfnetlink_log.c | 603 struct nfulnl_msg_packet_timestamp ts; in __build_packet_message() local 604 ts.sec = cpu_to_be64(kts.tv_sec); in __build_packet_message() 605 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in __build_packet_message() 607 if (nla_put(inst->skb, NFULA_TIMESTAMP, sizeof(ts), &ts)) in __build_packet_message()
|
| A D | nfnetlink_queue.c | 770 struct nfqnl_msg_packet_timestamp ts; in nfqnl_build_packet_message() local 773 ts.sec = cpu_to_be64(kts.tv_sec); in nfqnl_build_packet_message() 774 ts.usec = cpu_to_be64(kts.tv_nsec / NSEC_PER_USEC); in nfqnl_build_packet_message() 776 if (nla_put(skb, NFQA_TIMESTAMP, sizeof(ts), &ts)) in nfqnl_build_packet_message()
|
| /net/ipv4/ |
| A D | ip_options.c | 59 ip_rt_get_source(iph + opt->ts + iph[opt->ts + 2] - 9, skb, rt); in ip_options_build() 64 memcpy(iph + opt->ts + iph[opt->ts + 2] - 5, &midtime, 4); in ip_options_build() 106 if (sopt->ts) { in __ip_options_echo() 107 optlen = sptr[sopt->ts+1]; in __ip_options_echo() 108 soffset = sptr[sopt->ts+2]; in __ip_options_echo() 110 memcpy(dptr, sptr+sopt->ts, optlen); in __ip_options_echo() 219 opt->ts = 0; in ip_options_fragment() 340 if (opt->ts) { in __ip_options_compile() 420 opt->ts = optptr - iph; in __ip_options_compile() 496 if (opt->ts) { in ip_options_undo() [all …]
|
| A D | syncookies.c | 64 u64 ts, ts_now = tcp_ns_to_ts(false, now); in cookie_init_timestamp() local 73 ts = (ts_now >> TSBITS) << TSBITS; in cookie_init_timestamp() 74 ts |= options; in cookie_init_timestamp() 75 if (ts > ts_now) in cookie_init_timestamp() 76 ts -= (1UL << TSBITS); in cookie_init_timestamp() 79 return ts * NSEC_PER_USEC; in cookie_init_timestamp() 80 return ts * NSEC_PER_MSEC; in cookie_init_timestamp()
|
| A D | tcp.c | 1804 tss->ts[0] = (struct timespec64) {0}; in tcp_update_recv_tstamps() 1809 tss->ts[2] = (struct timespec64) {0}; in tcp_update_recv_tstamps() 2305 if (tss->ts[0].tv_sec || tss->ts[0].tv_nsec) { in tcp_recv_timestamp() 2310 .tv_sec = tss->ts[0].tv_sec, in tcp_recv_timestamp() 2311 .tv_nsec = tss->ts[0].tv_nsec, in tcp_recv_timestamp() 2317 .tv_sec = tss->ts[0].tv_sec, in tcp_recv_timestamp() 2318 .tv_nsec = tss->ts[0].tv_nsec, in tcp_recv_timestamp() 2326 .tv_sec = tss->ts[0].tv_sec, in tcp_recv_timestamp() 2333 .tv_sec = tss->ts[0].tv_sec, in tcp_recv_timestamp() 2350 if (tss->ts[2].tv_sec || tss->ts[2].tv_nsec) { in tcp_recv_timestamp() [all …]
|
| A D | ip_tunnel_core.c | 657 struct lwtunnel_state **ts, in ip_tun_build_state() argument 725 *ts = new_state; in ip_tun_build_state() 951 struct lwtunnel_state **ts, in ip6_tun_build_state() argument 1012 *ts = new_state; in ip6_tun_build_state()
|
| A D | tcp_minisocks.c | 161 u64 ts = tcp_clock_ms(); in tcp_timewait_state_process() local 163 WRITE_ONCE(tw->tw_entry_stamp, ts); in tcp_timewait_state_process() 165 div_u64(ts, MSEC_PER_SEC)); in tcp_timewait_state_process()
|
| /net/core/ |
| A D | scm.c | 324 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping64() 325 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping64() 326 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping64() 338 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping() 339 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping() 340 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping()
|
| A D | sock.c | 3797 struct timespec64 ts; in sock_gettstamp() local 3800 ts = ktime_to_timespec64(sock_read_timestamp(sk)); in sock_gettstamp() 3801 if (ts.tv_sec == -1) in sock_gettstamp() 3803 if (ts.tv_sec == 0) { in sock_gettstamp() 3806 ts = ktime_to_timespec64(kt); in sock_gettstamp() 3810 ts.tv_nsec /= 1000; in sock_gettstamp() 3814 return put_old_timespec32(&ts, userstamp); in sock_gettstamp() 3820 .tv_sec = ts.tv_sec, in sock_gettstamp() 3821 .tv_usec = ts.tv_nsec, in sock_gettstamp() 3828 return put_timespec64(&ts, userstamp); in sock_gettstamp()
|
| /net/dsa/ |
| A D | tag_ksz.c | 230 struct timespec64 ts; in ksz_xmit_timestamp() local 232 ts = ns_to_timespec64(-correction >> 16); in ksz_xmit_timestamp() 233 tstamp_raw = ((ts.tv_sec & 3) << 30) | ts.tv_nsec; in ksz_xmit_timestamp()
|
| /net/packet/ |
| A D | af_packet.c | 475 struct timespec64 ts; in __packet_set_timestamp() local 491 h.h1->tp_sec = ts.tv_sec; in __packet_set_timestamp() 495 h.h2->tp_sec = ts.tv_sec; in __packet_set_timestamp() 496 h.h2->tp_nsec = ts.tv_nsec; in __packet_set_timestamp() 499 h.h3->tp_sec = ts.tv_sec; in __packet_set_timestamp() 864 struct timespec64 ts; in prb_close_block() local 865 ktime_get_real_ts64(&ts); in prb_close_block() 895 struct timespec64 ts; in prb_open_block() local 908 ktime_get_real_ts64(&ts); in prb_open_block() 2296 struct timespec64 ts; in tpacket_rcv() local [all …]
|
| /net/mpls/ |
| A D | mpls_iptunnel.c | 165 struct lwtunnel_state **ts, in mpls_build_state() argument 215 *ts = newts; in mpls_build_state() 221 *ts = NULL; in mpls_build_state()
|
| /net/ipv6/ |
| A D | ioam6.c | 700 struct timespec64 ts; in __ioam6_fill_trace_data() local 747 ts = ktime_to_timespec64(tstamp); in __ioam6_fill_trace_data() 749 *(__be32 *)data = cpu_to_be32((u32)ts.tv_sec); in __ioam6_fill_trace_data() 761 ts = ktime_to_timespec64(tstamp); in __ioam6_fill_trace_data() 764 *(__be32 *)data = cpu_to_be32((u32)(ts.tv_nsec / NSEC_PER_USEC)); in __ioam6_fill_trace_data()
|
| A D | rpl_iptunnel.c | 69 struct lwtunnel_state **ts, in rpl_build_state() argument 117 *ts = newts; in rpl_build_state()
|
| A D | ioam6_iptunnel.c | 109 struct lwtunnel_state **ts, in ioam6_build_state() argument 238 *ts = lwt; in ioam6_build_state()
|
| /net/sched/ |
| A D | sch_dualpi2.c | 123 u64 ts; /* Timestamp at enqueue */ member 144 return reference - dualpi2_skb_cb(skb)->ts; in dualpi2_sojourn_time() 151 return skb ? dualpi2_skb_cb(skb)->ts : 0; in head_enqueue_time() 407 cb->ts = ktime_get_ns(); in dualpi2_enqueue_skb() 424 q->l_head_ts = cb->ts; in dualpi2_enqueue_skb() 429 q->c_head_ts = cb->ts; in dualpi2_enqueue_skb()
|
| /net/wireless/ |
| A D | scan.c | 479 if (!time_after(expire_time, bss->ts)) in __cfg80211_bss_expire() 505 if (oldest && time_before(oldest->ts, bss->ts)) in cfg80211_bss_expire_oldest() 1383 bss->ts -= age_jiffies; in cfg80211_bss_age() 1947 known->ts = new->ts; in cfg80211_update_known_bss() 1967 bool signal_valid, unsigned long ts) in __cfg80211_bss_update() argument 1975 tmp->ts = ts; in __cfg80211_bss_update() 2070 bool signal_valid, unsigned long ts) in cfg80211_bss_update() argument 2271 unsigned long ts; in cfg80211_inform_single_bss_data() local 2321 ts = bss_from_pub(data->source_bss)->ts; in cfg80211_inform_single_bss_data() 2326 ts = jiffies; in cfg80211_inform_single_bss_data() [all …]
|
| A D | core.h | 190 unsigned long ts; member 550 bool signal_valid, unsigned long ts);
|
| /net/ipv6/ila/ |
| A D | ila_lwt.c | 137 struct lwtunnel_state **ts, in ila_build_state() argument 259 *ts = newts; in ila_build_state()
|
| /net/ |
| A D | socket.c | 866 struct timespec64 *ts) in skb_get_tx_timestamp() argument 873 ktime_to_timespec64_cond(skb->tstamp, ts)) in skb_get_tx_timestamp() 888 if (!ktime_to_timespec64_cond(hwtstamp, ts)) in skb_get_tx_timestamp() 934 struct __kernel_timespec ts; in __sock_recv_timestamp() local 936 skb_get_new_timestampns(skb, &ts); in __sock_recv_timestamp() 938 sizeof(ts), &ts); in __sock_recv_timestamp() 940 struct __kernel_old_timespec ts; in __sock_recv_timestamp() local 942 skb_get_timestampns(skb, &ts); in __sock_recv_timestamp() 944 sizeof(ts), &ts); in __sock_recv_timestamp() 955 ktime_to_timespec64_cond(skb->tstamp, tss.ts + 0)) in __sock_recv_timestamp() [all …]
|
| A D | compat.c | 252 struct __kernel_old_timespec *ts = data; in put_cmsg_compat() local 254 cts[i].tv_sec = ts[i].tv_sec; in put_cmsg_compat() 255 cts[i].tv_nsec = ts[i].tv_nsec; in put_cmsg_compat()
|
| /net/mac80211/ |
| A D | util.c | 3375 ts += 36; in ieee80211_calculate_rx_timestamp() 3392 ts += 36; in ieee80211_calculate_rx_timestamp() 3417 ts += 24; in ieee80211_calculate_rx_timestamp() 3419 ts += 32; in ieee80211_calculate_rx_timestamp() 3427 ts += n_ltf * 4; in ieee80211_calculate_rx_timestamp() 3444 ts += 36; in ieee80211_calculate_rx_timestamp() 3451 ts += 4 * n_ltf; in ieee80211_calculate_rx_timestamp() 3466 ts += 20; in ieee80211_calculate_rx_timestamp() 3469 ts += 96; in ieee80211_calculate_rx_timestamp() 3471 ts += 192; in ieee80211_calculate_rx_timestamp() [all …]
|