/net/ipv4/ |
D | tcp_metrics.c | 54 static inline struct net *tm_net(const struct tcp_metrics_block *tm) in tm_net() argument 57 return READ_ONCE(tm->tcpm_net); in tm_net() 60 static bool tcp_metric_locked(struct tcp_metrics_block *tm, in tcp_metric_locked() argument 64 return READ_ONCE(tm->tcpm_lock) & (1 << idx); in tcp_metric_locked() 67 static u32 tcp_metric_get(const struct tcp_metrics_block *tm, in tcp_metric_get() argument 71 return READ_ONCE(tm->tcpm_vals[idx]); in tcp_metric_get() 74 static void tcp_metric_set(struct tcp_metrics_block *tm, in tcp_metric_set() argument 79 WRITE_ONCE(tm->tcpm_vals[idx], val); in tcp_metric_set() 98 static void tcpm_suck_dst(struct tcp_metrics_block *tm, in tcpm_suck_dst() argument 105 WRITE_ONCE(tm->tcpm_stamp, jiffies); in tcpm_suck_dst() [all …]
|
/net/sched/ |
D | em_text.c | 31 struct text_match *tm = EM_TEXT_PRIV(m); in em_text_match() local 34 from = tcf_get_base_ptr(skb, tm->from_layer) - skb->data; in em_text_match() 35 from += tm->from_offset; in em_text_match() 37 to = tcf_get_base_ptr(skb, tm->to_layer) - skb->data; in em_text_match() 38 to += tm->to_offset; in em_text_match() 40 return skb_find_text(skb, from, to, tm->config) != UINT_MAX; in em_text_match() 46 struct text_match *tm; in em_text_change() local 80 tm = kmalloc(sizeof(*tm), GFP_KERNEL); in em_text_change() 81 if (tm == NULL) { in em_text_change() 86 tm->from_offset = conf->from_offset; in em_text_change() [all …]
|
D | act_bpf.c | 146 struct tcf_t tm; in tcf_bpf_dump() local 161 tcf_tm_dump(&tm, &prog->tcf_tm); in tcf_bpf_dump() 162 if (nla_put_64bit(skb, TCA_ACT_BPF_TM, sizeof(tm), &tm, in tcf_bpf_dump()
|
D | act_ipt.c | 323 struct tcf_t tm; in tcf_ipt_dump() local 347 tcf_tm_dump(&tm, &ipt->tcf_tm); in tcf_ipt_dump() 348 if (nla_put_64bit(skb, TCA_IPT_TM, sizeof(tm), &tm, TCA_IPT_PAD)) in tcf_ipt_dump()
|
D | act_gact.c | 176 struct tcf_t *tm = &gact->tcf_tm; in tcf_gact_stats_update() local 180 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_gact_stats_update()
|
D | act_sample.c | 204 struct tcf_t *tm = &s->tcf_tm; in tcf_sample_stats_update() local 207 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_sample_stats_update()
|
D | act_vlan.c | 339 struct tcf_t *tm = &v->tcf_tm; in tcf_vlan_stats_update() local 342 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_vlan_stats_update()
|
D | act_skbedit.c | 98 struct tcf_t *tm = &d->tcf_tm; in tcf_skbedit_stats_update() local 101 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_skbedit_stats_update()
|
D | act_mirred.c | 339 struct tcf_t *tm = &m->tcf_tm; in tcf_stats_update() local 342 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_stats_update()
|
D | act_tunnel_key.c | 722 struct tcf_t tm; in tunnel_key_dump() local 758 tcf_tm_dump(&tm, &t->tcf_tm); in tunnel_key_dump() 759 if (nla_put_64bit(skb, TCA_TUNNEL_KEY_TM, sizeof(tm), in tunnel_key_dump() 760 &tm, TCA_TUNNEL_KEY_PAD)) in tunnel_key_dump()
|
D | act_pedit.c | 483 struct tcf_t *tm = &d->tcf_tm; in tcf_pedit_stats_update() local 486 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_pedit_stats_update()
|
D | act_police.c | 331 struct tcf_t *tm = &police->tcf_tm; in tcf_police_stats_update() local 334 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_police_stats_update()
|
D | act_gate.c | 571 struct tcf_t *tm = &gact->tcf_tm; in tcf_gate_stats_update() local 574 tm->lastuse = max_t(u64, tm->lastuse, lastuse); in tcf_gate_stats_update()
|
D | cls_bpf.c | 576 struct sk_buff *skb, struct tcmsg *tm, bool rtnl_held) in cls_bpf_dump() argument 586 tm->tcm_handle = prog->handle; in cls_bpf_dump()
|
/net/netfilter/ |
D | nft_meta.c | 51 struct tm tm; in nft_meta_hour() local 53 time64_to_tm(secs, 0, &tm); in nft_meta_hour() 55 return tm.tm_hour * NFT_META_SECS_PER_HOUR in nft_meta_hour() 56 + tm.tm_min * NFT_META_SECS_PER_MINUTE in nft_meta_hour() 57 + tm.tm_sec; in nft_meta_hour()
|
/net/vmw_vsock/ |
D | af_vsock.c | 1694 struct __kernel_old_timeval tm; in vsock_connectible_getsockopt() member
|
/net/core/ |
D | sock.c | 1603 struct __kernel_old_timeval tm; in sk_getsockopt() member
|