Home
last modified time | relevance | path

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

12

/Linux-v5.4/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()
Dpagemap.h470 return (likely(!test_and_set_bit_lock(PG_locked, &page->flags))); in trylock_page()
Dbuffer_head.h359 return likely(!test_and_set_bit_lock(BH_Lock, &bh->b_state)); in trylock_buffer()
/Linux-v5.4/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-v5.4/include/asm-generic/bitops/
Dlock.h18 static inline int test_and_set_bit_lock(unsigned int nr, in test_and_set_bit_lock() function
/Linux-v5.4/arch/riscv/include/asm/
Dbitops.h155 static inline int test_and_set_bit_lock( in test_and_set_bit_lock() function
/Linux-v5.4/include/asm-generic/
Dbitops-instrumented.h170 static inline bool test_and_set_bit_lock(long nr, volatile unsigned long *addr) in test_and_set_bit_lock() function
/Linux-v5.4/drivers/oprofile/
Devent_buffer.c119 if (test_and_set_bit_lock(0, &buffer_opened)) in event_buffer_open()
/Linux-v5.4/drivers/fpga/
Dstratix10-soc.c83 if (!test_and_set_bit_lock(SVC_BUF_LOCK, in s10_free_buffers()
255 if (!test_and_set_bit_lock(SVC_BUF_LOCK, in s10_send_buf()
Ddfl.h245 if (test_and_set_bit_lock(DEV_STATUS_IN_USE, &pdata->dev_status)) in dfl_feature_dev_use_begin()
/Linux-v5.4/arch/powerpc/include/asm/
Dbitops.h147 static __inline__ int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() function
Dkvm_book3s_64.h478 } while (test_and_set_bit_lock(KVMPPC_RMAP_LOCK_BIT, rmap)); in lock_rmap()
/Linux-v5.4/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-v5.4/arch/ia64/include/asm/
Dbitops.h224 #define test_and_set_bit_lock test_and_set_bit macro
/Linux-v5.4/arch/powerpc/kernel/
Dwatchdog.c98 while (unlikely(test_and_set_bit_lock(0, &__wd_smp_lock))) { in wd_smp_lock()
/Linux-v5.4/fs/afs/
Dvl_probe.c188 if (!test_and_set_bit_lock(AFS_VLSERVER_FL_PROBING, &server->flags) && in afs_send_vl_probes()
Dfs_probe.c187 if (!test_and_set_bit_lock(AFS_SERVER_FL_PROBING, &server->flags) && in afs_probe_fileservers()
Dvolume.c301 if (!test_and_set_bit_lock(AFS_VOLUME_UPDATING, &volume->flags)) { in afs_check_volume_status()
/Linux-v5.4/net/tipc/
Dbearer.c317 test_and_set_bit_lock(0, &b->up); in tipc_enable_bearer()
620 test_and_set_bit_lock(0, &b->up); in tipc_l2_device_event()
629 test_and_set_bit_lock(0, &b->up); in tipc_l2_device_event()
/Linux-v5.4/arch/mips/include/asm/
Dbitops.h291 static inline int test_and_set_bit_lock(unsigned long nr, in test_and_set_bit_lock() function
/Linux-v5.4/arch/m68k/include/asm/
Dbitops.h523 #define test_and_set_bit_lock test_and_set_bit macro
/Linux-v5.4/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c353 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_scoalesce()
452 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_sringparam()
543 while (test_and_set_bit_lock(GFAR_RESETTING, &priv->state)) in gfar_set_features()
/Linux-v5.4/drivers/ntb/test/
Dntb_perf.c1025 if (test_and_set_bit_lock(0, &perf->busy_flag)) in perf_set_tcnt()
1057 if (test_and_set_bit_lock(0, &perf->busy_flag)) in perf_submit_test()
1091 if (test_and_set_bit_lock(0, &perf->busy_flag)) in perf_read_stats()
/Linux-v5.4/drivers/rtc/
Ddev.c27 if (test_and_set_bit_lock(RTC_DEV_BUSY, &rtc->flags)) in rtc_dev_open()
/Linux-v5.4/lib/
Dtest_kasan.c711 test_and_set_bit_lock(BITS_PER_LONG + BITS_PER_BYTE, bits); in kasan_bitops()

12