/linux-6.1.9/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() 145 test_and_change_bit(nr, addr); in arch___change_bit() 164 return test_and_change_bit(nr, addr); in arch___test_and_change_bit()
|
/linux-6.1.9/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-6.1.9/arch/m68k/include/asm/ |
D | bitops.h | 307 #define test_and_change_bit(nr, vaddr) bchg_reg_test_and_change_bit(nr, vaddr) macro 309 #define test_and_change_bit(nr, vaddr) bchg_mem_test_and_change_bit(nr, vaddr) macro 311 #define test_and_change_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro 319 return test_and_change_bit(nr, addr); in arch___test_and_change_bit()
|
/linux-6.1.9/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 | 603 KCSAN_EXPECT_READ_BARRIER(test_and_change_bit(0, &test_var), true); in test_barrier_nothreads() 648 KCSAN_EXPECT_WRITE_BARRIER(test_and_change_bit(0, &test_var), true); in test_barrier_nothreads() 693 KCSAN_EXPECT_RW_BARRIER(test_and_change_bit(0, &test_var), true); in test_barrier_nothreads()
|
/linux-6.1.9/arch/arm/include/asm/ |
D | bitops.h | 196 #define test_and_change_bit(nr,p) ATOMIC_BITOP(test_and_change_bit,nr,p) macro
|
/linux-6.1.9/arch/arm64/include/asm/ |
D | sync_bitops.h | 23 #define sync_test_and_change_bit(nr, p) test_and_change_bit(nr, p)
|
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/sh/include/asm/ |
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-llsc.h | 119 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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/ia64/include/asm/ |
D | bitops.h | 300 test_and_change_bit (int nr, volatile void *addr) in test_and_change_bit() function
|
/linux-6.1.9/Documentation/translations/zh_CN/kernel-hacking/ |
D | hacking.rst | 466 和 :c:func:`test_and_change_bit()` 执行相同的操作,但如果之前设置了位,则返回
|
/linux-6.1.9/mm/kasan/ |
D | kasan_test.c | 1037 KUNIT_EXPECT_KASAN_FAIL(test, test_and_change_bit(nr, addr)); in kasan_bitops_test_and_modify()
|
/linux-6.1.9/drivers/block/drbd/ |
D | drbd_req.c | 931 return test_and_change_bit(READ_BALANCE_RR, &device->flags); in remote_due_to_read_balancing()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_rdma.c | 1015 toggle_bit = !test_and_change_bit(bmap_id, in qed_rdma_toggle_bit_create_resize_cq()
|
/linux-6.1.9/include/net/bluetooth/ |
D | hci_core.h | 824 #define hci_dev_test_and_change_flag(hdev, nr) test_and_change_bit((nr), (hdev)->dev_flags)
|
/linux-6.1.9/Documentation/kernel-hacking/ |
D | hacking.rst | 558 :c:func:`test_and_change_bit()` do the same thing, except return
|