Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
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/
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-6.1.9/arch/m68k/include/asm/
Dbitops.h307 #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/
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.c603 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/
Dbitops.h196 #define test_and_change_bit(nr,p) ATOMIC_BITOP(test_and_change_bit,nr,p) macro
/linux-6.1.9/arch/arm64/include/asm/
Dsync_bitops.h23 #define sync_test_and_change_bit(nr, p) test_and_change_bit(nr, p)
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/sh/include/asm/
Dbitops-grb.h140 static inline int test_and_change_bit(int nr, volatile void * addr) in test_and_change_bit() function
Dbitops-llsc.h119 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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/arch/alpha/include/asm/
Dbitops.h245 test_and_change_bit(unsigned long nr, volatile void * addr) in test_and_change_bit() function
/linux-6.1.9/arch/mips/include/asm/
Dbitops.h259 static inline int test_and_change_bit(unsigned long nr, in test_and_change_bit() function
/linux-6.1.9/arch/ia64/include/asm/
Dbitops.h300 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/
Dhacking.rst466 和 :c:func:`test_and_change_bit()` 执行相同的操作,但如果之前设置了位,则返回
/linux-6.1.9/mm/kasan/
Dkasan_test.c1037 KUNIT_EXPECT_KASAN_FAIL(test, test_and_change_bit(nr, addr)); in kasan_bitops_test_and_modify()
/linux-6.1.9/drivers/block/drbd/
Ddrbd_req.c931 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/
Dqed_rdma.c1015 toggle_bit = !test_and_change_bit(bmap_id, in qed_rdma_toggle_bit_create_resize_cq()
/linux-6.1.9/include/net/bluetooth/
Dhci_core.h824 #define hci_dev_test_and_change_flag(hdev, nr) test_and_change_bit((nr), (hdev)->dev_flags)
/linux-6.1.9/Documentation/kernel-hacking/
Dhacking.rst558 :c:func:`test_and_change_bit()` do the same thing, except return

12