Searched defs:kref (Results 1 - 25 of 28) sorted by relevance

12

/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
H A Dmessenger.h5 #include <linux/kref.h>
156 struct kref kref; member in struct:ceph_msg
H A Dosd_client.h5 #include <linux/kref.h>
150 struct kref r_kref;
184 struct kref kref; member in struct:ceph_osd_event
/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 Dposix-clock.h107 * @kref: Reference count.
120 struct kref kref; member in struct:posix_clock
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 Dpid_namespace.h10 #include <linux/kref.h>
24 struct kref kref; member in struct:pid_namespace
57 kref_get(&ns->kref);
H A Dkobject.h24 #include <linux/kref.h>
70 struct kref kref; member in struct:kobject
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 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 Dinterrupt.h15 #include <linux/kref.h>
200 * @kref: Reference count, for internal use
211 struct kref kref; member in struct:irq_affinity_notify
214 void (*release)(struct kref *ref);
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 Dtty.h220 struct kref kref; /* Ref counter */ member in struct:tty_port
239 struct kref kref; member in struct:tty_struct
397 kref_get(&tty->kref);
526 if (port && kref_get_unless_zero(&port->kref))
H A Duwb.h243 struct kref kref; member in struct:uwb_rsv
H A Ddmaengine.h413 void dma_chan_cleanup(struct kref *kref);
436 struct kref kref; member in struct:dmaengine_unmap_data
478 kref_get(&unmap->kref);
/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.
/include/scsi/
H A Dosd_ore.h117 struct kref kref; member in struct:ore_io_state
H A Dscsi_device.h230 struct kref kref; member in struct:scsi_dh_data
278 struct kref reap_ref; /* last put renders target invisible */
H A Dlibfc.h178 * @kref: Reference counter
199 struct kref kref; member in struct:fc_rport_priv
702 * The argument is a pointer to the kref inside the fc_rport_priv.
704 void (*rport_destroy)(struct kref *);
/include/video/
H A Dudlfb.h40 struct kref kref; member in struct:dlfb_data
/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)
H A Dhcd.h85 struct kref kref; /* reference counter */ member in struct:usb_hcd
/include/drm/
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

Completed in 405 milliseconds

12