/freebsd-11.0-release/sys/compat/linuxkpi/common/include/linux/ |
H A D | kref.h | 30 * $FreeBSD: releng/11.0/sys/compat/linuxkpi/common/include/linux/kref.h 300497 2016-05-23 12:06:34Z hselasky $ 44 struct kref { struct 49 kref_init(struct kref *kref) argument 52 refcount_init(&kref->refcount.counter, 1); 56 kref_get(struct kref *kref) argument 59 refcount_acquire(&kref->refcount.counter); 63 kref_put(struct kref *kref, voi argument 74 kref_sub(struct kref *kref, unsigned int count, void (*rel)(struct kref *kref)) argument 88 kref_get_unless_zero(struct kref *kref) argument 94 kref_put_mutex(struct kref *kref, void (*release)(struct kref *kref), struct mutex *lock) argument [all...] |
H A D | kobject.h | 37 #include <linux/kref.h> 54 struct kref kref; member in struct:kobject 80 kref_init(&kobj->kref); 86 void linux_kobject_release(struct kref *kref); 93 kref_put(&kobj->kref, linux_kobject_release); 101 kref_get(&kobj->kref);
|
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/net/ |
H A D | tcp.h | 36 #include <linux/kref.h>
|
/freebsd-11.0-release/sys/ofed/drivers/infiniband/core/ |
H A D | uverbs.h | 40 #include <linux/kref.h> 75 struct kref ref; 87 struct kref ref; 99 struct kref ref;
|
H A D | sa_query.c | 41 #include <linux/kref.h> 55 struct kref ref; 383 static void free_sm_ah(struct kref *kref) argument 385 struct ib_sa_sm_ah *sm_ah = container_of(kref, struct ib_sa_sm_ah, ref);
|
H A D | user_mad.c | 44 #include <linux/kref.h> 101 struct kref ref; 143 static void remove_ports(struct kref *ref) 161 static void put_umad_dev(struct kref *ref)
|
H A D | uverbs_main.c | 170 static void ib_uverbs_release_dev(struct kref *ref) 178 static void ib_uverbs_release_event_file(struct kref *ref) 368 static void ib_uverbs_release_file(struct kref *ref)
|
H A D | cma.c | 211 struct kref mcref; 348 static inline void release_mc(struct kref *kref) argument 350 struct cma_multicast *mc = container_of(kref, struct cma_multicast, mcref);
|
H A D | uverbs_cmd.c | 107 * looked up, a reference must be taken on the object's kref before 138 static void release_uobj(struct kref *kref) argument 140 kfree(container_of(kref, struct ib_uobject, ref));
|
/freebsd-11.0-release/sys/dev/drm2/ttm/ |
H A D | ttm_bo_api.h | 143 * @kref: Reference count of this buffer object. When this refcount reaches 147 * Lru lists may keep one refcount, the delayed delete list, and kref != 0 204 u_int kref; member in struct:ttm_buffer_object 311 refcount_acquire(&bo->kref); 481 * On successful return, the object kref and list_kref are set to 1.
|
H A D | ttm_object.c | 98 * @kref: Ref count. 115 u_int kref; member in struct:ttm_ref_object 276 refcount_acquire(&ref->kref); 296 refcount_init(&ref->kref, 1); 356 if (refcount_release(&ref->kref))
|
H A D | ttm_bo_vm.c | 334 refcount_acquire(&bo->kref);
|
H A D | ttm_bo.c | 117 MPASS(atomic_read(&bo->kref) == 0); 784 if (refcount_release(&bo->kref)) 1255 refcount_init(&bo->kref, 1);
|
H A D | ttm_bo_util.c | 431 refcount_init(&fbo->kref, 1);
|
/freebsd-11.0-release/sys/dev/cxgbe/iw_cxgbe/ |
H A D | iw_cxgbe.h | 45 #include <linux/kref.h> 613 __func__, __LINE__, ep, atomic_read(&(ep)->kref.refcount)); \ 614 WARN_ON(atomic_read(&(ep)->kref.refcount) < 1); \ 615 kref_put(&((ep)->kref), _c4iw_free_ep); \ 620 __func__, __LINE__, ep, atomic_read(&(ep)->kref.refcount)); \ 621 kref_get(&((ep)->kref)); \ 624 void _c4iw_free_ep(struct kref *kref); 758 struct kref kref; member in struct:c4iw_ep_common [all...] |
H A D | cm.c | 911 kref_init(&epc->kref); 928 void _c4iw_free_ep(struct kref *kref) argument 933 ep = container_of(kref, struct c4iw_ep, com.kref);
|
H A D | mem.c | 39 #include <linux/kref.h>
|
H A D | qp.c | 1264 BUG_ON(atomic_read(&qhp->ep->com.kref.refcount) < 2);
|
/freebsd-11.0-release/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib.h | 83 #include <linux/kref.h> 406 struct kref ref; 452 void ipoib_free_ah(struct kref *kref);
|
H A D | ipoib_ib.c | 78 void ipoib_free_ah(struct kref *kref) argument 80 struct ipoib_ah *ah = container_of(kref, struct ipoib_ah, ref);
|
/freebsd-11.0-release/sys/dev/drm2/radeon/ |
H A D | radeon_fence.c | 113 refcount_init(&((*fence)->kref), 1); 196 * @kref: fence kref 689 refcount_acquire(&fence->kref); 706 if (refcount_release(&tmp->kref)) {
|
H A D | radeon.h | 235 unsigned int kref; member in struct:radeon_fence
|
/freebsd-11.0-release/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | 207 linux_kobject_release(struct kref *kref) argument 212 kobj = container_of(kref, struct kobject, kref);
|
/freebsd-11.0-release/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 46 #include <linux/kref.h> 1279 struct kref ref;
|