Lines Matching defs:list

38 /* The devices list contains those devices that we are acting
43 * The list contains struct lowpan_dev elements.
56 struct list_head list;
66 struct list_head list;
71 atomic_t peer_count; /* number of items in peers list */
86 list_add_rcu(&peer->list, &dev->peers);
93 list_del_rcu(&peer->list);
111 list_for_each_entry_rcu(peer, &dev->peers, list) {
124 list_for_each_entry_rcu(peer, &dev->peers, list) {
169 list_for_each_entry_rcu(peer, &dev->peers, list) {
183 list_for_each_entry_rcu(peer, &dev->peers, list) {
205 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) {
223 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) {
467 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) {
476 list_for_each_entry_rcu(pentry, &dev->peers, list) {
650 INIT_LIST_HEAD(&peer->list);
688 INIT_LIST_HEAD(&(*dev)->list);
689 list_add_rcu(&(*dev)->list, &bt_6lowpan_devices);
696 list_del_rcu(&(*dev)->list);
785 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) {
995 /* We make a separate list of peers as the close_cb() will
996 * modify the device peers list so it is better not to mess
997 * with the same list at the same time.
1002 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) {
1003 list_for_each_entry_rcu(peer, &entry->peers, list) {
1009 INIT_LIST_HEAD(&new_peer->list);
1011 list_add(&new_peer->list, &peers);
1018 list_for_each_entry_safe(peer, tmp_peer, &peers, list) {
1021 list_del_rcu(&peer->list);
1158 list_for_each_entry(entry, &bt_6lowpan_devices, list) {
1159 list_for_each_entry(peer, &entry->peers, list)
1189 /* We make a separate list of devices because the unregister_netdev()
1191 * devices list.
1196 list_for_each_entry_rcu(entry, &bt_6lowpan_devices, list) {
1202 INIT_LIST_HEAD(&new_dev->list);
1204 list_add_rcu(&new_dev->list, &devices);
1209 list_for_each_entry_safe(entry, tmp, &devices, list) {
1230 list_for_each_entry(entry, &bt_6lowpan_devices, list) {
1234 list_del(&entry->list);