/net/batman-adv/ |
D | types.h | 190 struct kref refcount; 274 struct kref refcount; 344 struct kref refcount; 497 struct kref refcount; 572 struct kref refcount; 631 struct kref refcount; 666 struct kref refcount; 735 struct kref refcount; 1482 struct kref refcount; 1510 struct kref refcount; [all …]
|
D | originator.h | 24 void batadv_orig_node_release(struct kref *ref); 30 void batadv_hardif_neigh_release(struct kref *ref); 35 void batadv_neigh_node_release(struct kref *ref); 45 void batadv_neigh_ifinfo_release(struct kref *ref); 55 void batadv_orig_ifinfo_release(struct kref *ref); 64 void batadv_orig_node_vlan_release(struct kref *ref);
|
D | originator.c | 180 void batadv_orig_node_vlan_release(struct kref *ref) in batadv_orig_node_vlan_release() 224 void batadv_neigh_ifinfo_release(struct kref *ref) in batadv_neigh_ifinfo_release() 241 void batadv_hardif_neigh_release(struct kref *ref) in batadv_hardif_neigh_release() 261 void batadv_neigh_node_release(struct kref *ref) in batadv_neigh_node_release() 772 void batadv_orig_ifinfo_release(struct kref *ref) in batadv_orig_ifinfo_release() 812 void batadv_orig_node_release(struct kref *ref) in batadv_orig_node_release()
|
D | soft-interface.h | 25 void batadv_softif_vlan_release(struct kref *ref);
|
D | gateway_client.h | 31 void batadv_gw_node_release(struct kref *ref);
|
/net/ceph/ |
D | buffer.c | 26 kref_init(&b->kref); in ceph_buffer_new() 34 void ceph_buffer_release(struct kref *kref) in ceph_buffer_release() argument 36 struct ceph_buffer *b = container_of(kref, struct ceph_buffer, kref); in ceph_buffer_release()
|
D | string_table.c | 31 if (exist && !kref_get_unless_zero(&exist->kref)) { in ceph_find_or_create_string() 44 kref_init(&cs->kref); in ceph_find_or_create_string() 70 } else if (!kref_get_unless_zero(&exist->kref)) { in ceph_find_or_create_string() 88 void ceph_release_string(struct kref *ref) in ceph_release_string() 90 struct ceph_string *cs = container_of(ref, struct ceph_string, kref); in ceph_release_string()
|
D | messenger.c | 1920 kref_init(&m->kref); in ceph_msg_new2() 2099 static void ceph_msg_release(struct kref *kref) in ceph_msg_release() argument 2101 struct ceph_msg *m = container_of(kref, struct ceph_msg, kref); in ceph_msg_release() 2127 kref_read(&msg->kref)); in ceph_msg_get() 2128 kref_get(&msg->kref); in ceph_msg_get() 2136 kref_read(&msg->kref)); in ceph_msg_put() 2137 kref_put(&msg->kref, ceph_msg_release); in ceph_msg_put()
|
/net/can/j1939/ |
D | main.c | 138 kref_init(&priv->kref); in j1939_priv_create() 155 static void __j1939_priv_release(struct kref *kref) in __j1939_priv_release() argument 157 struct j1939_priv *priv = container_of(kref, struct j1939_priv, kref); in __j1939_priv_release() 172 kref_put(&priv->kref, __j1939_priv_release); in j1939_priv_put() 177 kref_get(&priv->kref); in j1939_priv_get() 210 static void __j1939_rx_release(struct kref *kref) in __j1939_rx_release() argument 213 struct j1939_priv *priv = container_of(kref, struct j1939_priv, in __j1939_rx_release()
|
D | j1939-priv.h | 39 struct kref kref; member 73 struct kref kref; member 92 struct kref rx_kref; 234 struct kref kref; member
|
D | bus.c | 17 static void __j1939_ecu_release(struct kref *kref) in __j1939_ecu_release() argument 19 struct j1939_ecu *ecu = container_of(kref, struct j1939_ecu, kref); in __j1939_ecu_release() 29 kref_put(&ecu->kref, __j1939_ecu_release); in j1939_ecu_put() 34 kref_get(&ecu->kref); in j1939_ecu_get() 157 kref_init(&ecu->kref); in j1939_ecu_create_locked()
|
/net/tipc/ |
D | subscr.c | 116 static void tipc_sub_kref_release(struct kref *kref) in tipc_sub_kref_release() argument 118 kfree(container_of(kref, struct tipc_subscription, kref)); in tipc_sub_kref_release() 123 kref_put(&subscription->kref, tipc_sub_kref_release); in tipc_sub_put() 128 kref_get(&subscription->kref); in tipc_sub_get() 164 kref_init(&sub->kref); in tipc_sub_subscribe()
|
D | topsrv.c | 93 struct kref kref; member 123 static void tipc_conn_kref_release(struct kref *kref) in tipc_conn_kref_release() argument 125 struct tipc_conn *con = container_of(kref, struct tipc_conn, kref); in tipc_conn_kref_release() 147 kref_put(&con->kref, tipc_conn_kref_release); in conn_put() 152 kref_get(&con->kref); in conn_get() 188 kref_init(&con->kref); in tipc_conn_alloc() 221 if (!connected(con) || !kref_get_unless_zero(&con->kref)) in tipc_conn_lookup()
|
D | subscr.h | 66 struct kref kref; member
|
/net/rxrpc/ |
D | security.c | 148 key_ref_t kref = NULL; in rxrpc_look_up_server_security() local 171 kref = keyring_search(make_key_ref(rx->securities, 1UL), in rxrpc_look_up_server_security() 173 if (IS_ERR(kref)) { in rxrpc_look_up_server_security() 174 key = ERR_CAST(kref); in rxrpc_look_up_server_security() 178 key = key_ref_to_ptr(kref); in rxrpc_look_up_server_security()
|
/net/tls/ |
D | tls_toe.c | 90 kref_get(&dev->kref); in tls_toe_unhash() 93 kref_put(&dev->kref, dev->release); in tls_toe_unhash() 111 kref_get(&dev->kref); in tls_toe_hash() 114 kref_put(&dev->kref, dev->release); in tls_toe_hash()
|
/net/bluetooth/ |
D | amp.c | 20 kref_read(&ctrl->kref)); in amp_ctrl_get() 22 kref_get(&ctrl->kref); in amp_ctrl_get() 25 static void amp_ctrl_destroy(struct kref *kref) in amp_ctrl_destroy() argument 27 struct amp_ctrl *ctrl = container_of(kref, struct amp_ctrl, kref); in amp_ctrl_destroy() 38 kref_read(&ctrl->kref)); in amp_ctrl_put() 40 return kref_put(&ctrl->kref, &_ctrl_destroy); in amp_ctrl_put() 51 kref_init(&ctrl->kref); in amp_ctrl_add()
|
D | a2mp.c | 821 BT_DBG("mgr %p orig refcnt %d", mgr, kref_read(&mgr->kref)); in amp_mgr_get() 823 kref_get(&mgr->kref); in amp_mgr_get() 828 static void amp_mgr_destroy(struct kref *kref) in amp_mgr_destroy() argument 830 struct amp_mgr *mgr = container_of(kref, struct amp_mgr, kref); in amp_mgr_destroy() 844 BT_DBG("mgr %p orig refcnt %d", mgr, kref_read(&mgr->kref)); in amp_mgr_put() 846 return kref_put(&mgr->kref, &_mgr_destroy); in amp_mgr_put() 873 kref_init(&mgr->kref); in amp_mgr_create()
|
D | amp.h | 12 struct kref kref; member
|
D | a2mp.h | 25 struct kref kref; member
|
/net/sunrpc/ |
D | svcauth.c | 150 static void auth_domain_release(struct kref *kref) in auth_domain_release() argument 153 struct auth_domain *dom = container_of(kref, struct auth_domain, ref); in auth_domain_release()
|
D | xprtmultipath.c | 165 static void xprt_switch_free(struct kref *kref) in xprt_switch_free() argument 167 struct rpc_xprt_switch *xps = container_of(kref, in xprt_switch_free() 235 return (kref_read(&xprt->kref) != 0 && in xprt_is_active()
|
D | svcauth_unix.c | 104 static void ip_map_put(struct kref *kref) in ip_map_put() argument 106 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put() 429 static void unix_gid_put(struct kref *kref) in unix_gid_put() argument 431 struct cache_head *item = container_of(kref, struct cache_head, ref); in unix_gid_put()
|
/net/sunrpc/auth_gss/ |
D | auth_gss.c | 65 struct kref kref; member 69 struct kref kref; member 527 kref_get(&gss_auth->kref); in gss_alloc_msg() 916 kref_init(&p->kref); in gss_pipe_alloc() 943 if (!kref_get_unless_zero(&gss_pipe->kref)) in gss_pipe_match_pdo() 993 static void __gss_pipe_release(struct kref *kref) in __gss_pipe_release() argument 995 struct gss_pipe *p = container_of(kref, struct gss_pipe, kref); in __gss_pipe_release() 1003 kref_put(&p->kref, __gss_pipe_release); in gss_pipe_free() 1052 kref_init(&gss_auth->kref); in gss_create_new() 1110 gss_free_callback(struct kref *kref) in gss_free_callback() argument [all …]
|
/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 518 static void rpcrdma_sendctx_done(struct kref *kref) in rpcrdma_sendctx_done() argument 521 container_of(kref, struct rpcrdma_req, rl_kref); in rpcrdma_sendctx_done() 1411 static void rpcrdma_reply_done(struct kref *kref) in rpcrdma_reply_done() argument 1414 container_of(kref, struct rpcrdma_req, rl_kref); in rpcrdma_reply_done()
|