Lines Matching refs:tb_port
18 const struct tb_port *port = hop->in_port; in tb_dump_hop()
34 static struct tb_port *tb_path_find_dst_port(struct tb_port *src, int src_hopid, in tb_path_find_dst_port()
37 struct tb_port *port, *out_port = NULL; in tb_path_find_dst_port()
65 static int tb_path_find_src_hopid(struct tb_port *src, in tb_path_find_src_hopid()
66 const struct tb_port *dst, int dst_hopid) in tb_path_find_src_hopid()
68 struct tb_port *out; in tb_path_find_src_hopid()
100 struct tb_path *tb_path_discover(struct tb_port *src, int src_hopid, in tb_path_discover()
101 struct tb_port *dst, int dst_hopid, in tb_path_discover()
102 struct tb_port **last, const char *name) in tb_path_discover()
104 struct tb_port *out_port; in tb_path_discover()
108 struct tb_port *p; in tb_path_discover()
227 struct tb_path *tb_path_alloc(struct tb *tb, struct tb_port *src, int src_hopid, in tb_path_alloc()
228 struct tb_port *dst, int dst_hopid, int link_nr, in tb_path_alloc()
231 struct tb_port *in_port, *out_port; in tb_path_alloc()
345 static int __tb_path_deactivate_hop(struct tb_port *port, int hop_index, in __tb_path_deactivate_hop()