Lines Matching refs:entry
201 struct lowpan_btle_dev *entry; in lookup_peer() local
206 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in lookup_peer()
207 peer = __peer_lookup_conn(entry, conn); in lookup_peer()
219 struct lowpan_btle_dev *entry; in lookup_dev() local
224 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in lookup_dev()
225 if (conn->hcon->hdev == entry->hdev) { in lookup_dev()
226 dev = entry; in lookup_dev()
463 struct lowpan_btle_dev *entry; in send_mcast_pkt() local
468 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in send_mcast_pkt()
472 if (entry->netdev != netdev) in send_mcast_pkt()
475 dev = lowpan_btle_dev(entry->netdev); in send_mcast_pkt()
755 struct lowpan_btle_dev *entry = container_of(work, in delete_netdev() local
759 lowpan_unregister_netdev(entry->netdev); in delete_netdev()
766 struct lowpan_btle_dev *entry; in chan_close_cb() local
786 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in chan_close_cb()
787 dev = lowpan_btle_dev(entry->netdev); in chan_close_cb()
811 INIT_WORK(&entry->delete_netdev, delete_netdev); in chan_close_cb()
812 schedule_work(&entry->delete_netdev); in chan_close_cb()
995 struct lowpan_btle_dev *entry; in disconnect_all_peers() local
1008 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in disconnect_all_peers()
1009 list_for_each_entry_rcu(peer, &entry->peers, list) { in disconnect_all_peers()
1159 struct lowpan_btle_dev *entry; in lowpan_control_show() local
1164 list_for_each_entry(entry, &bt_6lowpan_devices, list) { in lowpan_control_show()
1165 list_for_each_entry(peer, &entry->peers, list) in lowpan_control_show()
1190 struct lowpan_btle_dev *entry, *tmp, *new_dev; in disconnect_devices() local
1202 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in disconnect_devices()
1207 new_dev->netdev = entry->netdev; in disconnect_devices()
1215 list_for_each_entry_safe(entry, tmp, &devices, list) { in disconnect_devices()
1216 ifdown(entry->netdev); in disconnect_devices()
1218 entry->netdev->name, entry->netdev); in disconnect_devices()
1219 lowpan_unregister_netdev(entry->netdev); in disconnect_devices()
1220 kfree(entry); in disconnect_devices()
1228 struct lowpan_btle_dev *entry; in device_event() local
1236 list_for_each_entry(entry, &bt_6lowpan_devices, list) { in device_event()
1237 if (entry->netdev == netdev) { in device_event()
1240 list_del(&entry->list); in device_event()