Lines Matching refs:Port
74 typedef struct Port Port; typedef
78 struct Port { struct
79 Port *next; argument
80 Port *remoteport; argument
103 Port *ports; argument
126 static int is_port_inactive(Node * node, Port * port, Switch * sw) in is_port_inactive()
136 static int get_node(Node * node, Port * port, ib_portid_t * portid) in get_node()
201 static int sameport(Port * a, Port * b) in sameport()
215 static void dump_endnode(int dump, char *prompt, Node * node, Port * port) in dump_endnode()
241 static void dump_route(int dump, Node * node, int outport, Port * port) in dump_route()
268 Port *port, fromport, toport, nextport; in find_route()
276 memset(&fromport,0,sizeof(Port)); in find_route()
277 memset(&toport,0,sizeof(Port)); in find_route()
278 memset(&nextport,0,sizeof(Port)); in find_route()
433 static int get_port(Port * port, int portnum, ib_portid_t * portid) in get_port()
455 static void link_port(Port * port, Node * node) in link_port()
461 static int new_node(Node * node, Port * port, ib_portid_t * path, int dist) in new_node()
540 Port *port, *remoteport; in find_mcpath()
551 if (!(port = calloc(1, sizeof(Port)))) in find_mcpath()
614 if (!(port = calloc(1, sizeof(Port)))) in find_mcpath()
642 if (!(remoteport = calloc(1, sizeof(Port)))) in find_mcpath()
682 Port toport; in find_target_portguid()