Home | History | Annotate | Download | only in minadbd

Lines Matching full:serial

88     D("%s: run_transport_disconnects\n", t->serial);
204 if(read_packet(fd, t->serial, &p)){
205 D("%s: failed to read packet from transport socket on fd %d\n", t->serial, fd);
237 if(write_packet(t->transport_socket, t->serial, &p)){
261 t->serial, t->fd, t->sync_token + 1);
267 if(write_packet(t->fd, t->serial, &p)) {
269 D("%s: failed to write SYNC packet\n", t->serial);
273 D("%s: data pump started\n", t->serial);
279 t->serial);
280 if(write_packet(t->fd, t->serial, &p)){
282 D("%s: failed to write apacket to transport\n", t->serial);
286 D("%s: remote read failed for transport\n", t->serial);
292 D("%s: SYNC offline for transport\n", t->serial);
298 if(write_packet(t->fd, t->serial, &p)) {
300 D("%s: failed to write SYNC apacket to transport", t->serial);
304 D("%s: transport output thread is exiting\n", t->serial);
317 t->serial, t->fd);
320 if(read_packet(t->fd, t->serial, &p)) {
322 t->serial, t->fd );
327 D("%s: transport SYNC offline\n", t->serial);
332 D("%s: transport SYNC online\n", t->serial);
336 t->serial, p->msg.arg1, t->sync_token);
341 D("%s: transport got packet, sending to remote\n", t->serial);
344 D("%s: transport ignoring packet while offline\n", t->serial);
355 D("%s: transport input thread is exiting, fd %d\n", t->serial, t->fd);
441 D("transport: %s removing and free'ing %d\n", t->serial, t->transport_socket);
458 if (t->serial)
459 free(t->serial);
477 D("transport: %s (%d,%d) starting\n", t->serial, s[0], s[1]);
536 D("transport: %s registered\n", transport->serial);
547 D("transport: %s removed\n", transport->serial);
558 D("transport: %s unref (kicking and closing)\n", t->serial);
566 D("transport: %s unref (count=%d)\n", t->serial, t->ref_count);
597 atransport *acquire_one_transport(int state, transport_type ttype, const char* serial, char** error_out)
615 /* check for matching serial number */
616 if (serial) {
617 if (t->serial && !strcmp(serial, t->serial)) {
673 } else if (state != CS_ANY && (serial || !ambiguous)) {
681 void register_socket_transport(int s, const char *serial, int port, int local)
686 if (!serial) {
688 serial = buff;
690 D("transport: %s init'ing for socket %d, on port %d\n", serial, s, port);
696 if(serial) {
697 t->serial = strdup(serial);
702 void register_usb_transport(usb_handle *usb, const char *serial, unsigned writeable)
706 serial ? serial : "");
708 if(serial) {
709 t->serial = strdup(serial);