| /linux/drivers/media/pci/cx23885/ |
| H A D | cx23885-ir.c | 31 if (test_and_clear_bit(CX23885_IR_RX_SW_FIFO_OVERRUN, notifications)) in cx23885_ir_rx_work_handler() 33 if (test_and_clear_bit(CX23885_IR_RX_HW_FIFO_OVERRUN, notifications)) in cx23885_ir_rx_work_handler() 35 if (test_and_clear_bit(CX23885_IR_RX_END_OF_RX_DETECTED, notifications)) in cx23885_ir_rx_work_handler() 37 if (test_and_clear_bit(CX23885_IR_RX_FIFO_SERVICE_REQ, notifications)) in cx23885_ir_rx_work_handler() 54 if (test_and_clear_bit(CX23885_IR_TX_FIFO_SERVICE_REQ, notifications)) in cx23885_ir_tx_work_handler()
|
| /linux/arch/hexagon/include/asm/ |
| H A D | bitops.h | 31 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function 108 test_and_clear_bit(nr, addr); in clear_bit() 133 test_and_clear_bit(nr, addr); in arch___clear_bit() 152 return test_and_clear_bit(nr, addr); in arch___test_and_clear_bit()
|
| /linux/arch/sparc/lib/ |
| H A D | bitops.S | 36 ENTRY(test_and_clear_bit) /* %o0=nr, %o1=addr */ 55 ENDPROC(test_and_clear_bit) 56 EXPORT_SYMBOL(test_and_clear_bit)
|
| /linux/arch/m68k/include/asm/ |
| H A D | bitops.h | 254 #define test_and_clear_bit(nr, vaddr) bclr_reg_test_and_clear_bit(nr, vaddr) macro 256 #define test_and_clear_bit(nr, vaddr) bclr_mem_test_and_clear_bit(nr, vaddr) macro 258 #define test_and_clear_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro 266 return test_and_clear_bit(nr, addr); in arch___test_and_clear_bit()
|
| /linux/kernel/kcsan/ |
| H A D | selftest.c | 161 KCSAN_CHECK_READ_BARRIER(test_and_clear_bit(0, &test_var)); in test_barrier() 190 KCSAN_CHECK_WRITE_BARRIER(test_and_clear_bit(0, &test_var)); in test_barrier() 222 KCSAN_CHECK_RW_BARRIER(test_and_clear_bit(0, &test_var)); in test_barrier()
|
| /linux/fs/nfs/ |
| H A D | nfs4state.c | 211 if (test_and_clear_bit(NFS4_SLOT_TBL_DRAINING, &tbl->slot_tbl_state)) { in nfs4_end_drain_slot_table() 1510 if (test_and_clear_bit(NFS_CLNT_DST_SSC_COPY_STATE, in nfs42_complete_copies() 1522 if (test_and_clear_bit(NFS_CLNT_DST_SSC_COPY_STATE, in nfs42_complete_copies() 1588 if (!test_and_clear_bit(ops->state_flag_bit, &state->flags)) in nfs4_reclaim_open_state() 1749 if (!test_and_clear_bit(NFS_STATE_RECLAIM_REBOOT, in nfs4_clear_reclaim_server() 1763 if (!test_and_clear_bit(NFS4CLNT_RECLAIM_REBOOT, &clp->cl_state)) in nfs4_state_clear_reclaim_reboot() 1863 if (!test_and_clear_bit(ops->owner_flag_bit, in nfs4_do_reclaim() 2013 if (test_and_clear_bit(NFS4CLNT_SERVER_SCOPE_MISMATCH, &clp->cl_state)) in nfs4_reclaim_lease() 2142 if (!test_and_clear_bit(NFS_MIG_IN_TRANSITION, in nfs4_handle_migration() 2505 if (test_and_clear_bit(NFS4CLNT_RECALL_ANY_LAYOUT_READ, &clp->cl_state)) in nfs4_layoutreturn_any_run() [all …]
|
| /linux/arch/powerpc/platforms/pasemi/ |
| H A D | dma_lib.c | 125 if (!test_and_clear_bit(bit, txch_free)) in pasemi_alloc_tx_chan() 144 if (!test_and_clear_bit(bit, rxch_free)) in pasemi_alloc_rx_chan() 383 if (!test_and_clear_bit(bit, flags_free)) in pasemi_dma_alloc_flag() 448 if (!test_and_clear_bit(bit, fun_free)) in pasemi_dma_alloc_fun()
|
| /linux/tools/include/asm-generic/bitops/ |
| H A D | atomic.h | 13 #define clear_bit test_and_clear_bit
|
| /linux/drivers/watchdog/ |
| H A D | sbc7240_wdt.c | 56 if (test_and_clear_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { in wdt_disable() 135 if (test_and_clear_bit(SBC7240_EXPECT_CLOSE_STATUS_BIT, &wdt_status) in fop_close()
|
| /linux/drivers/hid/usbhid/ |
| H A D | hid-pidff.c | 1453 if (test_and_clear_bit(FF_CONSTANT, dev->ffbit)) in pidff_init_fields() 1456 if (test_and_clear_bit(FF_RAMP, dev->ffbit)) in pidff_init_fields() 1460 if (test_and_clear_bit(FF_PERIODIC, dev->ffbit)) in pidff_init_fields() 1466 test_and_clear_bit(FF_CONSTANT, dev->ffbit)) in pidff_init_fields() 1470 test_and_clear_bit(FF_RAMP, dev->ffbit)) in pidff_init_fields() 1476 test |= test_and_clear_bit(FF_SPRING, dev->ffbit); in pidff_init_fields() 1477 test |= test_and_clear_bit(FF_DAMPER, dev->ffbit); in pidff_init_fields() 1478 test |= test_and_clear_bit(FF_FRICTION, dev->ffbit); in pidff_init_fields() 1479 test |= test_and_clear_bit(FF_INERTIA, dev->ffbit); in pidff_init_fields() 1485 test_and_clear_bit(FF_PERIODIC, dev->ffbit)) in pidff_init_fields()
|
| /linux/arch/arm/include/asm/ |
| H A D | bitops.h | 195 #define test_and_clear_bit(nr,p) ATOMIC_BITOP(test_and_clear_bit,nr,p) macro
|
| /linux/drivers/net/phy/mediatek/ |
| H A D | mtk-phy-lib.c | 295 changed = !!test_and_clear_bit(bit_on, &priv->led_state); in mtk_phy_hw_led_on_set() 297 changed |= !!test_and_clear_bit(MTK_PHY_LED_STATE_NETDEV + in mtk_phy_hw_led_on_set() 320 changed = !!test_and_clear_bit(bit_blink, &priv->led_state); in mtk_phy_hw_led_blink_set()
|
| /linux/drivers/media/pci/cx18/ |
| H A D | cx18-fileops.c | 108 if (!test_and_clear_bit(CX18_F_S_CLAIMED, &s->s_flags)) { in cx18_release_stream() 126 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream() 133 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream() 203 if (!test_and_clear_bit(CX18_F_M_NEED_SWAP, in cx18_get_mdl() 540 if (test_and_clear_bit(CX18_F_I_ENC_PAUSED, &cx->i_flags)) in cx18_start_capture()
|
| /linux/arch/arm64/include/asm/ |
| H A D | sync_bitops.h | 22 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p)
|
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc.c | 395 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_frame() 467 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_frame() 510 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_error() 567 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_seq_done() 602 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_init_buffers() 611 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_init_buffers() 639 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_stream_complete() 692 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_irq() 746 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_irq() 768 if (test_and_clear_bit(0, &dev->hw_lock) == 0) in s5p_mfc_irq()
|
| /linux/arch/sparc/include/asm/ |
| H A D | bitops_64.h | 20 int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr);
|
| H A D | bitops_32.h | 52 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() function
|
| /linux/tools/arch/x86/include/asm/ |
| H A D | atomic.h | 79 static inline int test_and_clear_bit(long nr, unsigned long *addr) in test_and_clear_bit() function
|
| /linux/fs/netfs/ |
| H A D | fscache_cookie.c | 528 if (test_and_clear_bit(FSCACHE_COOKIE_DO_INVALIDATE, &cookie->flags)) in fscache_perform_lookup() 614 if (test_and_clear_bit(FSCACHE_COOKIE_DO_LRU_DISCARD, &cookie->flags)) in __fscache_use_cookie() 738 if (test_and_clear_bit(FSCACHE_COOKIE_DO_PREP_TO_WRITE, &cookie->flags)) { in fscache_cookie_state_machine() 756 if (test_and_clear_bit(FSCACHE_COOKIE_DO_INVALIDATE, &cookie->flags)) in fscache_cookie_state_machine() 784 if (test_and_clear_bit(FSCACHE_COOKIE_DO_INVALIDATE, &cookie->flags)) in fscache_cookie_state_machine() 849 unpinned = test_and_clear_bit(FSCACHE_COOKIE_NO_ACCESS_WAKE, &cookie->flags); in __fscache_withdraw_cookie()
|
| /linux/include/asm-generic/bitops/ |
| H A D | le.h | 51 return test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in test_and_clear_bit_le()
|
| /linux/security/keys/ |
| H A D | gc.c | 200 if (test_and_clear_bit(KEY_GC_KEY_EXPIRED, &key_gc_flags)) in key_garbage_collector() 203 if (test_and_clear_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) in key_garbage_collector()
|
| /linux/tools/include/asm-generic/ |
| H A D | atomic-gcc.h | 84 static inline int test_and_clear_bit(long nr, unsigned long *addr) in test_and_clear_bit() function
|
| /linux/drivers/gpib/fmh_gpib/ |
| H A D | fmh_gpib.c | 315 if (test_and_clear_bit(DEV_CLEAR_BN, &nec_priv->state)) in wait_for_read() 336 if (test_and_clear_bit(DEV_CLEAR_BN, &nec_priv->state)) in wait_for_rx_fifo_half_full_or_end() 360 if (test_and_clear_bit(DEV_CLEAR_BN, &nec_priv->state)) in wait_for_data_out_ready() 457 if (test_and_clear_bit(DEV_CLEAR_BN, &nec_priv->state)) in fmh_gpib_dma_write() 459 if (test_and_clear_bit(BUS_ERROR_BN, &nec_priv->state)) in fmh_gpib_dma_write() 588 if (test_and_clear_bit(DEV_CLEAR_BN, &nec_priv->state)) in wait_for_tx_fifo_half_empty() 646 if (test_and_clear_bit(DEV_CLEAR_BN, &nec_priv->state)) in fmh_gpib_fifo_write_countable() 648 if (test_and_clear_bit(BUS_ERROR_BN, &nec_priv->state)) in fmh_gpib_fifo_write_countable() 820 if (test_and_clear_bit(RECEIVED_END_BN, &nec_priv->state)) in fmh_gpib_dma_read()
|
| /linux/drivers/misc/mei/ |
| H A D | hw-txe.c | 1075 if (test_and_clear_bit(TXE_INTR_READINESS_BIT, &hw->intr_cause)) { in mei_txe_irq_thread_handler() 1101 if (test_and_clear_bit(TXE_INTR_ALIVENESS_BIT, &hw->intr_cause)) { in mei_txe_irq_thread_handler() 1115 if (test_and_clear_bit(TXE_INTR_OUT_DB_BIT, &hw->intr_cause)) { in mei_txe_irq_thread_handler() 1129 if (test_and_clear_bit(TXE_INTR_IN_READY_BIT, &hw->intr_cause)) { in mei_txe_irq_thread_handler()
|
| /linux/arch/sh/include/asm/ |
| H A D | bitops-llsc.h | 93 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
|