Lines Matching refs:entry
145 struct lowpan_dev_record *entry; in lowpan_newlink() local
167 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in lowpan_newlink()
168 if (!entry) { in lowpan_newlink()
174 entry->ldev = dev; in lowpan_newlink()
180 INIT_LIST_HEAD(&entry->list); in lowpan_newlink()
181 list_add_tail(&entry->list, &lowpan_devices); in lowpan_newlink()
198 struct lowpan_dev_record *entry, *tmp; in lowpan_dellink() local
207 list_for_each_entry_safe(entry, tmp, &lowpan_devices, list) { in lowpan_dellink()
208 if (entry->ldev == dev) { in lowpan_dellink()
209 list_del(&entry->list); in lowpan_dellink()
210 kfree(entry); in lowpan_dellink()
246 struct lowpan_dev_record *entry, *tmp; in lowpan_device_event() local
252 list_for_each_entry_safe(entry, tmp, &lowpan_devices, list) { in lowpan_device_event()
253 if (lowpan_dev_info(entry->ldev)->real_dev == dev) in lowpan_device_event()
254 lowpan_dellink(entry->ldev, &del_list); in lowpan_device_event()