Searched refs:caifd (Results 1 – 1 of 1) sorted by relevance
95 struct caif_device_entry *caifd; in caif_device_alloc() local97 caifd = kzalloc(sizeof(*caifd), GFP_KERNEL); in caif_device_alloc()98 if (!caifd) in caif_device_alloc()100 caifd->pcpu_refcnt = alloc_percpu(int); in caif_device_alloc()101 if (!caifd->pcpu_refcnt) { in caif_device_alloc()102 kfree(caifd); in caif_device_alloc()105 caifd->netdev = dev; in caif_device_alloc()107 return caifd; in caif_device_alloc()114 struct caif_device_entry *caifd; in caif_get() local116 list_for_each_entry_rcu(caifd, &caifdevs->list, list, in caif_get()[all …]