Home
last modified time | relevance | path

Searched refs:test_and_change_bit (Results 1 – 25 of 26) sorted by relevance

12

/linux-5.19.10/arch/hexagon/include/asm/
Dbitops.h81 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() function
118 test_and_change_bit(nr, addr); in change_bit()
142 test_and_change_bit(nr, addr); in __change_bit()
158 return test_and_change_bit(nr, addr); in __test_and_change_bit()
/linux-5.19.10/arch/sparc/lib/
Dbitops.S58 ENTRY(test_and_change_bit) /* %o0=nr, %o1=addr */
77 ENDPROC(test_and_change_bit)
78 EXPORT_SYMBOL(test_and_change_bit)
/linux-5.19.10/arch/m68k/include/asm/
Dbitops.h295 #define test_and_change_bit(nr, vaddr) bchg_reg_test_and_change_bit(nr, vaddr) macro
297 #define test_and_change_bit(nr, vaddr) bchg_mem_test_and_change_bit(nr, vaddr) macro
299 #define test_and_change_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro
304 #define __test_and_change_bit(nr, vaddr) test_and_change_bit(nr, vaddr)
/linux-5.19.10/kernel/kcsan/
Dselftest.c169 KCSAN_CHECK_READ_BARRIER(test_and_change_bit(0, &test_var)); in test_barrier()
198 KCSAN_CHECK_WRITE_BARRIER(test_and_change_bit(0, &test_var)); in test_barrier()
230 KCSAN_CHECK_RW_BARRIER(test_and_change_bit(0, &test_var)); in test_barrier()
Dkcsan_test.c598 KCSAN_EXPECT_READ_BARRIER(test_and_change_bit(0, &test_var), true); in test_barrier_nothreads()
643 KCSAN_EXPECT_WRITE_BARRIER(test_and_change_bit(0, &test_var), true); in test_barrier_nothreads()
688 KCSAN_EXPECT_RW_BARRIER(test_and_change_bit(0, &test_var), true); in test_barrier_nothreads()
/linux-5.19.10/arch/arm/include/asm/
Dbitops.h194 #define test_and_change_bit(nr,p) ATOMIC_BITOP(test_and_change_bit,nr,p) macro
/linux-5.19.10/arch/arm64/include/asm/
Dsync_bitops.h23 #define sync_test_and_change_bit(nr, p) test_and_change_bit(nr, p)
/linux-5.19.10/arch/sparc/include/asm/
Dbitops_64.h21 int test_and_change_bit(unsigned long nr, volatile unsigned long *addr);
Dbitops_32.h72 static inline int test_and_change_bit(unsigned long nr, volatile unsigned long *addr) in test_and_change_bit() function
/linux-5.19.10/include/asm-generic/bitops/
Dinstrumented-atomic.h96 static __always_inline bool test_and_change_bit(long nr, volatile unsigned long *addr) in test_and_change_bit() function
/linux-5.19.10/arch/sh/include/asm/
Dbitops-llsc.h119 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() function
Dbitops-grb.h140 static inline int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit() function
Dbitops-cas.h78 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() function
/linux-5.19.10/arch/openrisc/include/asm/bitops/
Datomic.h103 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit() function
/linux-5.19.10/arch/riscv/include/asm/
Dbitops.h96 static inline int test_and_change_bit(int nr, volatile unsigned long *addr) in test_and_change_bit() function
/linux-5.19.10/arch/parisc/include/asm/
Dbitops.h90 static __inline__ int test_and_change_bit(int nr, volatile unsigned long * addr) in test_and_change_bit() function
/linux-5.19.10/arch/mips/include/asm/
Dbitops.h259 static inline int test_and_change_bit(unsigned long nr, in test_and_change_bit() function
/linux-5.19.10/arch/alpha/include/asm/
Dbitops.h245 test_and_change_bit(unsigned long nr, volatile void * addr) in test_and_change_bit() function
/linux-5.19.10/arch/ia64/include/asm/
Dbitops.h300 test_and_change_bit (int nr, volatile void *addr) in test_and_change_bit() function
/linux-5.19.10/Documentation/translations/zh_CN/kernel-hacking/
Dhacking.rst467 和 :c:func:`test_and_change_bit()` 执行相同的操作,但如果之前设置了位,则返回
/linux-5.19.10/lib/
Dtest_kasan.c1007 KUNIT_EXPECT_KASAN_FAIL(test, test_and_change_bit(nr, addr)); in kasan_bitops_test_and_modify()
/linux-5.19.10/drivers/block/drbd/
Ddrbd_req.c938 return test_and_change_bit(READ_BALANCE_RR, &device->flags); in remote_due_to_read_balancing()
/linux-5.19.10/include/net/bluetooth/
Dhci_core.h790 #define hci_dev_test_and_change_flag(hdev, nr) test_and_change_bit((nr), (hdev)->dev_flags)
/linux-5.19.10/drivers/net/ethernet/qlogic/qed/
Dqed_rdma.c1016 toggle_bit = !test_and_change_bit(bmap_id, in qed_rdma_toggle_bit_create_resize_cq()
/linux-5.19.10/Documentation/kernel-hacking/
Dhacking.rst558 :c:func:`test_and_change_bit()` do the same thing, except return

12