Home
last modified time | relevance | path

Searched refs:caifd (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/net/caif/
Dcaif_dev.c94 struct caif_device_entry *caifd; in caif_device_alloc() local
96 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() local
115 list_for_each_entry_rcu(caifd, &caifdevs->list, list, in caif_get()
[all …]