Lines Matching defs:kref
33 #include <linux/kref.h>
253 struct kref kref;
270 /* Note this lock not only protect list access, but also data.kref access */
277 static void w83793_release_resources(struct kref *ref)
279 struct w83793_data *data = container_of(ref, struct w83793_data, kref);
1315 kref_get(&data->kref);
1349 kref_put(&data->kref, w83793_release_resources);
1555 kref_put(&data->kref, w83793_release_resources);
1665 kref_init(&data->kref);