Lines Matching defs:discoveries
359 self->discoveries[self->disco_index].saddr,
360 self->discoveries[self->disco_index].daddr,
402 self->discoveries = irlmp_get_discoveries(&self->disco_number, self->mask,
406 if(self->discoveries == NULL)
413 self->discoveries, self->disco_number);
429 kfree(self->discoveries);
430 self->discoveries = NULL;
453 struct irda_device_info *discoveries; /* Copy of the discovery log */
460 discoveries = irlmp_get_discoveries(&number, 0xffff,
463 if(discoveries == NULL)
474 if(!strncmp(discoveries[i].info, self->rname, NICKNAME_MAX_LEN))
477 self->daddr = discoveries[i].daddr;
480 kfree(discoveries);
487 kfree(discoveries);
662 /* Cleanup eventual discoveries from connection attempt or control channel */
663 if(self->discoveries != NULL)
666 kfree(self->discoveries);
667 self->discoveries = NULL;
704 struct irda_device_info *discoveries; /* Copy of the discovery log */
711 discoveries = irlmp_get_discoveries(&number, 0xffff,
714 if (discoveries == NULL)
721 if(discoveries[i].daddr == self->daddr)
724 strlcpy(self->rname, discoveries[i].info, sizeof(self->rname));
728 kfree(discoveries);
735 kfree(discoveries);
877 if(new->discoveries != NULL)
879 kfree(new->discoveries);
880 new->discoveries = NULL;
1556 self->daddr = self->discoveries[self->disco_index].daddr;
1585 self->discoveries);
1586 if(self->discoveries != NULL)
1589 kfree(self->discoveries);
1590 self->discoveries = NULL;
1634 * discoveries properly (i.e. not miss one). Filtering duplicate here