Lines Matching refs:discoveries
623 discinfo_t *discoveries; /* Copy of the discovery log */ in irda_discover_daddr_and_lsap_sel() local
636 discoveries = irlmp_get_discoveries(&number, self->mask.word, in irda_discover_daddr_and_lsap_sel()
639 if (discoveries == NULL) in irda_discover_daddr_and_lsap_sel()
649 self->daddr = discoveries[i].daddr; in irda_discover_daddr_and_lsap_sel()
663 kfree(discoveries); in irda_discover_daddr_and_lsap_sel()
677 kfree(discoveries); in irda_discover_daddr_and_lsap_sel()
683 kfree(discoveries); in irda_discover_daddr_and_lsap_sel()
2144 struct irda_device_info *discoveries; in irda_getsockopt() local
2168 discoveries = irlmp_get_discoveries(&list.len, self->mask.word, in irda_getsockopt()
2171 if (discoveries == NULL) in irda_getsockopt()
2194 if (copy_to_user(optval+offset, discoveries, total - offset)) in irda_getsockopt()
2202 kfree(discoveries); in irda_getsockopt()