Home
last modified time | relevance | path

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

/linux-6.12.1/net/caif/
Dcaif_dev.c95 struct caif_device_entry *caifd; in caif_device_alloc() local
97 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() local
116 list_for_each_entry_rcu(caifd, &caifdevs->list, list, in caif_get()
[all …]