Lines Matching refs:discov
2478 struct discovery_state *discov = &hdev->discovery; in hci_resolve_next_name() local
2481 if (list_empty(&discov->resolve)) in hci_resolve_next_name()
2485 if (time_after(jiffies, discov->name_resolve_timeout)) { in hci_resolve_next_name()
2505 struct discovery_state *discov = &hdev->discovery; in hci_check_pending_name() local
2518 if (discov->state == DISCOVERY_STOPPED) in hci_check_pending_name()
2521 if (discov->state == DISCOVERY_STOPPING) in hci_check_pending_name()
2524 if (discov->state != DISCOVERY_RESOLVING) in hci_check_pending_name()
3021 struct discovery_state *discov = &hdev->discovery; in hci_inquiry_complete_evt() local
3039 if (discov->state != DISCOVERY_FINDING) in hci_inquiry_complete_evt()
3042 if (list_empty(&discov->resolve)) { in hci_inquiry_complete_evt()
3060 discov->name_resolve_timeout = jiffies + NAME_RESOLVE_DURATION; in hci_inquiry_complete_evt()