test_and_set_bit
Defined as a function in:
- arch/alpha/include/asm/bitops.h, line 130
- arch/hexagon/include/asm/bitops.h, line 55
- arch/mips/include/asm/bitops.h, line 208
- arch/openrisc/include/asm/bitops/atomic.h, line 63
- arch/parisc/include/asm/bitops.h, line 54
- arch/riscv/include/asm/bitops.h, line 231
- arch/sh/include/asm/bitops-cas.h, line 50
- arch/sh/include/asm/bitops-grb.h, line 75
- arch/sh/include/asm/bitops-llsc.h, line 68
- arch/sparc/include/asm/bitops_32.h, line 32
- include/asm-generic/bitops/instrumented-atomic.h, line 68
- tools/arch/x86/include/asm/atomic.h, line 74
- tools/include/asm-generic/atomic-gcc.h, line 73
Defined as a preprocessor macro in:
Defined as a function prototype in:
Referenced (in 268 files total) in:
- arch/alpha/include/asm/bitops.h, line 130
- arch/alpha/include/asm/spinlock.h, line 52
- arch/arc/mm/tlb.c, line 491
- arch/arm/include/asm/bitops.h, 2 times
- arch/arm/mach-imx/mmdc.c, line 247
- arch/arm/mm/copypage-v4mc.c, line 70
- arch/arm/mm/copypage-v6.c, line 76
- arch/arm/mm/copypage-xscale.c, line 90
- arch/arm/mm/fault-armv.c, line 202
- arch/arm/mm/flush.c, line 307
- arch/arm64/include/asm/mte.h, line 79
- arch/arm64/include/asm/sync_bitops.h, line 21
- arch/arm64/kernel/smp.c, line 1157
- arch/arm64/kvm/arm.c, line 1333
- arch/csky/abiv1/cacheflush.c, line 59
- arch/csky/abiv2/cacheflush.c, line 24
- arch/hexagon/include/asm/bitops.h, 4 times
- arch/loongarch/kernel/perf_event.c, line 258
- arch/m68k/include/asm/bitops.h, 5 times
- arch/m68k/include/asm/mmu_context.h, line 39
- arch/microblaze/include/asm/mmu_context_mm.h, line 86
- arch/mips/include/asm/bitops.h, line 208
- arch/mips/kernel/perf_event_mipsxx.c, line 341
- arch/mips/sgi-ip27/ip27-init.c, line 51
- arch/mips/sgi-ip27/ip27-irq.c, line 46
- arch/mips/sgi-ip30/ip30-irq.c, line 38
- arch/nios2/mm/cacheflush.c, line 230
- arch/openrisc/include/asm/bitops/atomic.h, line 63
- arch/openrisc/mm/cache.c, line 47
- arch/parisc/include/asm/bitops.h, line 54
- arch/powerpc/kernel/pci-common.c, line 110
- arch/powerpc/kvm/book3s_hv_ras.c, line 227
- arch/powerpc/mm/book3s32/mmu_context.c, line 55
- arch/powerpc/platforms/52xx/mpc52xx_gpt.c, line 612
- arch/powerpc/platforms/powernv/pci-ioda.c, line 147
- arch/powerpc/platforms/powernv/pci-sriov.c, line 408
- arch/powerpc/xmon/xmon.c, 3 times
- arch/riscv/include/asm/bitops.h, line 231
- arch/riscv/kvm/vcpu.c, 3 times
- arch/s390/kernel/smp.c, line 185
- arch/s390/kvm/interrupt.c, 4 times
- arch/s390/kvm/priv.c, line 1242
- arch/s390/mm/hugetlbpage.c, line 141
- arch/sh/boards/mach-x3proto/ilsel.c, 2 times
- arch/sh/include/asm/bitops-cas.h, line 50
- arch/sh/include/asm/bitops-grb.h, line 75
- arch/sh/include/asm/bitops-llsc.h, 2 times
- arch/sh/mm/cache.c, line 151
- arch/sparc/include/asm/bitops_32.h, line 32
- arch/sparc/include/asm/bitops_64.h, line 19
- arch/sparc/include/asm/parport_64.h, line 132
- arch/sparc/kernel/pci_msi.c, line 102
- arch/um/kernel/irq.c, line 488
- arch/x86/events/amd/ibs.c, 2 times
- arch/x86/events/intel/uncore.h, line 541
- arch/x86/include/asm/posted_intr.h, 2 times
- arch/x86/kernel/cpu/perfctr-watchdog.c, 2 times
- arch/x86/kernel/cpu/sgx/ioctl.c, line 1230
- arch/x86/kernel/idt.c, line 351
- arch/x86/kvm/pmu.c, line 137
- arch/x86/kvm/xen.c, 4 times
- block/blk-mq-tag.c, 2 times
- block/genhd.c, 2 times
- block/partitions/core.c, line 511
- fs/afs/cell.c, line 375
- fs/afs/inode.c, line 52
- fs/afs/proc.c, line 131
- fs/afs/rotate.c, 2 times
- fs/afs/volume.c, line 66
- fs/bcachefs/alloc_foreground.c, line 875
- fs/bcachefs/btree_io.h, line 20
- fs/bcachefs/super.c, line 403
- fs/btrfs/async-thread.c, line 241
- fs/btrfs/ctree.c, line 292
- fs/btrfs/defrag.c, line 575
- fs/btrfs/extent_io.c, 4 times
- fs/btrfs/free-space-cache.c, line 158
- fs/btrfs/inode.c, 2 times
- fs/btrfs/messages.c, 2 times
- fs/btrfs/ordered-data.c, 2 times
- fs/btrfs/qgroup.c, line 4182
- fs/btrfs/raid56.c, line 555
- fs/btrfs/relocation.c, line 3892
- fs/btrfs/transaction.c, 2 times
- fs/btrfs/transaction.h, line 240
- fs/btrfs/tree-log.c, line 4657
- fs/btrfs/volumes.c, line 8292
- fs/btrfs/zoned.c, line 1109
- fs/cachefiles/cache.c, line 276
- fs/dlm/lowcomms.c, 3 times
- fs/ext4/ext4.h, line 3471
- fs/f2fs/gc.c, 2 times
- fs/f2fs/segment.c, 2 times
- fs/f2fs/segment.h, 3 times
- fs/fs-writeback.c, line 1251
- fs/fuse/dev.c, line 288
- fs/gfs2/glock.c, 5 times
- fs/gfs2/quota.c, 2 times
- fs/gfs2/recovery.c, line 569
- fs/gfs2/sys.c, line 337
- fs/netfs/fscache_cookie.c, 4 times
- fs/netfs/fscache_volume.c, 2 times
- fs/nfs/blocklayout/dev.c, line 39
- fs/nfs/delegation.c, 4 times
- fs/nfs/dir.c, line 3202
- fs/nfs/dns_resolve.c, line 154
- fs/nfs/filelayout/filelayout.c, 2 times
- fs/nfs/flexfilelayout/flexfilelayout.c, 5 times
- fs/nfs/nfs4state.c, 10 times
- fs/nfs/pagelist.c, 3 times
- fs/nfs/pnfs.c, 17 times
- fs/nfs/pnfs_nfs.c, line 999
- fs/nfs/write.c, line 783
- fs/nfsd/filecache.c, line 717
- fs/nfsd/nfs4callback.c, 2 times
- fs/nfsd/nfs4proc.c, line 1289
- fs/nfsd/nfs4recover.c, line 201
- fs/nfsd/nfs4state.c, 2 times
- fs/nilfs2/inode.c, line 1069
- fs/nilfs2/ioctl.c, line 925
- fs/ocfs2/cluster/nodemanager.c, 3 times
- fs/ocfs2/cluster/quorum.c, line 166
- fs/omfs/bitmap.c, line 105
- fs/quota/dquot.c, 3 times
- fs/smb/client/connect.c, line 4270
- fs/smb/server/oplock.c, line 590
- fs/ubifs/lpt.c, 2 times
- fs/ubifs/lpt_commit.c, 4 times
- fs/ubifs/tnc.c, line 279
- fs/xfs/libxfs/xfs_trans_inode.c, line 109
- fs/xfs/xfs_fsops.c, line 488
- fs/xfs/xfs_log.c, 2 times
- fs/xfs/xfs_mount.h, 2 times
- fs/xfs/xfs_trans_ail.c, line 824
- fs/xfs/xfs_trans_priv.h, 2 times
- include/asm-generic/bitops/instrumented-atomic.h, line 68
- include/asm-generic/bitops/le.h, line 46
- include/linux/buffer_head.h, line 110
- include/linux/cpumask.h, line 576
- include/linux/interrupt.h, 3 times
- include/linux/lru_cache.h, line 268
- include/linux/mISDNhw.h, line 74
- include/linux/netdevice.h, 2 times
- include/linux/nfs_page.h, line 233
- include/linux/nodemask.h, line 159
- include/linux/of.h, line 198
- include/linux/page-flags.h, 2 times
- include/linux/phy.h, line 2151
- include/linux/sunrpc/sched.h, line 163
- include/linux/sunrpc/xprt.h, 4 times
- include/linux/thread_info.h, line 108
- include/linux/udp.h, line 105
- include/linux/wait_bit.h, 3 times
- include/net/bluetooth/hci_core.h, line 809
- include/net/bluetooth/rfcomm.h, line 265
- include/net/sch_generic.h, line 205
- io_uring/io-wq.c, line 502
- kernel/events/uprobes.c, line 1596
- kernel/irq/handle.c, 2 times
- kernel/irq/matrix.c, line 334
- kernel/kcsan/kcsan_test.c, 3 times
- kernel/kcsan/selftest.c, 3 times
- kernel/sched/wait_bit.c, line 100
- kernel/softirq.c, line 875
- kernel/time/tick-sched.c, line 1496
- kernel/workqueue.c, 5 times
- lib/irq_poll.c, 2 times
- lib/lru_cache.c, 2 times
- lib/nmi_backtrace.c, line 42
- lib/test_rhashtable.c, line 391
- lib/ubsan.c, line 126
- mm/filemap.c, 3 times
- mm/huge_memory.c, line 257
- mm/kasan/kasan_test.c, line 1543
- mm/kasan/report.c, 2 times
- mm/khugepaged.c, line 444
- mm/memcontrol.c, line 1865
- mm/mmap.c, line 3817
- mm/oom_kill.c, line 693
- mm/vmscan.c, line 7516
- mm/z3fold.c, 4 times
- net/9p/trans_fd.c, 5 times
- net/atm/pppoatm.c, 2 times
- net/bluetooth/bnep/core.c, line 236
- net/bluetooth/cmtp/core.c, line 94
- net/bluetooth/hci_conn.c, 5 times
- net/bluetooth/hci_event.c, 3 times
- net/bluetooth/hci_sync.c, line 5437
- net/bluetooth/iso.c, 2 times
- net/bluetooth/l2cap_core.c, 6 times
- net/bluetooth/mgmt.c, line 9662
- net/bluetooth/rfcomm/core.c, line 665
- net/bluetooth/rfcomm/tty.c, line 458
- net/bluetooth/smp.c, 2 times
- net/bridge/br_fdb.c, 6 times
- net/ceph/messenger.c, line 134
- net/core/dev.c, 4 times
- net/core/link_watch.c, 2 times
- net/core/netpoll.c, line 162
- net/dccp/ccids/ccid2.c, line 121
- net/handshake/request.c, 2 times
- net/ipv4/tcp_ipv4.c, line 591
- net/ipv4/tcp_output.c, line 1089
- net/ipv4/tcp_timer.c, 3 times
- net/ipv6/tcp_ipv6.c, line 474
- net/l2tp/l2tp_core.c, 2 times
- net/mac80211/agg-tx.c, 3 times
- net/mac80211/rx.c, 2 times
- net/mac80211/sta_info.h, line 783
- net/mptcp/protocol.c, line 2305
- net/mptcp/subflow.c, 3 times
- net/netfilter/nf_conntrack_core.c, 2 times
- net/netfilter/nf_conntrack_proto_gre.c, line 234
- net/netfilter/nf_conntrack_proto_sctp.c, line 513
- net/netfilter/nf_conntrack_proto_udp.c, 2 times
- net/netfilter/nf_flow_table_offload.c, line 1021
- net/netfilter/nfnetlink_acct.c, line 495
- net/netfilter/nft_flow_offload.c, line 346
- net/netfilter/nft_quota.c, line 61
- net/netfilter/xt_connlabel.c, line 40
- net/netlink/af_netlink.c, line 353
- net/nfc/nci/core.c, line 1037
- net/nfc/nci/uart.c, line 61
- net/phonet/pn_dev.c, line 143
- net/rds/cong.c, line 228
- net/rds/connection.c, line 912
- net/rds/ib_recv.c, 2 times
- net/rxrpc/call_object.c, line 555
- net/rxrpc/conn_client.c, line 536
- net/rxrpc/input.c, line 399
- net/rxrpc/local_object.c, line 102
- net/rxrpc/output.c, 2 times
- net/rxrpc/recvmsg.c, line 141
- net/sched/act_ct.c, line 428
- net/sched/sch_generic.c, line 601
- net/smc/smc_core.c, line 2547
- net/smc/smc_ib.c, 3 times
- net/smc/smc_loopback.c, line 63
- net/smc/smc_wr.c, line 177
- net/sunrpc/cache.c, line 1248
- net/sunrpc/svc_xprt.c, 5 times
- net/sunrpc/svcsock.c, line 378
- net/sunrpc/xprt.c, 9 times
- net/sunrpc/xprtsock.c, 2 times
- net/tls/tls_device.c, line 226
- net/tls/tls_sw.c, 3 times
- net/x25/x25_out.c, line 150
- security/integrity/evm/evm_crypto.c, line 57
- security/integrity/ima/ima_fs.c, line 499
- security/keys/key.c, 2 times
- security/keys/trusted-keys/trusted_tpm1.c, line 770
- sound/core/seq/seq_clientmgr.c, 2 times
- sound/core/seq/seq_queue.c, line 477
- sound/drivers/mpu401/mpu401_uart.c, line 364
- sound/drivers/serial-generic.c, line 58
- sound/isa/msnd/msnd_midi.c, line 92
- sound/pci/bt87x.c, line 407
- sound/pci/hda/hda_codec.c, 2 times
- sound/usb/caiaq/audio.c, line 629
- sound/usb/clock.c, line 269
- sound/usb/endpoint.c, line 1051
- sound/usb/line6/pcm.c, 4 times
- sound/usb/mixer.c, 2 times
- sound/usb/pcm.c, 2 times
- tools/arch/x86/include/asm/atomic.h, line 74
- tools/include/asm-generic/atomic-gcc.h, line 73
- tools/include/asm-generic/bitops/atomic.h, line 12
- tools/testing/selftests/kvm/lib/ucall_common.c, line 59
kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.