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()
101 struct tb_path *tb_path_discover(struct tb_port *src, int src_hopid, in tb_path_discover()
102 struct tb_port *dst, int dst_hopid, in tb_path_discover()
103 struct tb_port **last, const char *name, in tb_path_discover()
106 struct tb_port *out_port; in tb_path_discover()
110 struct tb_port *p; in tb_path_discover()
238 struct tb_path *tb_path_alloc(struct tb *tb, struct tb_port *src, int src_hopid, in tb_path_alloc()
239 struct tb_port *dst, int dst_hopid, int link_nr, in tb_path_alloc()
242 struct tb_port *in_port, *out_port, *first_port, *last_port; in tb_path_alloc()
392 static int __tb_path_deactivate_hop(struct tb_port *port, int hop_index, in __tb_path_deactivate_hop()
603 bool tb_path_port_on_path(const struct tb_path *path, const struct tb_port *port) in tb_path_port_on_path()