Home
last modified time | relevance | path

Searched refs:itn (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/net/ipv4/
Dip_tunnel.c83 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn, in ip_tunnel_lookup() argument
94 head = &itn->tunnels[hash]; in ip_tunnel_lookup()
127 head = &itn->tunnels[hash]; in ip_tunnel_lookup()
162 t = rcu_dereference(itn->collect_md_tun); in ip_tunnel_lookup()
166 ndev = READ_ONCE(itn->fb_tunnel_dev); in ip_tunnel_lookup()
174 static struct hlist_head *ip_bucket(struct ip_tunnel_net *itn, in ip_bucket() argument
190 return &itn->tunnels[h]; in ip_bucket()
193 static void ip_tunnel_add(struct ip_tunnel_net *itn, struct ip_tunnel *t) in ip_tunnel_add() argument
195 struct hlist_head *head = ip_bucket(itn, &t->parms); in ip_tunnel_add()
198 rcu_assign_pointer(itn->collect_md_tun, t); in ip_tunnel_add()
[all …]
Dip_vti.c53 struct ip_tunnel_net *itn = net_generic(net, vti_net_id); in vti_input() local
55 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, in vti_input()
324 struct ip_tunnel_net *itn = net_generic(net, vti_net_id); in vti4_err() local
326 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, in vti4_err()
501 struct ip_tunnel_net *itn; in vti_init_net() local
506 itn = net_generic(net, vti_net_id); in vti_init_net()
507 if (itn->fb_tunnel_dev) in vti_init_net()
508 vti_fb_tunnel_init(itn->fb_tunnel_dev); in vti_init_net()
Dip_gre.c137 struct ip_tunnel_net *itn; in ipgre_err() local
145 itn = net_generic(net, gre_tap_net_id); in ipgre_err()
148 itn = net_generic(net, erspan_net_id); in ipgre_err()
150 itn = net_generic(net, ipgre_net_id); in ipgre_err()
153 t = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, in ipgre_err()
266 struct ip_tunnel_net *itn; in erspan_rcv() local
273 itn = net_generic(net, erspan_net_id); in erspan_rcv()
277 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, in erspan_rcv()
283 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, in erspan_rcv()
350 struct ip_tunnel_net *itn, int hdr_len, bool raw_proto) in __ipgre_rcv() argument
[all …]
Dipip.c131 struct ip_tunnel_net *itn = net_generic(net, ipip_net_id); in ipip_err() local
138 t = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, in ipip_err()
215 struct ip_tunnel_net *itn = net_generic(net, ipip_net_id); in ipip_tunnel_rcv() local
221 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, in ipip_tunnel_rcv()
/kernel/linux/linux-5.10/fs/fuse/
Ddax.c43 struct interval_tree_node itn; member
101 return container_of(node, struct fuse_dax_mapping, itn); in node_to_dmap()
220 dmap->itn.start = dmap->itn.last = start_idx; in fuse_setup_one_mapping()
222 interval_tree_insert(&dmap->itn, &fi->dax->tree); in fuse_setup_one_mapping()
294 dmap->itn.start, dmap->itn.last, dmap->window_offset, in dmap_reinit_add_to_free_pool()
298 dmap->itn.start = dmap->itn.last = 0; in dmap_reinit_add_to_free_pool()
328 interval_tree_remove(&dmap->itn, &fi->dax->tree); in inode_reclaim_dmap_range()
401 offset = pos - (dmap->itn.start << FUSE_DAX_SHIFT); in fuse_fill_iomap()
875 loff_t start_pos = dmap->itn.start << FUSE_DAX_SHIFT; in dmap_writeback_invalidate()
910 interval_tree_remove(&dmap->itn, &fi->dax->tree); in reclaim_one_dmap_locked()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_fcpim.c3763 struct bfa_itn_s *itn; in bfa_itn_create() local
3765 itn = BFA_ITN_FROM_TAG(fcp, rport->rport_tag); in bfa_itn_create()
3766 itn->isr = isr; in bfa_itn_create()
3777 struct bfa_itn_s *itn; in bfa_itn_isr() local
3780 itn = BFA_ITN_FROM_TAG(fcp, msg.create_rsp->bfa_handle); in bfa_itn_isr()
3782 if (itn->isr) in bfa_itn_isr()
3783 itn->isr(bfa, m); in bfa_itn_isr()
/kernel/linux/linux-5.10/include/net/
Dip_tunnels.h279 struct ip_tunnel *ip_tunnel_lookup(struct ip_tunnel_net *itn,