/Linux-v4.19/arch/hexagon/include/asm/ |
D | bitops.h | 69 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() function 127 test_and_set_bit(nr, addr); in set_bit() 151 test_and_set_bit(nr, addr); in __set_bit() 167 return test_and_set_bit(nr, addr); in __test_and_set_bit()
|
/Linux-v4.19/arch/mips/sgi-ip27/ |
D | ip27-irqno.c | 24 if (test_and_set_bit(irq, irq_map)) in allocate_irqno() 40 BUG_ON(test_and_set_bit(i, irq_map)); in alloc_legacy_irqno()
|
D | ip27-init.c | 65 if (test_and_set_bit(cnode, hub_init_mask)) in per_hub_init() 122 if (test_and_set_bit(slice, &hub->slice_map)) in per_cpu_init()
|
/Linux-v4.19/drivers/isdn/mISDN/ |
D | layer2.c | 205 if (test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in l2down_raw() 271 if (!test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm() 333 test_and_set_bit(FLG_PEER_BUSY, &l2->flag); in set_peer_busy() 335 test_and_set_bit(FLG_L2BLOCK, &l2->flag); in set_peer_busy() 668 test_and_set_bit(FLG_T200_RUN, &l2->flag); in start_t200() 675 test_and_set_bit(FLG_T200_RUN, &l2->flag); in restart_t200() 851 test_and_set_bit(FLG_L3_INIT, &l2->flag); in l2_establish() 862 test_and_set_bit(FLG_L3_INIT, &l2->flag); in l2_discard_i_setl3() 875 test_and_set_bit(FLG_L3_INIT, &l2->flag); in l2_l3_reestablish() 895 test_and_set_bit(FLG_PEND_REL, &l2->flag); in l2_pend_rel() [all …]
|
D | stack.c | 39 test_and_set_bit(mISDN_STACK_WORK, &st->status); in _queue_message() 230 test_and_set_bit(mISDN_STACK_RUNNING, &st->status); in mISDNStackd() 240 test_and_set_bit(mISDN_STACK_WORK, in mISDNStackd() 268 test_and_set_bit(mISDN_STACK_STOPPED, &st->status); in mISDNStackd() 272 test_and_set_bit(mISDN_STACK_RESTART, &st->status); in mISDNStackd() 276 test_and_set_bit(mISDN_STACK_RUNNING, &st->status); in mISDNStackd() 278 test_and_set_bit(mISDN_STACK_WORK, in mISDNStackd() 296 test_and_set_bit(mISDN_STACK_ACTIVE, &st->status); in mISDNStackd() 322 test_and_set_bit(mISDN_STACK_KILLED, &st->status); in mISDNStackd() 647 test_and_set_bit(mISDN_STACK_ABORT, &st->status); in delete_stack() [all …]
|
D | hwchannel.c | 68 test_and_set_bit(FLG_HDLC, &ch->Flags); in mISDN_initdchannel() 177 test_and_set_bit(FLG_FILLEMPTY, &bch->Flags); in mISDN_ctrl_bchannel() 186 test_and_set_bit(FLG_RX_OFF, &bch->Flags); in mISDN_ctrl_bchannel() 426 if (test_and_set_bit(FLG_TX_BUSY, &ch->Flags)) { in dchannel_senddata() 460 if (test_and_set_bit(FLG_TX_BUSY, &ch->Flags)) { in bchannel_senddata() 461 test_and_set_bit(FLG_TX_NEXT, &ch->Flags); in bchannel_senddata()
|
D | layer1.c | 140 test_and_set_bit(FLG_L1_DEACTTIMER, &l1->Flags); in l1_deact_req_s() 189 test_and_set_bit(FLG_L1_ACTTIMER, &l1->Flags); in l1_info4_ind() 216 test_and_set_bit(FLG_L1_ACTIVATED, &l1->Flags); in l1_timer_act() 239 test_and_set_bit(FLG_L1_T3RUN, &l1->Flags); in l1_activate_s() 355 test_and_set_bit(FLG_L1_ACTIVATING, &l1->Flags); in l1_event()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | perfctr-watchdog.c | 116 if (!test_and_set_bit(counter, perfctr_nmi_owner)) in reserve_perfctr_nmi() 144 if (!test_and_set_bit(counter, evntsel_nmi_owner)) in reserve_evntsel_nmi()
|
/Linux-v4.19/arch/sh/boards/mach-x3proto/ |
D | ilsel.c | 106 } while (test_and_set_bit(bit, &ilsel_level_map)); in ilsel_enable() 129 if (test_and_set_bit(bit, &ilsel_level_map)) in ilsel_enable_fixed()
|
/Linux-v4.19/drivers/isdn/hardware/mISDN/ |
D | mISDNisar.c | 626 test_and_set_bit(FLG_LASTDATA, in isar_fill_fifo() 631 test_and_set_bit(FLG_DLEETX, in isar_fill_fifo() 697 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next() 701 test_and_set_bit(FLG_LASTDATA, &ch->bch.Flags); in send_next() 702 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next() 723 test_and_set_bit(FLG_LL_OK, &ch->bch.Flags); in send_next() 728 test_and_set_bit(FLG_TX_EMPTY, &ch->bch.Flags); in send_next() 845 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_modem() 940 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_fax() 945 if (test_and_set_bit(FLG_FTI_RUN, in isar_pump_statev_fax() [all …]
|
/Linux-v4.19/drivers/dma-buf/ |
D | dma-fence.c | 112 if (test_and_set_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) { in dma_fence_signal_locked() 153 if (test_and_set_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags)) in dma_fence_signal() 259 if (!test_and_set_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, in dma_fence_enable_sw_signaling() 317 was_set = test_and_set_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, in dma_fence_add_callback() 447 was_set = test_and_set_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, in dma_fence_default_wait()
|
/Linux-v4.19/drivers/isdn/hisax/ |
D | hscx.c | 109 test_and_set_bit(BC_FLG_BUSY, &bcs->Flag); in hscx_l2l1() 120 test_and_set_bit(BC_FLG_BUSY, &bcs->Flag); in hscx_l2l1() 132 test_and_set_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in hscx_l2l1() 136 test_and_set_bit(BC_FLG_ACTIV, &bcs->Flag); in hscx_l2l1() 177 if (!test_and_set_bit(BC_FLG_INIT, &bcs->Flag)) { in open_hscxstate()
|
D | jade.c | 144 test_and_set_bit(BC_FLG_BUSY, &bcs->Flag); in jade_l2l1() 155 test_and_set_bit(BC_FLG_BUSY, &bcs->Flag); in jade_l2l1() 167 test_and_set_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in jade_l2l1() 171 test_and_set_bit(BC_FLG_ACTIV, &bcs->Flag); in jade_l2l1() 212 if (!test_and_set_bit(BC_FLG_INIT, &bcs->Flag)) { in open_jadestate()
|
D | arcofi.c | 23 if (test_and_set_bit(FLG_ARCOFI_TIMER, &cs->HW_Flags)) { in add_arcofi_timer() 58 test_and_set_bit(FLG_ARCOFI_ERROR, &cs->HW_Flags); in arcofi_fsm() 130 test_and_set_bit(HW_ARCOFI, &cs->HW_Flags); in init_arcofi()
|
D | hfc_2bds0.c | 343 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfc_send_data() 361 if (test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in main_rec_2bds0() 487 test_and_set_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in hfc_l2l1() 491 test_and_set_bit(BC_FLG_ACTIV, &bcs->Flag); in hfc_l2l1() 528 if (!test_and_set_bit(BC_FLG_INIT, &bcs->Flag)) { in open_hfcstate() 597 if (test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in receive_dmsg() 815 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfc2bds0_interrupt() 822 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfc2bds0_interrupt() 839 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfc2bds0_interrupt() 846 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfc2bds0_interrupt() [all …]
|
D | isar.c | 701 test_and_set_bit(BC_FLG_LASTDATA, in isar_fill_fifo() 776 test_and_set_bit(BC_FLG_NMD_DATA, &bcs->Flag); in send_frames() 780 test_and_set_bit(BC_FLG_LASTDATA, &bcs->Flag); in send_frames() 781 test_and_set_bit(BC_FLG_NMD_DATA, &bcs->Flag); in send_frames() 792 test_and_set_bit(BC_FLG_BUSY, &bcs->Flag); in send_frames() 802 test_and_set_bit(BC_FLG_LL_OK, &bcs->Flag); in send_frames() 932 test_and_set_bit(ISAR_RATE_REQ, &bcs->hw.isar.reg->Flags); in isar_pump_statev_modem() 1056 test_and_set_bit(ISAR_RATE_REQ, &bcs->hw.isar.reg->Flags); in isar_pump_statev_fax() 1060 if (test_and_set_bit(BC_FLG_FTI_RUN, &bcs->Flag)) in isar_pump_statev_fax() 1065 test_and_set_bit(BC_FLG_LL_CONN, in isar_pump_statev_fax() [all …]
|
D | hfc_sx.c | 456 if (test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in receive_dmsg() 485 if (test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in main_rec_hfcsx() 659 if (test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in receive_emsg() 771 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 778 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 795 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 802 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 823 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 838 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 898 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in HFCSX_l1hw() [all …]
|
/Linux-v4.19/arch/m68k/include/asm/ |
D | bitops.h | 195 #define test_and_set_bit(nr, vaddr) bset_reg_test_and_set_bit(nr, vaddr) macro 197 #define test_and_set_bit(nr, vaddr) bset_mem_test_and_set_bit(nr, vaddr) macro 199 #define test_and_set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro 204 #define __test_and_set_bit(nr, vaddr) test_and_set_bit(nr, vaddr) 523 #define test_and_set_bit_lock test_and_set_bit
|
/Linux-v4.19/include/linux/ |
D | wait_bit.h | 182 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock() 206 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock_io() 233 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock_action()
|
/Linux-v4.19/arch/sparc/lib/ |
D | bitops.S | 14 ENTRY(test_and_set_bit) /* %o0=nr, %o1=addr */ 33 ENDPROC(test_and_set_bit) 34 EXPORT_SYMBOL(test_and_set_bit)
|
/Linux-v4.19/kernel/irq/ |
D | handle.c | 52 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread() 73 if (test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in __irq_wake_thread()
|
/Linux-v4.19/include/linux/sunrpc/ |
D | xprt.h | 421 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected() 443 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting() 448 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound() 470 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()
|
/Linux-v4.19/lib/ |
D | irq_poll.c | 33 if (test_and_set_bit(IRQ_POLL_F_SCHED, &iop->state)) in irq_poll_sched() 148 while (test_and_set_bit(IRQ_POLL_F_SCHED, &iop->state)) in irq_poll_disable()
|
/Linux-v4.19/net/core/ |
D | link_watch.c | 124 if (test_and_set_bit(LW_URGENT, &linkwatch_flags)) in linkwatch_schedule_work() 246 if (!test_and_set_bit(__LINK_STATE_LINKWATCH_PENDING, &dev->state)) { in linkwatch_fire_event()
|
/Linux-v4.19/arch/riscv/mm/ |
D | cacheflush.c | 21 if (!test_and_set_bit(PG_dcache_clean, &page->flags)) in flush_icache_pte()
|