Lines Matching refs:entry
228 struct lowpan_btle_dev *entry; in lookup_peer() local
233 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in lookup_peer()
234 peer = __peer_lookup_conn(entry, conn); in lookup_peer()
246 struct lowpan_btle_dev *entry; in lookup_dev() local
251 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in lookup_dev()
252 if (conn->hcon->hdev == entry->hdev) { in lookup_dev()
253 dev = entry; in lookup_dev()
490 struct lowpan_btle_dev *entry; in send_mcast_pkt() local
495 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in send_mcast_pkt()
499 if (entry->netdev != netdev) in send_mcast_pkt()
502 dev = lowpan_btle_dev(entry->netdev); in send_mcast_pkt()
773 struct lowpan_btle_dev *entry = container_of(work, in delete_netdev() local
777 lowpan_unregister_netdev(entry->netdev); in delete_netdev()
784 struct lowpan_btle_dev *entry; in chan_close_cb() local
804 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in chan_close_cb()
805 dev = lowpan_btle_dev(entry->netdev); in chan_close_cb()
829 INIT_WORK(&entry->delete_netdev, delete_netdev); in chan_close_cb()
830 schedule_work(&entry->delete_netdev); in chan_close_cb()
1017 struct lowpan_btle_dev *entry; in disconnect_all_peers() local
1030 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in disconnect_all_peers()
1031 list_for_each_entry_rcu(peer, &entry->peers, list) { in disconnect_all_peers()
1177 struct lowpan_btle_dev *entry; in lowpan_control_show() local
1182 list_for_each_entry(entry, &bt_6lowpan_devices, list) { in lowpan_control_show()
1183 list_for_each_entry(peer, &entry->peers, list) in lowpan_control_show()
1208 struct lowpan_btle_dev *entry, *tmp, *new_dev; in disconnect_devices() local
1220 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in disconnect_devices()
1225 new_dev->netdev = entry->netdev; in disconnect_devices()
1233 list_for_each_entry_safe(entry, tmp, &devices, list) { in disconnect_devices()
1234 ifdown(entry->netdev); in disconnect_devices()
1236 entry->netdev->name, entry->netdev); in disconnect_devices()
1237 lowpan_unregister_netdev(entry->netdev); in disconnect_devices()
1238 kfree(entry); in disconnect_devices()
1246 struct lowpan_btle_dev *entry; in device_event() local
1254 list_for_each_entry(entry, &bt_6lowpan_devices, list) { in device_event()
1255 if (entry->netdev == netdev) { in device_event()
1258 list_del(&entry->list); in device_event()