/include/linux/ |
H A D | kref.h | 2 * kref.h - library routines for handling generic reference counted objects 24 struct kref { struct 30 * @kref: object in question. 32 static inline void kref_init(struct kref *kref) argument 34 atomic_set(&kref->refcount, 1); 39 * @kref: object. 41 static inline void kref_get(struct kref *kref) argument 44 * condition when this kref i 97 kref_put(struct kref *kref, void (*release)(struct kref *kref)) argument 115 kref_put_spinlock_irqsave(struct kref *kref, void (*release)(struct kref *kref), spinlock_t *lock) argument 134 kref_put_mutex(struct kref *kref, void (*release)(struct kref *kref), struct mutex *lock) argument 167 kref_get_unless_zero(struct kref *kref) argument [all...] |
H A D | utsname.h | 6 #include <linux/kref.h> 23 struct kref kref; member in struct:uts_namespace 33 kref_get(&ns->kref); 38 extern void free_uts_ns(struct kref *kref); 42 kref_put(&ns->kref, free_uts_ns);
|
H A D | cpu_rmap.h | 16 #include <linux/kref.h> 20 * @refcount: kref for object 28 struct kref refcount;
|
H A D | bsg.h | 13 struct kref ref;
|
H A D | pid_namespace.h | 10 #include <linux/kref.h> 24 struct kref kref; member in struct:pid_namespace 57 kref_get(&ns->kref);
|
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> 42 struct kref kref; /* channel buffer refcount */ member in struct:rchan_buf 63 struct kref kref; /* channel refcount */ member in struct:rchan
|
H A D | fence.h | 28 #include <linux/kref.h> 73 struct kref refcount; 181 void fence_release(struct kref *kref);
|
H A D | posix-clock.h | 107 * @kref: Reference count. 120 struct kref kref; member in struct:posix_clock
|
H A D | firewire.h | 8 #include <linux/kref.h> 85 struct kref kref; member in struct:fw_card 140 kref_get(&card->kref); 145 void fw_card_release(struct kref *kref); 149 kref_put(&card->kref, fw_card_release);
|
H A D | kobject.h | 24 #include <linux/kref.h> 70 struct kref kref; member in struct:kobject
|
H A D | nvme.h | 21 #include <linux/kref.h> 89 struct kref kref; member in struct:nvme_dev
|
H A D | tty_driver.h | 51 * are freed so may execute while another function holds a tty kref. 298 struct kref kref; /* Reference management */ member in struct:tty_driver 359 kref_get(&d->kref);
|
H A D | nfs_page.h | 19 #include <linux/kref.h> 48 struct kref wb_kref; /* reference count */
|
H A D | rpmsg.h | 41 #include <linux/kref.h> 147 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 23 extern void ceph_buffer_release(struct kref *kref); 27 kref_get(&b->kref); 33 kref_put(&b->kref, ceph_buffer_release);
|
H A D | mon_client.h | 5 #include <linux/kref.h> 48 struct kref kref; member in struct:ceph_mon_generic_request
|
/include/drm/ |
H A D | drm_gem.h | 43 struct kref refcount; 125 void drm_gem_object_free(struct kref *kref);
|
H A D | drm_dp_mst_helper.h | 46 * @kref: reference count for this port. 71 struct kref kref; member in struct:drm_dp_mst_port 99 * @kref: reference count for this port. 116 struct kref kref; member in struct:drm_dp_mst_branch
|
/include/linux/mtd/ |
H A D | blktrans.h | 24 #include <linux/kref.h> 44 struct kref ref;
|
/include/video/ |
H A D | udlfb.h | 40 struct kref kref; member in struct:dlfb_data
|
/include/drm/ttm/ |
H A D | ttm_bo_api.h | 36 #include <linux/kref.h> 159 * @kref: Reference count of this buffer object. When this refcount reaches 163 * Lru lists may keep one refcount, the delayed delete list, and kref != 0 211 struct kref kref; member in struct:ttm_buffer_object 212 struct kref list_kref; 299 kref_get(&bo->kref); 470 * On successful return, the object kref and list_kref are set to 1.
|
H A D | ttm_object.h | 42 #include <linux/kref.h> 131 struct kref refcount;
|
/include/linux/iio/ |
H A D | buffer.h | 14 #include <linux/kref.h> 95 struct kref ref;
|
/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)
|