Lines Matching refs:entry
139 struct lowpan_dev_record *entry; in lowpan_give_skb_to_devices() local
144 list_for_each_entry_rcu(entry, &lowpan_devices, list) in lowpan_give_skb_to_devices()
145 if (lowpan_dev_info(entry->ldev)->real_dev == skb->dev) { in lowpan_give_skb_to_devices()
152 skb_cp->dev = entry->ldev; in lowpan_give_skb_to_devices()
574 struct lowpan_dev_record *entry; in lowpan_newlink() local
592 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in lowpan_newlink()
593 if (!entry) { in lowpan_newlink()
599 entry->ldev = dev; in lowpan_newlink()
605 INIT_LIST_HEAD(&entry->list); in lowpan_newlink()
606 list_add_tail(&entry->list, &lowpan_devices); in lowpan_newlink()
618 struct lowpan_dev_record *entry, *tmp; in lowpan_dellink() local
623 list_for_each_entry_safe(entry, tmp, &lowpan_devices, list) { in lowpan_dellink()
624 if (entry->ldev == dev) { in lowpan_dellink()
625 list_del(&entry->list); in lowpan_dellink()
626 kfree(entry); in lowpan_dellink()
662 struct lowpan_dev_record *entry, *tmp; in lowpan_device_event() local
668 list_for_each_entry_safe(entry, tmp, &lowpan_devices, list) { in lowpan_device_event()
669 if (lowpan_dev_info(entry->ldev)->real_dev == dev) in lowpan_device_event()
670 lowpan_dellink(entry->ldev, &del_list); in lowpan_device_event()