Lines Matching refs:instance
55 unsigned int instance; member
61 unsigned int instance; member
69 unsigned int instance; member
124 if (!ifilter && f->instance) in server_match()
126 return (srv->instance & ifilter) == f->instance; in server_match()
163 srv->service, srv->instance, srv->node, srv->port); in service_announce_new()
167 cmsg.server.instance = cpu_to_le32(srv->instance); in service_announce_new()
187 srv->service, srv->instance, srv->node, srv->port); in service_announce_del()
191 cmsg.server.instance = cpu_to_le32(srv->instance); in service_announce_del()
212 pkt.server.instance = cpu_to_le32(srv->instance); in lookup_notify()
246 static struct server *server_add(unsigned int service, unsigned int instance, in server_add() argument
262 srv->instance = instance; in server_add()
274 LOGD("add server [%d:%x]@[%d:%d]\n", srv->service, srv->instance, in server_add()
312 if (lookup->instance && lookup->instance != srv->instance) in server_del()
445 unsigned int service, unsigned int instance, in ctrl_cmd_new_server() argument
463 srv = server_add(service, instance, node_id, port); in ctrl_cmd_new_server()
474 if (lookup->instance && lookup->instance != instance) in ctrl_cmd_new_server()
485 unsigned int instance __unused, in ctrl_cmd_del_server()
512 unsigned int service, unsigned int instance) in ctrl_cmd_new_lookup() argument
530 lookup->instance = instance; in ctrl_cmd_new_lookup()
535 filter.instance = instance; in ctrl_cmd_new_lookup()
550 unsigned int service, unsigned int instance) in ctrl_cmd_del_lookup() argument
564 if (lookup->instance && lookup->instance != instance) in ctrl_cmd_del_lookup()
623 le32_to_cpu(msg->server.instance), in ctrl_port_fn()
630 le32_to_cpu(msg->server.instance), in ctrl_port_fn()
641 le32_to_cpu(msg->server.instance)); in ctrl_port_fn()
646 le32_to_cpu(msg->server.instance)); in ctrl_port_fn()