Searched refs:tm (Results 1 – 7 of 7) sorted by relevance
/net/ipv4/ |
D | tcp_metrics.c | 57 static inline struct net *tm_net(struct tcp_metrics_block *tm) in tm_net() argument 59 return read_pnet(&tm->tcpm_net); in tm_net() 62 static bool tcp_metric_locked(struct tcp_metrics_block *tm, in tcp_metric_locked() argument 65 return tm->tcpm_lock & (1 << idx); in tcp_metric_locked() 68 static u32 tcp_metric_get(struct tcp_metrics_block *tm, in tcp_metric_get() argument 71 return tm->tcpm_vals[idx]; in tcp_metric_get() 74 static void tcp_metric_set(struct tcp_metrics_block *tm, in tcp_metric_set() argument 78 tm->tcpm_vals[idx] = val; in tcp_metric_set() 96 static void tcpm_suck_dst(struct tcp_metrics_block *tm, in tcpm_suck_dst() argument 103 tm->tcpm_stamp = jiffies; in tcpm_suck_dst() [all …]
|
/net/sched/ |
D | em_text.c | 35 struct text_match *tm = EM_TEXT_PRIV(m); in em_text_match() local 38 from = tcf_get_base_ptr(skb, tm->from_layer) - skb->data; in em_text_match() 39 from += tm->from_offset; in em_text_match() 41 to = tcf_get_base_ptr(skb, tm->to_layer) - skb->data; in em_text_match() 42 to += tm->to_offset; in em_text_match() 44 return skb_find_text(skb, from, to, tm->config) != UINT_MAX; in em_text_match() 50 struct text_match *tm; in em_text_change() local 84 tm = kmalloc(sizeof(*tm), GFP_KERNEL); in em_text_change() 85 if (tm == NULL) { in em_text_change() 90 tm->from_offset = conf->from_offset; in em_text_change() [all …]
|
D | act_ipt.c | 229 struct tcf_t tm; in tcf_ipt_dump() local 251 tm.install = jiffies_to_clock_t(jiffies - ipt->tcf_tm.install); in tcf_ipt_dump() 252 tm.lastuse = jiffies_to_clock_t(jiffies - ipt->tcf_tm.lastuse); in tcf_ipt_dump() 253 tm.expires = jiffies_to_clock_t(ipt->tcf_tm.expires); in tcf_ipt_dump() 254 if (nla_put(skb, TCA_IPT_TM, sizeof (tm), &tm)) in tcf_ipt_dump()
|
D | act_bpf.c | 140 struct tcf_t tm; in tcf_bpf_dump() local 153 tm.install = jiffies_to_clock_t(jiffies - prog->tcf_tm.install); in tcf_bpf_dump() 154 tm.lastuse = jiffies_to_clock_t(jiffies - prog->tcf_tm.lastuse); in tcf_bpf_dump() 155 tm.expires = jiffies_to_clock_t(prog->tcf_tm.expires); in tcf_bpf_dump() 157 if (nla_put(skb, TCA_ACT_BPF_TM, sizeof(tm), &tm)) in tcf_bpf_dump()
|
D | cls_bpf.c | 464 struct sk_buff *skb, struct tcmsg *tm) in cls_bpf_dump() argument 474 tm->tcm_handle = prog->handle; in cls_bpf_dump()
|
/net/irda/ |
D | Kconfig | 11 The Infrared Data Associations (tm) specifies standards for wireless 14 To use Linux support for the IrDA (tm) protocols, you will also need
|
/net/core/ |
D | sock.c | 1038 struct timeval tm; in sock_getsockopt() member 1140 v.tm.tv_sec = 0; in sock_getsockopt() 1141 v.tm.tv_usec = 0; in sock_getsockopt() 1143 v.tm.tv_sec = sk->sk_rcvtimeo / HZ; in sock_getsockopt() 1144 v.tm.tv_usec = ((sk->sk_rcvtimeo % HZ) * 1000000) / HZ; in sock_getsockopt() 1151 v.tm.tv_sec = 0; in sock_getsockopt() 1152 v.tm.tv_usec = 0; in sock_getsockopt() 1154 v.tm.tv_sec = sk->sk_sndtimeo / HZ; in sock_getsockopt() 1155 v.tm.tv_usec = ((sk->sk_sndtimeo % HZ) * 1000000) / HZ; in sock_getsockopt()
|