kref 348 include/drm/drmP.h struct kref refcount; kref 696 include/drm/drmP.h struct kref ref; /**< Object ref-count */ kref 174 include/drm/drm_crtc.h struct kref refcount; kref 71 include/drm/drm_dp_mst_helper.h struct kref kref; kref 116 include/drm/drm_dp_mst_helper.h struct kref kref; kref 43 include/drm/drm_gem.h struct kref refcount; kref 125 include/drm/drm_gem.h void drm_gem_object_free(struct kref *kref); kref 211 include/drm/ttm/ttm_bo_api.h struct kref kref; kref 212 include/drm/ttm/ttm_bo_api.h struct kref list_kref; kref 299 include/drm/ttm/ttm_bo_api.h kref_get(&bo->kref); kref 855 include/drm/ttm/ttm_bo_driver.h WARN_ON(!atomic_read(&bo->kref.refcount)); kref 880 include/drm/ttm/ttm_bo_driver.h WARN_ON(!atomic_read(&bo->kref.refcount)); kref 131 include/drm/ttm/ttm_object.h struct kref refcount; kref 13 include/linux/bsg.h struct kref ref; kref 17 include/linux/ceph/buffer.h struct kref kref; kref 23 include/linux/ceph/buffer.h extern void ceph_buffer_release(struct kref *kref); kref 27 include/linux/ceph/buffer.h kref_get(&b->kref); kref 33 include/linux/ceph/buffer.h kref_put(&b->kref, ceph_buffer_release); kref 156 include/linux/ceph/messenger.h struct kref kref; kref 48 include/linux/ceph/mon_client.h struct kref kref; kref 150 include/linux/ceph/osd_client.h struct kref r_kref; kref 184 include/linux/ceph/osd_client.h struct kref kref; kref 57 include/linux/clk-private.h struct kref ref; kref 59 include/linux/configfs.h struct kref ci_kref; kref 28 include/linux/cpu_rmap.h struct kref refcount; kref 413 include/linux/dmaengine.h void dma_chan_cleanup(struct kref *kref); kref 436 include/linux/dmaengine.h struct kref kref; kref 478 include/linux/dmaengine.h kref_get(&unmap->kref); kref 73 include/linux/fence.h struct kref refcount; kref 181 include/linux/fence.h void fence_release(struct kref *kref); kref 85 include/linux/firewire.h struct kref kref; kref 140 include/linux/firewire.h kref_get(&card->kref); kref 145 include/linux/firewire.h void fw_card_release(struct kref *kref); kref 149 include/linux/firewire.h kref_put(&card->kref, fw_card_release); kref 180 include/linux/host1x.h struct kref ref; kref 29 include/linux/hugetlb.h struct kref refs; kref 34 include/linux/hugetlb.h void resv_map_release(struct kref *ref); kref 95 include/linux/iio/buffer.h struct kref ref; kref 211 include/linux/interrupt.h struct kref kref; kref 214 include/linux/interrupt.h void (*release)(struct kref *ref); kref 42 include/linux/klist.h struct kref n_ref; kref 70 include/linux/kobject.h struct kref kref; kref 32 include/linux/kref.h static inline void kref_init(struct kref *kref) kref 34 include/linux/kref.h atomic_set(&kref->refcount, 1); kref 41 include/linux/kref.h static inline void kref_get(struct kref *kref) kref 47 include/linux/kref.h WARN_ON_ONCE(atomic_inc_return(&kref->refcount) < 2); kref 68 include/linux/kref.h static inline int kref_sub(struct kref *kref, unsigned int count, kref 69 include/linux/kref.h void (*release)(struct kref *kref)) kref 73 include/linux/kref.h if (atomic_sub_and_test((int) count, &kref->refcount)) { kref 74 include/linux/kref.h release(kref); kref 97 include/linux/kref.h static inline int kref_put(struct kref *kref, void (*release)(struct kref *kref)) kref 99 include/linux/kref.h return kref_sub(kref, 1, release); kref 115 include/linux/kref.h static inline int kref_put_spinlock_irqsave(struct kref *kref, kref 116 include/linux/kref.h void (*release)(struct kref *kref), kref 122 include/linux/kref.h if (atomic_add_unless(&kref->refcount, -1, 1)) kref 125 include/linux/kref.h if (atomic_dec_and_test(&kref->refcount)) { kref 126 include/linux/kref.h release(kref); kref 134 include/linux/kref.h static inline int kref_put_mutex(struct kref *kref, kref 135 include/linux/kref.h void (*release)(struct kref *kref), kref 139 include/linux/kref.h if (unlikely(!atomic_add_unless(&kref->refcount, -1, 1))) { kref 141 include/linux/kref.h if (unlikely(!atomic_dec_and_test(&kref->refcount))) { kref 145 include/linux/kref.h release(kref); kref 167 include/linux/kref.h static inline int __must_check kref_get_unless_zero(struct kref *kref) kref 169 include/linux/kref.h return atomic_add_unless(&kref->refcount, 1, 0); kref 170 include/linux/lockd/lockd.h struct kref b_count; /* Reference count */ kref 44 include/linux/mtd/blktrans.h struct kref ref; kref 48 include/linux/nfs_page.h struct kref wb_kref; /* reference count */ kref 89 include/linux/nvme.h struct kref kref; kref 24 include/linux/pid_namespace.h struct kref kref; kref 57 include/linux/pid_namespace.h kref_get(&ns->kref); kref 120 include/linux/posix-clock.h struct kref kref; kref 42 include/linux/relay.h struct kref kref; /* channel buffer refcount */ kref 63 include/linux/relay.h struct kref kref; /* channel refcount */ kref 147 include/linux/rpmsg.h struct kref refcount; kref 18 include/linux/sh_clk.h struct kref ref; kref 54 include/linux/sunrpc/cache.h struct kref ref; kref 82 include/linux/sunrpc/cache.h void (*cache_put)(struct kref *); kref 53 include/linux/sunrpc/svc_xprt.h struct kref xpt_ref; kref 69 include/linux/sunrpc/svcauth.h struct kref ref; kref 220 include/linux/tty.h struct kref kref; /* Ref counter */ kref 239 include/linux/tty.h struct kref kref; kref 397 include/linux/tty.h kref_get(&tty->kref); kref 526 include/linux/tty.h if (port && kref_get_unless_zero(&port->kref)) kref 298 include/linux/tty_driver.h struct kref kref; /* Reference management */ kref 359 include/linux/tty_driver.h kref_get(&d->kref); kref 229 include/linux/usb.h struct kref ref; /* reference counter */ kref 1427 include/linux/usb.h struct kref kref; /* reference count of the URB */ kref 85 include/linux/usb/hcd.h struct kref kref; /* reference counter */ kref 167 include/linux/usb/serial.h struct kref kref; kref 171 include/linux/usb/serial.h #define to_usb_serial(d) container_of(d, struct usb_serial, kref) kref 23 include/linux/utsname.h struct kref kref; kref 33 include/linux/utsname.h kref_get(&ns->kref); kref 38 include/linux/utsname.h extern void free_uts_ns(struct kref *kref); kref 42 include/linux/utsname.h kref_put(&ns->kref, free_uts_ns); kref 243 include/linux/uwb.h struct kref kref; kref 64 include/media/v4l2-device.h struct kref ref; kref 817 include/net/bluetooth/hci_core.h atomic_read(&d->dev.kobj.kref.refcount)); kref 825 include/net/bluetooth/hci_core.h atomic_read(&d->dev.kobj.kref.refcount)); kref 483 include/net/bluetooth/l2cap.h struct kref kref; kref 644 include/net/bluetooth/l2cap.h struct kref ref; kref 1138 include/rdma/ib_verbs.h struct kref ref; kref 199 include/scsi/libfc.h struct kref kref; kref 704 include/scsi/libfc.h void (*rport_destroy)(struct kref *); kref 231 include/scsi/libsas.h struct kref kref; kref 117 include/scsi/osd_ore.h struct kref kref; kref 230 include/scsi/scsi_device.h struct kref kref; kref 278 include/scsi/scsi_device.h struct kref reap_ref; /* last put renders target invisible */ kref 518 include/target/target_core_base.h struct kref cmd_kref; kref 608 include/target/target_core_base.h struct kref acl_kref; kref 623 include/target/target_core_base.h struct kref sess_kref; kref 40 include/video/udlfb.h struct kref kref;