Lines Matching refs:entry
200 struct lowpan_btle_dev *entry; in lookup_peer() local
205 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in lookup_peer()
206 peer = __peer_lookup_conn(entry, conn); in lookup_peer()
218 struct lowpan_btle_dev *entry; in lookup_dev() local
223 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in lookup_dev()
224 if (conn->hcon->hdev == entry->hdev) { in lookup_dev()
225 dev = entry; in lookup_dev()
462 struct lowpan_btle_dev *entry; in send_mcast_pkt() local
467 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in send_mcast_pkt()
471 if (entry->netdev != netdev) in send_mcast_pkt()
474 dev = lowpan_btle_dev(entry->netdev); in send_mcast_pkt()
753 struct lowpan_btle_dev *entry = container_of(work, in delete_netdev() local
757 lowpan_unregister_netdev(entry->netdev); in delete_netdev()
764 struct lowpan_btle_dev *entry; in chan_close_cb() local
784 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in chan_close_cb()
785 dev = lowpan_btle_dev(entry->netdev); in chan_close_cb()
809 INIT_WORK(&entry->delete_netdev, delete_netdev); in chan_close_cb()
810 schedule_work(&entry->delete_netdev); in chan_close_cb()
988 struct lowpan_btle_dev *entry; in disconnect_all_peers() local
1001 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in disconnect_all_peers()
1002 list_for_each_entry_rcu(peer, &entry->peers, list) { in disconnect_all_peers()
1152 struct lowpan_btle_dev *entry; in lowpan_control_show() local
1157 list_for_each_entry(entry, &bt_6lowpan_devices, list) { in lowpan_control_show()
1158 list_for_each_entry(peer, &entry->peers, list) in lowpan_control_show()
1183 struct lowpan_btle_dev *entry, *tmp, *new_dev; in disconnect_devices() local
1195 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) { in disconnect_devices()
1200 new_dev->netdev = entry->netdev; in disconnect_devices()
1208 list_for_each_entry_safe(entry, tmp, &devices, list) { in disconnect_devices()
1209 ifdown(entry->netdev); in disconnect_devices()
1211 entry->netdev->name, entry->netdev); in disconnect_devices()
1212 lowpan_unregister_netdev(entry->netdev); in disconnect_devices()
1213 kfree(entry); in disconnect_devices()
1221 struct lowpan_btle_dev *entry; in device_event() local
1229 list_for_each_entry(entry, &bt_6lowpan_devices, list) { in device_event()
1230 if (entry->netdev == netdev) { in device_event()
1233 list_del(&entry->list); in device_event()