Home
last modified time | relevance | path

Searched refs:test_and_set_bit_lock (Results 1 – 25 of 50) sorted by relevance

12

/linux-5.10/include/linux/
Dbit_spinlock.h27 while (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_lock()
45 if (unlikely(test_and_set_bit_lock(bitnum, addr))) { in bit_spin_trylock()
Dbuffer_head.h359 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()
Dpagemap.h601 return (likely(!test_and_set_bit_lock(PG_locked, &page->flags))); in trylock_page()
/linux-5.10/Documentation/
Datomic_bitops.txt26 test_and_set_bit_lock()
66 Except for a successful test_and_set_bit_lock() which has ACQUIRE semantics and
/linux-5.10/include/asm-generic/bitops/
Dinstrumented-lock.h53 static inline bool test_and_set_bit_lock(long nr, volatile unsigned long *addr) in test_and_set_bit_lock() function
Dlock.h18 static inline int test_and_set_bit_lock(unsigned int nr, in test_and_set_bit_lock() function
/linux-5.10/arch/mips/include/asm/
Dbitops.h180 static inline int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() function
213 return test_and_set_bit_lock(nr, addr); in test_and_set_bit()
/linux-5.10/arch/riscv/include/asm/
Dbitops.h155 static inline int test_and_set_bit_lock( in test_and_set_bit_lock() function
/linux-5.10/drivers/oprofile/
Devent_buffer.c119 if (test_and_set_bit_lock(0, &buffer_opened)) in event_buffer_open()
/linux-5.10/drivers/fpga/
Dstratix10-soc.c83 if (!test_and_set_bit_lock(SVC_BUF_LOCK, in s10_free_buffers()
250 if (!test_and_set_bit_lock(SVC_BUF_LOCK, in s10_send_buf()
/linux-5.10/arch/alpha/include/asm/
Dbitops.h160 test_and_set_bit_lock(unsigned long nr, volatile void *addr) in test_and_set_bit_lock() function
/linux-5.10/arch/ia64/include/asm/
Dbitops.h224 #define test_and_set_bit_lock test_and_set_bit macro
/linux-5.10/arch/powerpc/kernel/
Dwatchdog.c98 while (unlikely(test_and_set_bit_lock(0, &__wd_smp_lock))) { in wd_smp_lock()
/linux-5.10/fs/afs/
Dvl_probe.c199 if (!test_and_set_bit_lock(AFS_VLSERVER_FL_PROBING, &server->flags) && in afs_send_vl_probes()
Dvolume.c381 if (!test_and_set_bit_lock(AFS_VOLUME_UPDATING, &volume->flags)) { in afs_check_volume_status()
/linux-5.10/net/tipc/
Dbearer.c328 test_and_set_bit_lock(0, &b->up); in tipc_enable_bearer()
652 test_and_set_bit_lock(0, &b->up); in tipc_l2_device_event()
661 test_and_set_bit_lock(0, &b->up); in tipc_l2_device_event()
/linux-5.10/arch/m68k/include/asm/
Dbitops.h523 #define test_and_set_bit_lock test_and_set_bit macro
/linux-5.10/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c320 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_scoalesce()
419 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_sringparam()
510 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_set_features()
/linux-5.10/drivers/ntb/test/
Dntb_perf.c1055 if (test_and_set_bit_lock(0, &perf->busy_flag)) in perf_set_tcnt()
1088 if (test_and_set_bit_lock(0, &perf->busy_flag)) in perf_submit_test()
1122 if (test_and_set_bit_lock(0, &perf->busy_flag)) in perf_read_stats()
/linux-5.10/drivers/soc/qcom/
Docmem.c222 if (test_and_set_bit_lock(BIT(client), &ocmem->active_allocations)) in ocmem_allocate()
/linux-5.10/drivers/rtc/
Ddev.c28 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags)) in rtc_dev_open()
/linux-5.10/arch/powerpc/include/asm/
Dkvm_book3s_64.h479 } while (test_and_set_bit_lock(KVMPPC_RMAP_LOCK_BIT, rmap)); in lock_rmap()
/linux-5.10/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c502 if (test_and_set_bit_lock(QEDE_FLAGS_PTP_TX_IN_PRORGESS, in qede_ptp_tx_ts()
/linux-5.10/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c485 if (test_and_set_bit_lock(MV88E6XXX_HWTSTAMP_TX_IN_PROGRESS, in mv88e6xxx_port_txtstamp()
/linux-5.10/drivers/usb/serial/
Dgeneric.c162 if (test_and_set_bit_lock(USB_SERIAL_WRITE_BUSY, &port->flags)) in usb_serial_generic_write_start()

12