Lines Matching refs:node_id
71 static struct qrtr_node *node_get(unsigned int node_id) in node_get() argument
75 node = radix_tree_lookup(&nodes, node_id); in node_get()
84 node->id = node_id; in node_get()
86 radix_tree_insert(&nodes, node_id, node); in node_get()
231 unsigned int node_id, in server_add() argument
247 srv->node = node_id; in server_add()
250 node = node_get(node_id); in server_add()
419 unsigned int node_id, unsigned int port) in ctrl_cmd_del_client() argument
439 if (from->sq_node != node_id) in ctrl_cmd_del_client()
449 if (lookup->sq.sq_node != node_id) in ctrl_cmd_del_client()
459 node = node_get(node_id); in ctrl_cmd_del_client()
470 pkt.client.node = cpu_to_le32(node_id); in ctrl_cmd_del_client()
507 unsigned int node_id, unsigned int port) in ctrl_cmd_new_server() argument
516 node_id = from->sq_node; in ctrl_cmd_new_server()
521 if (from->sq_node != node_id) in ctrl_cmd_new_server()
524 srv = server_add(service, instance, node_id, port); in ctrl_cmd_new_server()
552 unsigned int node_id, unsigned int port) in ctrl_cmd_del_server() argument
558 node_id = from->sq_node; in ctrl_cmd_del_server()
563 if (from->sq_node != node_id) in ctrl_cmd_del_server()
570 node = node_get(node_id); in ctrl_cmd_del_server()