| /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/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | yaps.c | 464 if (test_and_clear_bit(MM81X_HIF_EVT_RX_PEND, flags)) { in mm81x_yaps_work() 470 if (test_and_clear_bit(MM81X_HIF_EVT_TX_COMMAND_PEND, flags)) { in mm81x_yaps_work() 476 if (test_and_clear_bit(MM81X_HIF_EVT_TX_BEACON_PEND, flags)) { in mm81x_yaps_work() 482 if (test_and_clear_bit(MM81X_HIF_EVT_TX_MGMT_PEND, flags)) { in mm81x_yaps_work() 488 if (test_and_clear_bit(MM81X_HIF_EVT_DATA_TRAFFIC_PAUSE_PEND, flags)) { in mm81x_yaps_work() 489 test_and_clear_bit(MM81X_HIF_EVT_DATA_TRAFFIC_RESUME_PEND, in mm81x_yaps_work() 495 if (test_and_clear_bit(MM81X_HIF_EVT_DATA_TRAFFIC_RESUME_PEND, flags)) in mm81x_yaps_work() 499 if (test_and_clear_bit(MM81X_HIF_EVT_TX_PACKET_FREED_UP_PEND, flags)) in mm81x_yaps_work() 510 if (test_and_clear_bit(MM81X_HIF_EVT_TX_DATA_PEND, flags)) { in mm81x_yaps_work()
|
| /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/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/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() 1536 if (test_and_clear_bit(NFS_CLNT_DST_SSC_COPY_STATE, in nfs42_complete_copies() 1548 if (test_and_clear_bit(NFS_CLNT_DST_SSC_COPY_STATE, in nfs42_complete_copies() 1614 if (!test_and_clear_bit(ops->state_flag_bit, &state->flags)) in nfs4_reclaim_open_state() 1775 if (!test_and_clear_bit(NFS_STATE_RECLAIM_REBOOT, in nfs4_clear_reclaim_server() 1789 if (!test_and_clear_bit(NFS4CLNT_RECLAIM_REBOOT, &clp->cl_state)) in nfs4_state_clear_reclaim_reboot() 1889 if (!test_and_clear_bit(ops->owner_flag_bit, in nfs4_do_reclaim() 2039 if (test_and_clear_bit(NFS4CLNT_SERVER_SCOPE_MISMATCH, &clp->cl_state)) in nfs4_reclaim_lease() 2168 if (!test_and_clear_bit(NFS_MIG_IN_TRANSITION, in nfs4_handle_migration() 2531 if (test_and_clear_bit(NFS4CLNT_RECALL_ANY_LAYOUT_READ, &clp->cl_state)) in nfs4_layoutreturn_any_run() [all …]
|
| /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/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/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/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/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/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/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/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/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/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/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/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/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
|
| H A D | bitops-grb.h | 106 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
|
| /linux/arch/openrisc/include/asm/bitops/ |
| H A D | atomic.h | 83 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
|