Searched refs:kref (Results 1 - 25 of 47) sorted by relevance

12

/include/linux/
H A Dkref.h2 * kref.h - library routines for handling generic reference counted objects
22 struct kref { struct
28 * @kref: object in question.
30 static inline void kref_init(struct kref *kref) argument
32 atomic_set(&kref->refcount, 1);
37 * @kref: object.
39 static inline void kref_get(struct kref *kref) argument
41 WARN_ON(!atomic_read(&kref
63 kref_sub(struct kref *kref, unsigned int count, void (*release)(struct kref *kref)) argument
92 kref_put(struct kref *kref, void (*release)(struct kref *kref)) argument
[all...]
H A Dpid_namespace.h9 #include <linux/kref.h>
21 struct kref kref; member in struct:pid_namespace
45 kref_get(&ns->kref);
50 extern void free_pid_ns(struct kref *kref);
57 kref_put(&ns->kref, free_pid_ns);
H A Duser_namespace.h4 #include <linux/kref.h>
13 struct kref kref; member in struct:user_namespace
26 kref_get(&ns->kref);
31 extern void free_user_ns(struct kref *kref);
36 kref_put(&ns->kref, free_user_ns);
H A Dutsname.h36 #include <linux/kref.h>
52 struct kref kref; member in struct:uts_namespace
61 kref_get(&ns->kref);
66 extern void free_uts_ns(struct kref *kref);
70 kref_put(&ns->kref, free_uts_ns);
H A Dsync.h19 #include <linux/kref.h>
83 * @kref: reference count on fence.
94 struct kref kref; member in struct:sync_timeline
141 * @kref: referenace count on fence.
154 struct kref kref; member in struct:sync_fence
H A Dklist.h16 #include <linux/kref.h>
42 struct kref n_ref;
H A Drelay.h21 #include <linux/kref.h>
45 struct kref kref; /* channel buffer refcount */ member in struct:rchan_buf
66 struct kref kref; /* channel refcount */ member in struct:rchan
H A Dposix-clock.h107 * @kref: Reference count.
120 struct kref kref; member in struct:posix_clock
H A Dkobject.h24 #include <linux/kref.h>
67 struct kref kref; member in struct:kobject
H A Dtty_driver.h296 struct kref kref; /* Reference management */ member in struct:tty_driver
341 kref_get(&d->kref);
H A Dnfs_page.h19 #include <linux/kref.h>
45 struct kref wb_kref; /* reference count */
H A Drpmsg.h41 #include <linux/kref.h>
147 struct kref refcount;
H A Dbsg.h72 struct kref ref;
H A Dconfigfs.h41 #include <linux/kref.h>
59 struct kref ci_kref;
H A Dremoteproc.h39 #include <linux/kref.h>
395 struct kref refcount;
/include/linux/ceph/
H A Dbuffer.h4 #include <linux/kref.h>
17 struct kref kref; member in struct:ceph_buffer
24 extern void ceph_buffer_release(struct kref *kref);
28 kref_get(&b->kref);
34 kref_put(&b->kref, ceph_buffer_release);
H A Dmessenger.h4 #include <linux/kref.h>
84 struct kref kref; member in struct:ceph_msg
244 kref_get(&msg->kref);
247 extern void ceph_msg_last_put(struct kref *kref);
250 kref_put(&msg->kref, ceph_msg_last_put);
H A Dmon_client.h5 #include <linux/kref.h>
48 struct kref kref; member in struct:ceph_mon_generic_request
H A Dosd_client.h5 #include <linux/kref.h>
74 struct kref r_kref;
110 struct kref kref; member in struct:ceph_osd_event
255 extern void ceph_osdc_release_request(struct kref *kref);
/include/drm/ttm/
H A Dttm_object.h42 #include <linux/kref.h>
127 struct kref refcount;
H A Dttm_bo_api.h35 #include <linux/kref.h>
147 * @kref: Reference count of this buffer object. When this refcount reaches
151 * Lru lists may keep one refcount, the delayed delete list, and kref != 0
210 struct kref kref; member in struct:ttm_buffer_object
211 struct kref list_kref;
313 kref_get(&bo->kref);
485 * On successful return, the object kref and list_kref are set to 1.
/include/linux/mtd/
H A Dblktrans.h24 #include <linux/kref.h>
43 struct kref ref;
/include/video/
H A Dudlfb.h40 struct kref kref; member in struct:dlfb_data
/include/linux/sunrpc/
H A Dcache.h16 #include <linux/kref.h>
54 struct kref ref;
81 void (*cache_put)(struct kref *);
/include/linux/usb/
H A Dserial.h16 #include <linux/kref.h>
167 struct kref kref; member in struct:usb_serial
171 #define to_usb_serial(d) container_of(d, struct usb_serial, kref)

Completed in 1852 milliseconds

12