/include/linux/ |
H A D | kref.h | 2 * 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 D | pid_namespace.h | 9 #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 D | user_namespace.h | 4 #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 D | utsname.h | 36 #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 D | sync.h | 19 #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 D | klist.h | 16 #include <linux/kref.h> 42 struct kref n_ref;
|
H A D | relay.h | 21 #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 D | posix-clock.h | 107 * @kref: Reference count. 120 struct kref kref; member in struct:posix_clock
|
H A D | kobject.h | 24 #include <linux/kref.h> 67 struct kref kref; member in struct:kobject
|
H A D | tty_driver.h | 296 struct kref kref; /* Reference management */ member in struct:tty_driver 341 kref_get(&d->kref);
|
H A D | nfs_page.h | 19 #include <linux/kref.h> 45 struct kref wb_kref; /* reference count */
|
H A D | rpmsg.h | 41 #include <linux/kref.h> 147 struct kref refcount;
|
H A D | bsg.h | 72 struct kref ref;
|
H A D | configfs.h | 41 #include <linux/kref.h> 59 struct kref ci_kref;
|
H A D | remoteproc.h | 39 #include <linux/kref.h> 395 struct kref refcount;
|
/include/linux/ceph/ |
H A D | buffer.h | 4 #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 D | messenger.h | 4 #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 D | mon_client.h | 5 #include <linux/kref.h> 48 struct kref kref; member in struct:ceph_mon_generic_request
|
H A D | osd_client.h | 5 #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 D | ttm_object.h | 42 #include <linux/kref.h> 127 struct kref refcount;
|
H A D | ttm_bo_api.h | 35 #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 D | blktrans.h | 24 #include <linux/kref.h> 43 struct kref ref;
|
/include/video/ |
H A D | udlfb.h | 40 struct kref kref; member in struct:dlfb_data
|
/include/linux/sunrpc/ |
H A D | cache.h | 16 #include <linux/kref.h> 54 struct kref ref; 81 void (*cache_put)(struct kref *);
|
/include/linux/usb/ |
H A D | serial.h | 16 #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)
|