Symbol: test_and_set_bit_lock
arch/mips/include/asm/bitops.h
212
return test_and_set_bit_lock(nr, addr);
arch/powerpc/include/asm/kvm_book3s_64.h
480
} while (test_and_set_bit_lock(KVMPPC_RMAP_LOCK_BIT, rmap));
arch/powerpc/kernel/watchdog.c
133
while (unlikely(test_and_set_bit_lock(0, &__wd_smp_lock))) {
arch/powerpc/mm/book3s64/hash_native.c
244
if (!test_and_set_bit_lock(HPTE_LOCK_BIT, word))
arch/powerpc/platforms/powernv/idle.c
252
while (unlikely(test_and_set_bit_lock(NR_PNV_CORE_IDLE_LOCK_BIT, lock)))
drivers/block/rnbd/rnbd-clt.c
1065
if (!test_and_set_bit_lock(0, &q->in_list)) {
drivers/block/zram/zram_drv.c
86
if (!test_and_set_bit_lock(ZRAM_ENTRY_LOCK, lock)) {
drivers/firewire/ohci.c
3484
if (!test_and_set_bit_lock(0, &ctx->flushing_completions)) {
drivers/firmware/samsung/exynos-acpm.c
422
if (WARN_ON_ONCE(test_and_set_bit_lock(bit, achan->bitmap_seqnum)))
drivers/fpga/stratix10-soc.c
251
if (!test_and_set_bit_lock(SVC_BUF_LOCK,
drivers/fpga/stratix10-soc.c
84
if (!test_and_set_bit_lock(SVC_BUF_LOCK,
drivers/hid/hid-multitouch.c
1312
if (test_and_set_bit_lock(MT_IO_FLAGS_RUNNING, &td->mt_io_flags))
drivers/hid/hid-multitouch.c
2094
if (test_and_set_bit_lock(MT_IO_FLAGS_RUNNING, &td->mt_io_flags))
drivers/infiniband/ulp/rtrs/rtrs-clt.c
86
} while (test_and_set_bit_lock(bit, clt->permits_map));
drivers/md/md-cluster.c
1081
ret = test_and_set_bit_lock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD,
drivers/md/md-cluster.c
728
rv = test_and_set_bit_lock(MD_CLUSTER_HOLDING_MUTEX_FOR_RECVD,
drivers/md/raid5.c
4946
if (test_and_set_bit_lock(STRIPE_ACTIVE, &sh->state)) {
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
386
if (test_and_set_bit_lock(HELLCREEK_HWTSTAMP_TX_IN_PROGRESS,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
484
if (test_and_set_bit_lock(MV88E6XXX_HWTSTAMP_TX_IN_PROGRESS,
drivers/net/ethernet/freescale/enetc/enetc.c
987
if (test_and_set_bit_lock(ENETC_TX_ONESTEP_TSTAMP_IN_PROGRESS,
drivers/net/ethernet/freescale/gianfar.c
2007
while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state))
drivers/net/ethernet/freescale/gianfar.c
2027
while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state))
drivers/net/ethernet/freescale/gianfar_ethtool.c
328
while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state))
drivers/net/ethernet/freescale/gianfar_ethtool.c
431
while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state))
drivers/net/ethernet/freescale/gianfar_ethtool.c
522
while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state))
drivers/net/ethernet/ibm/ibmvnic.c
3269
if (test_and_set_bit_lock(0, &adapter->resetting)) {
drivers/net/ethernet/intel/i40e/i40e_txrx.c
3218
!test_and_set_bit_lock(__I40E_PTP_TX_IN_PROGRESS, pf->state)) {
drivers/net/ethernet/intel/igb/igb_main.c
6566
!test_and_set_bit_lock(__IGB_PTP_TX_IN_PROGRESS,
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
9449
!test_and_set_bit_lock(__IXGBE_PTP_TX_IN_PROGRESS,
drivers/net/ethernet/qlogic/qede/qede_ptp.c
511
if (test_and_set_bit_lock(QEDE_FLAGS_PTP_TX_IN_PRORGESS,
drivers/net/ethernet/wangxun/libwx/wx_lib.c
1616
!test_and_set_bit_lock(WX_STATE_PTP_TX_IN_PROGRESS,
drivers/ntb/test/ntb_perf.c
1054
if (test_and_set_bit_lock(0, &perf->busy_flag))
drivers/ntb/test/ntb_perf.c
1087
if (test_and_set_bit_lock(0, &perf->busy_flag))
drivers/ntb/test/ntb_perf.c
1121
if (test_and_set_bit_lock(0, &perf->busy_flag))
drivers/nvme/host/core.c
861
if (test_and_set_bit_lock(0, &ns->ctrl->discard_page_busy))
drivers/rtc/dev.c
28
if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags))
drivers/soc/qcom/ocmem.c
225
if (test_and_set_bit_lock(BIT(client), &ocmem->active_allocations))
drivers/spi/spi-axi-spi-engine.c
755
if (test_and_set_bit_lock(SPI_ENGINE_OFFLOAD_FLAG_PREPARED, &priv->flags))
drivers/spi/spi-axi-spi-engine.c
872
if (test_and_set_bit_lock(SPI_ENGINE_OFFLOAD_FLAG_ASSIGNED, &priv->flags))
drivers/usb/serial/generic.c
160
if (test_and_set_bit_lock(USB_SERIAL_WRITE_BUSY, &port->flags))
drivers/usb/serial/mos7840.c
404
if (test_and_set_bit_lock(MOS7840_FLAG_LED_BUSY, &mos7840_port->flags))
fs/afs/server.c
605
if (!test_and_set_bit_lock(AFS_SERVER_FL_UPDATING, &server->flags)) {
fs/afs/vl_probe.c
217
if (!test_and_set_bit_lock(AFS_VLSERVER_FL_PROBING, &server->flags) &&
fs/afs/volume.c
440
if (!test_and_set_bit_lock(AFS_VOLUME_UPDATING, &volume->flags)) {
fs/ext4/ioctl.c
204
if (test_and_set_bit_lock(EXT4_FLAGS_RESIZING,
fs/ext4/resize.c
91
if (test_and_set_bit_lock(EXT4_FLAGS_RESIZING,
fs/jfs/jfs_metapage.c
35
#define trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag)
fs/netfs/locking.c
223
if (test_and_set_bit_lock(NETFS_ICTX_WB_LOCK, &ictx->flags)) {
fs/netfs/locking.c
261
if (!test_and_set_bit_lock(NETFS_ICTX_WB_LOCK, &ictx->flags))
include/linux/bit_spinlock.h
40
while (unlikely(test_and_set_bit_lock(bitnum, addr))) {
include/linux/bit_spinlock.h
59
if (unlikely(test_and_set_bit_lock(bitnum, addr))) {
include/linux/buffer_head.h
427
return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state));
include/linux/pagemap.h
1120
return likely(!test_and_set_bit_lock(PG_locked, folio_flags(folio, 0)));
io_uring/futex.c
87
if (test_bit(0, &ifd->owned) || test_and_set_bit_lock(0, &ifd->owned))
io_uring/io-wq.c
405
test_and_set_bit_lock(0, &worker->create_state))
kernel/watchdog.c
254
if (test_and_set_bit_lock(0, &hard_lockup_nmi_warn))
kernel/watchdog.c
876
if (test_and_set_bit_lock(0, &soft_lockup_nmi_warn))
lib/sbitmap.c
181
if (!test_and_set_bit_lock(nr, word))
mm/kasan/kasan_test_c.c
1756
KUNIT_EXPECT_KASAN_FAIL(test, test_and_set_bit_lock(nr, addr));
mm/migrate.c
960
migrating = test_and_set_bit_lock(BH_Migrate, &head->b_state);
mm/vmscan.c
7827
if (test_and_set_bit_lock(PGDAT_RECLAIM_LOCKED, &pgdat->flags))
mm/vmscan.c
7941
if (test_and_set_bit_lock(PGDAT_RECLAIM_LOCKED,
net/rds/send.c
106
return test_and_set_bit_lock(RDS_IN_XMIT, &cp->cp_flags) == 0;
net/tipc/bearer.c
363
test_and_set_bit_lock(0, &b->up);
net/tipc/bearer.c
702
test_and_set_bit_lock(0, &b->up);
net/tipc/bearer.c
711
test_and_set_bit_lock(0, &b->up);