kref 707 block/bsg.c container_of(kref, struct bsg_class_device, ref);
kref 161 fs/configfs/item.c config_item_cleanup(container_of(kref, struct config_item, ci_kref));
kref 222 fs/dlm/dlm_internal.h struct kref lkb_ref;
kref 264 fs/dlm/dlm_internal.h struct kref res_ref;
kref 512 fs/dlm/lock.c struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref);
kref 554 fs/dlm/lock.c struct dlm_rsb *r = container_of(kref, struct dlm_rsb, res_ref);
kref 660 fs/dlm/lock.c struct dlm_lkb *lkb = container_of(kref, struct dlm_lkb, lkb_ref);
kref 248 fs/lockd/svclock.c struct nlm_block *block = container_of(kref, struct nlm_block, b_count);
kref 67 fs/nfs/direct.c struct kref kref; /* release manager */
kref 156 fs/nfs/direct.c kref_init(&dreq->kref);
kref 157 fs/nfs/direct.c kref_get(&dreq->kref);
kref 173 fs/nfs/direct.c struct nfs_direct_req *dreq = container_of(kref, struct nfs_direct_req, kref);
kref 182 fs/nfs/direct.c kref_put(&dreq->kref, nfs_direct_req_free);
kref 220 fs/nfs/nfs4proc.c struct kref kref;
kref 290 fs/nfs/nfs4proc.c kref_init(&p->kref);
kref 301 fs/nfs/nfs4proc.c struct nfs4_opendata *p = container_of(kref,
kref 302 fs/nfs/nfs4proc.c struct nfs4_opendata, kref);
kref 316 fs/nfs/nfs4proc.c kref_put(&p->kref, nfs4_opendata_free);
kref 780 fs/nfs/nfs4proc.c kref_get(&data->kref);
kref 917 fs/nfs/nfs4proc.c kref_get(&data->kref);
kref 166 fs/nfs/pagelist.c struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref);
kref 134 fs/nfsd/nfs4state.c struct nfs4_file *fp = container_of(kref, struct nfs4_file, fi_ref);
kref 975 fs/nfsd/nfs4state.c container_of(kref, struct nfs4_stateowner, so_ref);
kref 347 fs/ocfs2/cluster/tcp.c struct o2net_sock_container *sc = container_of(kref,
kref 738 fs/ocfs2/cluster/tcp.c nmh = container_of(kref, struct o2net_msg_handler, nh_kref);
kref 131 fs/ocfs2/cluster/tcp_internal.h struct kref sc_kref;
kref 193 fs/ocfs2/cluster/tcp_internal.h struct kref nh_kref;
kref 70 fs/ocfs2/dlm/dlmcommon.h struct kref mle_refs;
kref 165 fs/ocfs2/dlm/dlmcommon.h struct kref dlm_refs;
kref 292 fs/ocfs2/dlm/dlmcommon.h struct kref refs;
kref 355 fs/ocfs2/dlm/dlmcommon.h struct kref lock_refs;
kref 368 fs/ocfs2/dlm/dlmdebug.c dc = container_of(kref, struct dlm_debug_ctxt, debug_refcnt);
kref 33 fs/ocfs2/dlm/dlmdebug.h struct kref debug_refcnt;
kref 320 fs/ocfs2/dlm/dlmdomain.c dlm = container_of(kref, struct dlm_ctxt, dlm_refs);
kref 360 fs/ocfs2/dlm/dlmlock.c lock = container_of(kref, struct dlm_lock, lock_refs);
kref 408 fs/ocfs2/dlm/dlmmaster.c mle = container_of(kref, struct dlm_master_list_entry, mle_refs);
kref 509 fs/ocfs2/dlm/dlmmaster.c res = container_of(kref, struct dlm_lock_resource, refs);
kref 2425 fs/ocfs2/dlmglue.c dlm_debug = container_of(kref, struct ocfs2_dlm_debug, d_refcnt);
kref 155 fs/ocfs2/ocfs2.h struct kref d_refcnt;
kref 62 include/linux/bsg.h struct kref ref;
kref 152 include/linux/cgroup.h struct kref ref;
kref 59 include/linux/configfs.h struct kref ci_kref;
kref 195 include/linux/dmaengine.h struct kref refcount;
kref 326 include/linux/dmaengine.h struct kref refcount;
kref 676 include/linux/ide.h container_of(obj, struct cont_type, kref)
kref 28 include/linux/ipc_namespace.h struct kref kref;
kref 75 include/linux/ipc_namespace.h kref_get(&ns->kref);
kref 81 include/linux/ipc_namespace.h kref_put(&ns->kref, free_ipc_ns);
kref 43 include/linux/klist.h struct kref n_ref;
kref 66 include/linux/kobject.h struct kref kref;
kref 169 include/linux/lockd/lockd.h struct kref b_count; /* Reference count */
kref 47 include/linux/nfs_page.h struct kref wb_kref; /* reference count */
kref 193 include/linux/nfsd/state.h struct kref so_ref;
kref 218 include/linux/nfsd/state.h struct kref fi_ref;
kref 20 include/linux/pid_namespace.h struct kref kref;
kref 41 include/linux/pid_namespace.h kref_get(&ns->kref);
kref 52 include/linux/pid_namespace.h kref_put(&ns->kref, free_pid_ns);
kref 44 include/linux/relay.h struct kref kref; /* channel buffer refcount */
kref 65 include/linux/relay.h struct kref kref; /* channel refcount */
kref 53 include/linux/sunrpc/cache.h struct kref ref;
kref 71 include/linux/sunrpc/cache.h void (*cache_put)(struct kref *);
kref 27 include/linux/sunrpc/clnt.h struct kref cl_kref; /* Number of references */
kref 38 include/linux/sunrpc/svc_xprt.h struct kref xpt_ref;
kref 49 include/linux/sunrpc/svcauth.h struct kref ref;
kref 124 include/linux/sunrpc/xprt.h struct kref kref; /* Reference count */
kref 213 include/linux/tty.h struct kref kref;
kref 331 include/linux/tty.h kref_get(&tty->kref);
kref 273 include/linux/tty_driver.h struct kref kref; /* Reference management */
kref 317 include/linux/tty_driver.h kref_get(&d->kref);
kref 211 include/linux/usb.h struct kref ref; /* reference counter */
kref 1318 include/linux/usb.h struct kref kref; /* reference count of the URB */
kref 142 include/linux/usb/serial.h struct kref kref;
kref 146 include/linux/usb/serial.h #define to_usb_serial(d) container_of(d, struct usb_serial, kref)
kref 13 include/linux/user_namespace.h struct kref kref;
kref 25 include/linux/user_namespace.h kref_get(&ns->kref);
kref 36 include/linux/user_namespace.h kref_put(&ns->kref, free_user_ns);
kref 42 include/linux/utsname.h struct kref kref;
kref 50 include/linux/utsname.h kref_get(&ns->kref);
kref 59 include/linux/utsname.h kref_put(&ns->kref, free_uts_ns);
kref 826 include/rdma/ib_verbs.h struct kref ref;
kref 25 init/version.c .kref = {
kref 37 ipc/namespace.c kref_init(&ns->kref);
kref 91 ipc/namespace.c ns = container_of(kref, struct ipc_namespace, kref);
kref 51 ipc/util.c .kref = {
kref 72 kernel/pid.c .kref = {
kref 87 kernel/pid_namespace.c kref_init(&ns->kref);
kref 142 kernel/pid_namespace.c ns = container_of(kref, struct pid_namespace, kref);
kref 187 kernel/relay.c kref_get(&buf->chan->kref);
kref 204 kernel/relay.c struct rchan *chan = container_of(kref, struct rchan, kref);
kref 226 kernel/relay.c kref_put(&chan->kref, relay_destroy_channel);
kref 239 kernel/relay.c struct rchan_buf *buf = container_of(kref, struct rchan_buf, kref);
kref 361 kernel/relay.c kref_init(&buf->kref);
kref 490 kernel/relay.c kref_put(&buf->kref, relay_remove_buf);
kref 600 kernel/relay.c kref_init(&chan->kref);
kref 620 kernel/relay.c kref_put(&chan->kref, relay_destroy_channel);
kref 836 kernel/relay.c kref_put(&chan->kref, relay_destroy_channel);
kref 877 kernel/relay.c kref_get(&buf->kref);
kref 931 kernel/relay.c kref_put(&buf->kref, relay_remove_buf);
kref 21 kernel/user.c .kref = {
kref 28 kernel/user_namespace.c kref_init(&ns->kref);
kref 72 kernel/user_namespace.c ns = container_of(kref, struct user_namespace, kref);
kref 34 kernel/utsname.c kref_init(&ns->kref);
kref 64 kernel/utsname.c ns = container_of(kref, struct uts_namespace, kref);
kref 176 lib/klist.c struct klist_node *n = container_of(kref, struct klist_node, n_ref);
kref 149 lib/kobject.c kref_init(&kobj->kref);
kref 522 lib/kobject.c kref_get(&kobj->kref);
kref 572 lib/kobject.c kobject_cleanup(container_of(kref, struct kobject, kref));
kref 588 lib/kobject.c kref_put(&kobj->kref, kobject_release);
kref 24 lib/kref.c atomic_set(&kref->refcount, num);
kref 34 lib/kref.c kref_set(kref, 1);
kref 43 lib/kref.c WARN_ON(!atomic_read(&kref->refcount));
kref 44 lib/kref.c atomic_inc(&kref->refcount);
kref 65 lib/kref.c WARN_ON(release == (void (*)(struct kref *))kfree);
kref 67 lib/kref.c if (atomic_dec_and_test(&kref->refcount)) {
kref 68 lib/kref.c release(kref);
kref 261 mm/hugetlb.c struct kref refs;
kref 157 net/mac80211/rate.c kref_init(&ref->kref);
kref 187 net/mac80211/rate.c ctrl_ref = container_of(kref, struct rate_control_ref, kref);
kref 248 net/mac80211/rate.c kref_get(&ref->kref);
kref 254 net/mac80211/rate.c kref_put(&ref->kref, rate_control_release);
kref 26 net/mac80211/rate.h struct kref kref;
kref 163 net/rxrpc/ar-security.c key_ref_t kref;
kref 198 net/rxrpc/ar-security.c kref = keyring_search(make_key_ref(rx->securities, 1UL),
kref 200 net/rxrpc/ar-security.c if (IS_ERR(kref)) {
kref 203 net/rxrpc/ar-security.c _leave(" = %ld [search]", PTR_ERR(kref));
kref 204 net/rxrpc/ar-security.c return PTR_ERR(kref);
kref 207 net/rxrpc/ar-security.c key = key_ref_to_ptr(kref);
kref 70 net/sunrpc/auth_gss/auth_gss.c struct kref kref;
kref 624 net/sunrpc/auth_gss/auth_gss.c kref_init(&gss_auth->kref);
kref 663 net/sunrpc/auth_gss/auth_gss.c struct gss_auth *gss_auth = container_of(kref, struct gss_auth, kref);
kref 679 net/sunrpc/auth_gss/auth_gss.c kref_put(&gss_auth->kref, gss_free_callback);
kref 772 net/sunrpc/auth_gss/auth_gss.c kref_put(&gss_auth->kref, gss_free_callback);
kref 805 net/sunrpc/auth_gss/auth_gss.c kref_get(&gss_auth->kref);
kref 403 net/sunrpc/clnt.c struct rpc_clnt *clnt = container_of(kref, struct rpc_clnt, cl_kref);
kref 432 net/sunrpc/clnt.c struct rpc_clnt *clnt = container_of(kref, struct rpc_clnt, cl_kref);
kref 435 net/sunrpc/clnt.c rpc_free_client(kref);
kref 444 net/sunrpc/clnt.c kref_init(kref);
kref 447 net/sunrpc/clnt.c kref_put(kref, rpc_free_client);
kref 126 net/sunrpc/svc_xprt.c container_of(kref, struct svc_xprt, xpt_ref);
kref 97 net/sunrpc/svcauth_unix.c struct cache_head *item = container_of(kref, struct cache_head, ref);
kref 487 net/sunrpc/svcauth_unix.c struct cache_head *item = container_of(kref, struct cache_head, ref);
kref 1035 net/sunrpc/xprt.c kref_init(&xprt->kref);
kref 1073 net/sunrpc/xprt.c struct rpc_xprt *xprt = container_of(kref, struct rpc_xprt, kref);
kref 1097 net/sunrpc/xprt.c kref_put(&xprt->kref, xprt_destroy);
kref 1107 net/sunrpc/xprt.c kref_get(&xprt->kref);