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

/net/ceph/
H A Dbuffer.c30 kref_init(&b->kref);
38 void ceph_buffer_release(struct kref *kref) argument
40 struct ceph_buffer *b = container_of(kref, struct ceph_buffer, kref);
H A Dmsgpool.c81 kref_init(&msg->kref); /* retake single ref */
H A Dmon_client.c428 static void release_generic_request(struct kref *kref) argument
431 container_of(kref, struct ceph_mon_generic_request, kref);
443 kref_put(&req->kref, release_generic_request);
448 kref_get(&req->kref);
552 kref_init(&req->kref);
577 kref_put(&req->kref, release_generic_request);
652 kref_init(&req->kref);
683 kref_put(&req->kref, release_generic_reques
[all...]
H A Dosd_client.c300 void ceph_osdc_release_request(struct kref *kref) argument
305 req = container_of(kref, struct ceph_osd_request, r_kref);
1820 static void __release_event(struct kref *kref) argument
1823 container_of(kref, struct ceph_osd_event, kref);
1831 kref_get(&event->kref);
1836 kref_put(&event->kref, __release_event);
1912 kref_init(&event->kref); /* on
[all...]
H A Dmessenger.c3125 kref_init(&m->kref);
3269 void ceph_msg_last_put(struct kref *kref) argument
3271 struct ceph_msg *m = container_of(kref, struct ceph_msg, kref);
/net/rxrpc/
H A Dar-security.c169 key_ref_t kref; local
204 kref = keyring_search(make_key_ref(rx->securities, 1UL),
206 if (IS_ERR(kref)) {
209 _leave(" = %ld [search]", PTR_ERR(kref));
210 return PTR_ERR(kref);
213 key = key_ref_to_ptr(kref);
/net/bluetooth/
H A Damp.c25 atomic_read(&ctrl->kref.refcount));
27 kref_get(&ctrl->kref);
30 static void amp_ctrl_destroy(struct kref *kref) argument
32 struct amp_ctrl *ctrl = container_of(kref, struct amp_ctrl, kref);
43 atomic_read(&ctrl->kref.refcount));
45 return kref_put(&ctrl->kref, &amp_ctrl_destroy);
56 kref_init(&ctrl->kref);
H A Da2mp.c762 BT_DBG("mgr %p orig refcnt %d", mgr, atomic_read(&mgr->kref.refcount));
764 kref_get(&mgr->kref);
769 static void amp_mgr_destroy(struct kref *kref) argument
771 struct amp_mgr *mgr = container_of(kref, struct amp_mgr, kref);
785 BT_DBG("mgr %p orig refcnt %d", mgr, atomic_read(&mgr->kref.refcount));
787 return kref_put(&mgr->kref, &amp_mgr_destroy);
814 kref_init(&mgr->kref);
H A Dl2cap_core.c444 kref_init(&chan->kref);
454 static void l2cap_chan_destroy(struct kref *kref) argument
456 struct l2cap_chan *chan = container_of(kref, struct l2cap_chan, kref);
469 BT_DBG("chan %p orig refcnt %d", c, atomic_read(&c->kref.refcount));
471 kref_get(&c->kref);
476 BT_DBG("chan %p orig refcnt %d", c, atomic_read(&c->kref.refcount));
478 kref_put(&c->kref, l2cap_chan_destroy);
1650 static void l2cap_conn_free(struct kref *re
[all...]
/net/bluetooth/hidp/
H A Dhidp.h27 #include <linux/kref.h>
137 struct kref ref;
H A Dcore.c24 #include <linux/kref.h>
929 static void session_free(struct kref *ref)
/net/sunrpc/
H A Dsvcauth_unix.c96 static void ip_map_put(struct kref *kref) argument
98 struct cache_head *item = container_of(kref, struct cache_head, ref);
422 static void unix_gid_put(struct kref *kref) argument
424 struct cache_head *item = container_of(kref, struct cache_head, ref);
H A Dsvc_xprt.c126 static void svc_xprt_free(struct kref *kref) argument
129 container_of(kref, struct svc_xprt, xpt_ref);
/net/sunrpc/auth_gss/
H A Dauth_gss.c75 struct kref kref; member in struct:gss_auth
902 kref_init(&gss_auth->kref);
959 gss_free_callback(struct kref *kref) argument
961 struct gss_auth *gss_auth = container_of(kref, struct gss_auth, kref);
977 kref_put(&gss_auth->kref, gss_free_callback);
1063 kref_put(&gss_auth->kref, gss_free_callback);
1108 kref_get(&gss_auth->kref);
[all...]
H A Dsvcauth_gss.c92 static void rsi_put(struct kref *ref)
346 static void rsc_put(struct kref *ref)
/net/nfc/
H A Dllcp.h67 struct kref ref;
H A Dllcp_core.c180 static void local_release(struct kref *ref)
/net/batman-adv/
H A Dtypes.h894 struct kref refcount;
H A Dvis.c35 static void batadv_free_info(struct kref *ref)

Completed in 216 milliseconds