Symbol: kref
sys/compat/linuxkpi/common/include/linux/kobject.h
100
kref_init(&kobj->kref);
sys/compat/linuxkpi/common/include/linux/kobject.h
106
void linux_kobject_release(struct kref *kref);
sys/compat/linuxkpi/common/include/linux/kobject.h
113
kref_put(&kobj->kref, linux_kobject_release);
sys/compat/linuxkpi/common/include/linux/kobject.h
121
kref_get(&kobj->kref);
sys/compat/linuxkpi/common/include/linux/kobject.h
60
struct kref kref;
sys/compat/linuxkpi/common/include/linux/kref.h
107
kref_get_unless_zero(struct kref *kref)
sys/compat/linuxkpi/common/include/linux/kref.h
110
return refcount_acquire_if_not_zero((uint32_t *)&kref->refcount);
sys/compat/linuxkpi/common/include/linux/kref.h
113
static inline int kref_put_mutex(struct kref *kref,
sys/compat/linuxkpi/common/include/linux/kref.h
114
void (*release)(struct kref *kref), struct mutex *lock)
sys/compat/linuxkpi/common/include/linux/kref.h
117
if (unlikely(!refcount_release_if_not_last((uint32_t *)&kref->refcount))) {
sys/compat/linuxkpi/common/include/linux/kref.h
119
if (unlikely(!refcount_release((uint32_t *)&kref->refcount))) {
sys/compat/linuxkpi/common/include/linux/kref.h
123
release(kref);
sys/compat/linuxkpi/common/include/linux/kref.h
48
kref_init(struct kref *kref)
sys/compat/linuxkpi/common/include/linux/kref.h
51
refcount_init((uint32_t *)&kref->refcount, 1);
sys/compat/linuxkpi/common/include/linux/kref.h
55
kref_read(const struct kref *kref)
sys/compat/linuxkpi/common/include/linux/kref.h
58
return (refcount_load(__DECONST(u_int32_t *, &kref->refcount)));
sys/compat/linuxkpi/common/include/linux/kref.h
62
kref_get(struct kref *kref)
sys/compat/linuxkpi/common/include/linux/kref.h
65
refcount_acquire((uint32_t *)&kref->refcount);
sys/compat/linuxkpi/common/include/linux/kref.h
69
kref_put(struct kref *kref, void (*rel)(struct kref *kref))
sys/compat/linuxkpi/common/include/linux/kref.h
72
if (refcount_release((uint32_t *)&kref->refcount)) {
sys/compat/linuxkpi/common/include/linux/kref.h
73
rel(kref);
sys/compat/linuxkpi/common/include/linux/kref.h
80
kref_put_lock(struct kref *kref, void (*rel)(struct kref *kref),
sys/compat/linuxkpi/common/include/linux/kref.h
84
if (refcount_release((uint32_t *)&kref->refcount)) {
sys/compat/linuxkpi/common/include/linux/kref.h
86
rel(kref);
sys/compat/linuxkpi/common/include/linux/kref.h
93
kref_sub(struct kref *kref, unsigned int count,
sys/compat/linuxkpi/common/include/linux/kref.h
94
void (*rel)(struct kref *kref))
sys/compat/linuxkpi/common/include/linux/kref.h
98
if (refcount_release((uint32_t *)&kref->refcount)) {
sys/compat/linuxkpi/common/include/linux/kref.h
99
rel(kref);
sys/compat/linuxkpi/common/src/linux_kobject.c
176
linux_kobject_release(struct kref *kref)
sys/compat/linuxkpi/common/src/linux_kobject.c
181
kobj = container_of(kref, struct kobject, kref);
sys/dev/cxgbe/iw_cxgbe/cm.c
1314
kref_init(&epc->kref);
sys/dev/cxgbe/iw_cxgbe/cm.c
1321
void _c4iw_free_ep(struct kref *kref)
sys/dev/cxgbe/iw_cxgbe/cm.c
1328
ep = container_of(kref, struct c4iw_ep, com.kref);
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
491
struct kref kref;
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
680
__func__, __LINE__, ep, kref_read(&(ep)->kref)); \
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
681
WARN_ON(kref_read(&(ep)->kref) < 1); \
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
682
kref_put(&((ep)->kref), _c4iw_free_ep); \
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
687
__func__, __LINE__, ep, kref_read(&(ep)->kref)); \
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
688
kref_get(&((ep)->kref)); \
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
691
void _c4iw_free_ep(struct kref *kref);
sys/dev/cxgbe/iw_cxgbe/iw_cxgbe.h
826
struct kref kref;
sys/dev/cxgbe/iw_cxgbe/qp.c
1546
BUG_ON(kref_read(&qhp->ep->com.kref) < 2);
sys/dev/cxgbe/iw_cxgbe/qp.c
1808
kref_init(&qhp->kref);
sys/dev/cxgbe/iw_cxgbe/qp.c
590
static void queue_qp_free(struct kref *kref)
sys/dev/cxgbe/iw_cxgbe/qp.c
594
qhp = container_of(kref, struct c4iw_qp, kref);
sys/dev/cxgbe/iw_cxgbe/qp.c
602
kref_get(&to_c4iw_qp(qp)->kref);
sys/dev/cxgbe/iw_cxgbe/qp.c
608
kref_put(&to_c4iw_qp(qp)->kref, queue_qp_free);
sys/dev/drm2/ttm/ttm_bo.c
115
MPASS(atomic_read(&bo->kref) == 0);
sys/dev/drm2/ttm/ttm_bo.c
1253
refcount_init(&bo->kref, 1);
sys/dev/drm2/ttm/ttm_bo.c
782
if (refcount_release(&bo->kref))
sys/dev/drm2/ttm/ttm_bo_api.h
203
u_int kref;
sys/dev/drm2/ttm/ttm_bo_api.h
310
refcount_acquire(&bo->kref);
sys/dev/drm2/ttm/ttm_bo_util.c
429
refcount_init(&fbo->kref, 1);
sys/dev/drm2/ttm/ttm_bo_vm.c
331
refcount_acquire(&bo->kref);
sys/dev/drm2/ttm/ttm_object.c
113
u_int kref;
sys/dev/drm2/ttm/ttm_object.c
274
refcount_acquire(&ref->kref);
sys/dev/drm2/ttm/ttm_object.c
289
refcount_init(&ref->kref, 1);
sys/dev/drm2/ttm/ttm_object.c
349
if (refcount_release(&ref->kref))
sys/dev/mlx5/driver.h
458
struct kref ref_count;
sys/dev/mlx5/mlx5_core/mlx5_uar.c
80
static void up_rel_func(struct kref *kref)
sys/dev/mlx5/mlx5_core/mlx5_uar.c
82
struct mlx5_uars_page *up = container_of(kref, struct mlx5_uars_page, ref_count);
sys/ofed/drivers/infiniband/core/ib_cma.c
355
struct kref mcref;
sys/ofed/drivers/infiniband/core/ib_cma.c
510
static inline void release_mc(struct kref *kref)
sys/ofed/drivers/infiniband/core/ib_cma.c
512
struct cma_multicast *mc = container_of(kref, struct cma_multicast, mcref);
sys/ofed/drivers/infiniband/core/ib_core_uverbs.c
206
static void rdma_user_mmap_entry_free(struct kref *kref)
sys/ofed/drivers/infiniband/core/ib_core_uverbs.c
209
container_of(kref, struct rdma_user_mmap_entry, ref);
sys/ofed/drivers/infiniband/core/ib_rdma_core.c
45
static void uverbs_uobject_free(struct kref *ref)
sys/ofed/drivers/infiniband/core/ib_sa_query.c
492
static void free_sm_ah(struct kref *kref)
sys/ofed/drivers/infiniband/core/ib_sa_query.c
494
struct ib_sa_sm_ah *sm_ah = container_of(kref, struct ib_sa_sm_ah, ref);
sys/ofed/drivers/infiniband/core/ib_sa_query.c
62
struct kref ref;
sys/ofed/drivers/infiniband/core/ib_uverbs_main.c
182
void ib_uverbs_release_file(struct kref *ref)
sys/ofed/drivers/infiniband/core/uverbs.h
141
struct kref ref;
sys/ofed/drivers/infiniband/core/uverbs.h
232
void ib_uverbs_release_file(struct kref *ref);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
407
struct kref ref;
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib.h
444
void ipoib_free_ah(struct kref *kref);
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
81
void ipoib_free_ah(struct kref *kref)
sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_ib.c
83
struct ipoib_ah *ah = container_of(kref, struct ipoib_ah, ref);
sys/ofed/include/rdma/ib_verbs.h
1414
struct kref ref;
sys/ofed/include/rdma/ib_verbs.h
2086
struct kref ref;
sys/ofed/include/rdma/rdmavt_qp.h
217
struct kref ref;