Searched refs:pnd (Results 1 – 2 of 2) sorted by relevance
/net/phonet/ |
D | pn_dev.c | 53 struct phonet_device *pnd = kmalloc(sizeof(*pnd), GFP_ATOMIC); in __phonet_device_alloc() local 54 if (pnd == NULL) in __phonet_device_alloc() 56 pnd->netdev = dev; in __phonet_device_alloc() 57 bitmap_zero(pnd->addrs, 64); in __phonet_device_alloc() 60 list_add_rcu(&pnd->list, &pndevs->list); in __phonet_device_alloc() 61 return pnd; in __phonet_device_alloc() 67 struct phonet_device *pnd; in __phonet_get() local 70 list_for_each_entry(pnd, &pndevs->list, list) { in __phonet_get() 71 if (pnd->netdev == dev) in __phonet_get() 72 return pnd; in __phonet_get() [all …]
|
D | pn_netlink.c | 124 struct phonet_device *pnd; in getaddr_dumpit() local 130 list_for_each_entry_rcu(pnd, &pndevs->list, list) { in getaddr_dumpit() 139 for_each_set_bit(addr, pnd->addrs, 64) { in getaddr_dumpit() 143 if (fill_addr(skb, pnd->netdev, addr << 2, in getaddr_dumpit()
|