/net/ceph/ |
H A D | buffer.c | 30 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 D | msgpool.c | 81 kref_init(&msg->kref); /* retake single ref */
|
H A D | mon_client.c | 428 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 D | osd_client.c | 300 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 D | messenger.c | 3125 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 D | ar-security.c | 169 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 D | amp.c | 25 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, &_ctrl_destroy); 56 kref_init(&ctrl->kref);
|
H A D | a2mp.c | 762 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, &_mgr_destroy); 814 kref_init(&mgr->kref);
|
H A D | l2cap_core.c | 444 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 D | hidp.h | 27 #include <linux/kref.h> 137 struct kref ref;
|
H A D | core.c | 24 #include <linux/kref.h> 929 static void session_free(struct kref *ref)
|
/net/sunrpc/ |
H A D | svcauth_unix.c | 96 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 D | svc_xprt.c | 126 static void svc_xprt_free(struct kref *kref) argument 129 container_of(kref, struct svc_xprt, xpt_ref);
|
/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 75 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 D | svcauth_gss.c | 92 static void rsi_put(struct kref *ref) 346 static void rsc_put(struct kref *ref)
|
/net/nfc/ |
H A D | llcp.h | 67 struct kref ref;
|
H A D | llcp_core.c | 180 static void local_release(struct kref *ref)
|
/net/batman-adv/ |
H A D | types.h | 894 struct kref refcount;
|
H A D | vis.c | 35 static void batadv_free_info(struct kref *ref)
|