/linux-5.19.10/arch/hexagon/include/asm/ |
D | bitops.h | 81 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/ |
D | bitops.S | 58 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/ |
D | bitops.h | 295 #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/ |
D | selftest.c | 169 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()
|
D | kcsan_test.c | 598 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/ |
D | bitops.h | 194 #define test_and_change_bit(nr,p) ATOMIC_BITOP(test_and_change_bit,nr,p) macro
|
/linux-5.19.10/arch/arm64/include/asm/ |
D | sync_bitops.h | 23 #define sync_test_and_change_bit(nr, p) test_and_change_bit(nr, p)
|
/linux-5.19.10/arch/sparc/include/asm/ |
D | bitops_64.h | 21 int test_and_change_bit(unsigned long nr, volatile unsigned long *addr);
|
D | bitops_32.h | 72 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/ |
D | instrumented-atomic.h | 96 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/ |
D | bitops-llsc.h | 119 static inline int test_and_change_bit(int nr, volatile void *addr) in test_and_change_bit() function
|
D | bitops-grb.h | 140 static inline int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit() function
|
D | bitops-cas.h | 78 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/ |
D | atomic.h | 103 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/ |
D | bitops.h | 96 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/ |
D | bitops.h | 90 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/ |
D | bitops.h | 259 static inline int test_and_change_bit(unsigned long nr, in test_and_change_bit() function
|
/linux-5.19.10/arch/alpha/include/asm/ |
D | bitops.h | 245 test_and_change_bit(unsigned long nr, volatile void * addr) in test_and_change_bit() function
|
/linux-5.19.10/arch/ia64/include/asm/ |
D | bitops.h | 300 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/ |
D | hacking.rst | 467 和 :c:func:`test_and_change_bit()` 执行相同的操作,但如果之前设置了位,则返回
|
/linux-5.19.10/lib/ |
D | test_kasan.c | 1007 KUNIT_EXPECT_KASAN_FAIL(test, test_and_change_bit(nr, addr)); in kasan_bitops_test_and_modify()
|
/linux-5.19.10/drivers/block/drbd/ |
D | drbd_req.c | 938 return test_and_change_bit(READ_BALANCE_RR, &device->flags); in remote_due_to_read_balancing()
|
/linux-5.19.10/include/net/bluetooth/ |
D | hci_core.h | 790 #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/ |
D | qed_rdma.c | 1016 toggle_bit = !test_and_change_bit(bmap_id, in qed_rdma_toggle_bit_create_resize_cq()
|
/linux-5.19.10/Documentation/kernel-hacking/ |
D | hacking.rst | 558 :c:func:`test_and_change_bit()` do the same thing, except return
|