Searched refs:caifd (Results 1 – 1 of 1) sorted by relevance
94 struct caif_device_entry *caifd; in caif_device_alloc() local96 caifd = kzalloc(sizeof(*caifd), GFP_KERNEL); in caif_device_alloc()97 if (!caifd) in caif_device_alloc()99 caifd->pcpu_refcnt = alloc_percpu(int); in caif_device_alloc()100 if (!caifd->pcpu_refcnt) { in caif_device_alloc()101 kfree(caifd); in caif_device_alloc()104 caifd->netdev = dev; in caif_device_alloc()106 return caifd; in caif_device_alloc()113 struct caif_device_entry *caifd; in caif_get() local115 list_for_each_entry_rcu(caifd, &caifdevs->list, list, in caif_get()[all …]