Loading...
Defined in 1 files as a prototype:
Defined in 4 files as a function:
- arch/x86/include/asm/refcount.h, line 73 (as a function)
- include/linux/refcount.h, line 85 (as a function)
- lib/refcount.c, line 210 (as a function)
- tools/include/linux/refcount.h, line 146 (as a function)
Documented in 1 files:
Referenced in 180 files:
- arch/s390/kernel/debug.c, line 408
- arch/sparc/kernel/mdesc.c, 2 times
- arch/x86/kernel/cpu/mcheck/mce_amd.c, line 1309
- crypto/internal.h, line 111
- drivers/char/mspec.c, line 166
- drivers/connector/cn_queue.c, line 61
- drivers/crypto/cavium/nitrox/nitrox_main.c, line 596
- drivers/firewire/core.h, line 208
- drivers/gpu/drm/drm_connector.c, line 566
- drivers/gpu/drm/nouveau/nvkm/core/memory.c, line 37
- drivers/gpu/drm/vc4/vc4_bo.c, line 672
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c, line 234
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c, 4 times
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c, line 430
- drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c, line 241
- drivers/md/bcache/bcache.h, line 828
- drivers/md/dm-cache-metadata.c, line 866
- drivers/md/dm-table.c, line 519
- drivers/md/dm.c, line 806
- drivers/media/common/videobuf2/videobuf2-dma-contig.c, line 126
- drivers/media/common/videobuf2/videobuf2-dma-sg.c, line 180
- drivers/media/common/videobuf2/videobuf2-vmalloc.c, line 68
- drivers/media/pci/cx88/cx88-core.c, line 1076
- drivers/misc/lkdtm_refcount.c, 3 times
- drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c, line 181
- drivers/net/ethernet/mediatek/mtk_eth_soc.c, line 1874
- drivers/net/ethernet/mellanox/mlx4/cq.c, 2 times
- drivers/net/ethernet/mellanox/mlx4/qp.c, 2 times
- drivers/net/ethernet/mellanox/mlx4/srq.c, 2 times
- drivers/net/ethernet/mellanox/mlx5/core/cq.c, 4 times
- drivers/net/ethernet/mellanox/mlx5/core/en_rep.c, line 340
- drivers/net/ethernet/mellanox/mlx5/core/fs_core.c, 2 times
- drivers/net/hamradio/6pack.c, 2 times
- drivers/net/macsec.c, 3 times
- drivers/net/ppp/ppp_async.c, 2 times
- drivers/net/ppp/ppp_generic.c, 4 times
- drivers/net/ppp/ppp_synctty.c, 2 times
- drivers/net/vxlan.c, line 1080
- drivers/net/wireless/intersil/hostap/hostap_hw.c, line 193
- drivers/net/wireless/intersil/orinoco/orinoco_usb.c, line 302
- drivers/nvme/host/rdma.c, 3 times
- drivers/pci/host/pci-hyperv.c, line 1463
- drivers/s390/char/vmur.c, line 163
- drivers/s390/net/lcs.c, line 765
- drivers/s390/net/qeth_core_main.c, line 582
- drivers/scsi/libfc/fc_fcp.c, line 177
- drivers/scsi/libiscsi.c, line 526
- drivers/staging/ipx/af_ipx.c, line 311
- drivers/staging/vme/devices/vme_user.c, line 436
- drivers/target/target_core_iblock.c, line 290
- drivers/tty/serial/sb1250-duart.c, 2 times
- drivers/usb/gadget/function/f_fs.c, line 1608
- drivers/usb/gadget/legacy/inode.c, 2 times
- drivers/xen/gntdev.c, line 216
- fs/afs/addr_list.c, line 30
- fs/afs/callback.c, line 124
- fs/afs/file.c, line 76
- fs/afs/security.c, line 71
- fs/afs/server_list.c, line 20
- fs/btrfs/compression.c, 2 times
- fs/btrfs/delayed-inode.c, 6 times
- fs/btrfs/delayed-ref.h, 2 times
- fs/btrfs/disk-io.h, line 119
- fs/btrfs/extent-tree.c, line 327
- fs/btrfs/extent_io.c, line 241
- fs/btrfs/extent_map.c, line 76
- fs/btrfs/ordered-data.c, line 577
- fs/btrfs/raid56.c, line 849
- fs/btrfs/scrub.c, 4 times
- fs/btrfs/transaction.c, line 64
- fs/btrfs/volumes.c, line 5356
- fs/ceph/mds_client.c, line 396
- fs/ceph/super.h, line 207
- fs/debugfs/file.c, line 134
- fs/debugfs/inode.c, line 638
- fs/fuse/dev.c, line 267
- fs/fuse/file.c, line 91
- fs/fuse/inode.c, line 629
- fs/lockd/clntproc.c, line 225
- fs/lockd/host.c, line 293
- fs/lockd/svcproc.c, line 298
- fs/nfs/cache_lib.c, line 70
- fs/nfs/flexfilelayout/flexfilelayout.c, line 245
- fs/nfs/inode.c, line 957
- fs/nfs/pnfs.c, line 572
- fs/nfsd/nfs4state.c, line 1226
- fs/nilfs2/the_nilfs.c, line 809
- fs/notify/group.c, line 118
- fs/notify/mark.c, line 204
- include/linux/atmdev.h, line 272
- include/linux/cgroup.h, line 832
- include/linux/inetdevice.h, line 247
- include/linux/kref.h, line 69
- include/linux/mroute.h, line 190
- include/linux/posix_acl.h, line 55
- include/linux/skbuff.h, 2 times
- include/net/addrconf.h, 2 times
- include/net/ax25.h, 3 times
- include/net/bluetooth/rfcomm.h, line 257
- include/net/dn_fib.h, line 135
- include/net/fib_rules.h, line 120
- include/net/inet_frag.h, line 123
- include/net/ip_fib.h, line 409
- include/net/ip_vs.h, line 1424
- include/net/ipv6.h, line 321
- include/net/ipx.h, 2 times
- include/net/llc.h, line 123
- include/net/neighbour.h, line 415
- include/net/net_namespace.h, line 216
- include/net/netlabel.h, line 312
- include/net/netrom.h, 2 times
- include/net/request_sock.h, line 123
- include/net/sock.h, line 1657
- include/net/x25.h, 2 times
- include/net/xfrm.h, 3 times
- ipc/sem.c, line 2198
- ipc/util.c, line 472
- kernel/audit_tree.c, line 101
- kernel/audit_watch.c, line 120
- kernel/cgroup/cgroup.c, line 864
- kernel/seccomp.c, line 503
- lib/refcount.c, 4 times
- net/atm/lec.c, line 109
- net/atm/mpoa_caches.c, 2 times
- net/bridge/br_vlan.c, line 198
- net/ceph/osd_client.c, line 1078
- net/ceph/pagelist.c, line 20
- net/ceph/snapshot.c, line 71
- net/core/dev.c, line 2533
- net/core/dst.c, line 230
- net/core/filter.c, line 974
- net/core/neighbour.c, line 711
- net/core/net_namespace.c, line 391
- net/core/netpoll.c, line 824
- net/core/skbuff.c, 2 times
- net/core/sock.c, line 1619
- net/ipv4/cipso_ipv4.c, 2 times
- net/ipv4/fib_semantics.c, line 223
- net/ipv4/igmp.c, line 177
- net/ipv4/inet_hashtables.c, line 368
- net/ipv4/inet_timewait_sock.c, line 78
- net/ipv4/inetpeer.c, line 239
- net/ipv4/netfilter/ipt_CLUSTERIP.c, line 96
- net/ipv4/route.c, line 1412
- net/ipv6/anycast.c, line 211
- net/ipv6/calipso.c, 2 times
- net/ipv6/mcast.c, line 827
- net/ipv6/xfrm6_tunnel.c, line 210
- net/l2tp/l2tp_core.h, 2 times
- net/lapb/lapb_iface.c, line 62
- net/netfilter/nf_conntrack_expect.c, line 356
- net/netfilter/nfnetlink_acct.c, 2 times
- net/netfilter/nfnetlink_cttimeout.c, 2 times
- net/netfilter/nfnetlink_log.c, line 150
- net/netlink/af_netlink.c, line 732
- net/packet/af_packet.c, line 1783
- net/rds/ib.c, line 123
- net/rds/message.c, line 88
- net/rds/rds.h, line 862
- net/rds/recv.c, line 84
- net/sched/sch_generic.c, line 944
- net/sctp/associola.c, line 882
- net/sctp/auth.c, line 66
- net/sctp/chunk.c, line 146
- net/sctp/endpointola.c, line 296
- net/sctp/sm_make_chunk.c, line 1476
- net/sctp/transport.c, line 328
- net/sunrpc/auth_gss/auth_gss.c, 2 times
- net/unix/af_unix.c, line 215
- security/keys/key.c, line 638
- tools/perf/util/cgroup.c, 2 times
- tools/perf/util/comm.c, line 30
- tools/perf/util/cpumap.c, line 300
- tools/perf/util/dso.c, line 1275
- tools/perf/util/map.c, 2 times
- tools/perf/util/mmap.c, line 138
- tools/perf/util/namespaces.c, line 176
- tools/perf/util/thread.c, line 121
- tools/perf/util/thread_map.c, line 362
- virt/kvm/kvm_main.c, line 749