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

123

/include/linux/
H A Dkref.h2 * 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 Dutsname.h6 #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 Dcpu_rmap.h16 #include <linux/kref.h>
20 * @refcount: kref for object
28 struct kref refcount;
H A Dbsg.h13 struct kref ref;
H A Dpid_namespace.h10 #include <linux/kref.h>
24 struct kref kref; member in struct:pid_namespace
57 kref_get(&ns->kref);
H A Dklist.h16 #include <linux/kref.h>
42 struct kref n_ref;
H A Drelay.h21 #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 Dfence.h28 #include <linux/kref.h>
73 struct kref refcount;
181 void fence_release(struct kref *kref);
H A Dposix-clock.h107 * @kref: Reference count.
120 struct kref kref; member in struct:posix_clock
H A Dfirewire.h8 #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 Dkobject.h24 #include <linux/kref.h>
70 struct kref kref; member in struct:kobject
H A Dnvme.h21 #include <linux/kref.h>
89 struct kref kref; member in struct:nvme_dev
H A Dtty_driver.h51 * 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 Dnfs_page.h19 #include <linux/kref.h>
48 struct kref wb_kref; /* reference count */
H A Drpmsg.h41 #include <linux/kref.h>
147 struct kref refcount;
/include/linux/ceph/
H A Dbuffer.h4 #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 Dmon_client.h5 #include <linux/kref.h>
48 struct kref kref; member in struct:ceph_mon_generic_request
/include/drm/
H A Ddrm_gem.h43 struct kref refcount;
125 void drm_gem_object_free(struct kref *kref);
H A Ddrm_dp_mst_helper.h46 * @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 Dblktrans.h24 #include <linux/kref.h>
44 struct kref ref;
/include/video/
H A Dudlfb.h40 struct kref kref; member in struct:dlfb_data
/include/drm/ttm/
H A Dttm_bo_api.h36 #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 Dttm_object.h42 #include <linux/kref.h>
131 struct kref refcount;
/include/linux/iio/
H A Dbuffer.h14 #include <linux/kref.h>
95 struct kref ref;
/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 879 milliseconds

123