/linux-4.1.27/drivers/media/pci/cx23885/ |
D | cx23885-ir.c | 40 if (test_and_clear_bit(CX23885_IR_RX_SW_FIFO_OVERRUN, notifications)) in cx23885_ir_rx_work_handler() 42 if (test_and_clear_bit(CX23885_IR_RX_HW_FIFO_OVERRUN, notifications)) in cx23885_ir_rx_work_handler() 44 if (test_and_clear_bit(CX23885_IR_RX_END_OF_RX_DETECTED, notifications)) in cx23885_ir_rx_work_handler() 46 if (test_and_clear_bit(CX23885_IR_RX_FIFO_SERVICE_REQ, notifications)) in cx23885_ir_rx_work_handler() 63 if (test_and_clear_bit(CX23885_IR_TX_FIFO_SERVICE_REQ, notifications)) in cx23885_ir_tx_work_handler()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
D | hwchannel.c | 29 if (test_and_clear_bit(FLG_RECVQUEUE, &dch->Flags)) { in dchannel_bh() 39 if (test_and_clear_bit(FLG_PHCHANGE, &dch->Flags)) { in dchannel_bh() 52 if (test_and_clear_bit(FLG_RECVQUEUE, &bch->Flags)) { in bchannel_bh() 140 test_and_clear_bit(FLG_TX_BUSY, &ch->Flags); in mISDN_clear_bchannel() 141 test_and_clear_bit(FLG_TX_NEXT, &ch->Flags); in mISDN_clear_bchannel() 142 test_and_clear_bit(FLG_ACTIVE, &ch->Flags); in mISDN_clear_bchannel() 143 test_and_clear_bit(FLG_FILLEMPTY, &ch->Flags); in mISDN_clear_bchannel() 144 test_and_clear_bit(FLG_TX_EMPTY, &ch->Flags); in mISDN_clear_bchannel() 145 test_and_clear_bit(FLG_RX_OFF, &ch->Flags); in mISDN_clear_bchannel() 179 test_and_clear_bit(FLG_FILLEMPTY, &bch->Flags); in mISDN_ctrl_bchannel() [all …]
|
D | layer1.c | 183 if (test_and_clear_bit(FLG_L1_DEACTTIMER, &l1->Flags)) in l1_info4_ind() 186 if (test_and_clear_bit(FLG_L1_T3RUN, &l1->Flags)) in l1_info4_ind() 198 test_and_clear_bit(FLG_L1_T3RUN, &l1->Flags); in l1_timer3() 199 if (test_and_clear_bit(FLG_L1_ACTIVATING, &l1->Flags)) { in l1_timer3() 200 if (test_and_clear_bit(FLG_L1_DBLOCKED, &l1->Flags)) in l1_timer3() 215 test_and_clear_bit(FLG_L1_ACTTIMER, &l1->Flags); in l1_timer_act() 225 test_and_clear_bit(FLG_L1_DEACTTIMER, &l1->Flags); in l1_timer_deact() 226 test_and_clear_bit(FLG_L1_ACTIVATED, &l1->Flags); in l1_timer_deact() 227 if (test_and_clear_bit(FLG_L1_DBLOCKED, &l1->Flags)) in l1_timer_deact() 251 test_and_clear_bit(FLG_L1_ACTIVATING, &l1->Flags); in l1_activate_no() [all …]
|
D | stack.c | 224 test_and_clear_bit(mISDN_STACK_WORK, &st->status); in mISDNStackd() 225 test_and_clear_bit(mISDN_STACK_RUNNING, &st->status); in mISDNStackd() 231 test_and_clear_bit(mISDN_STACK_WORK, in mISDNStackd() 257 test_and_clear_bit(mISDN_STACK_WORK, in mISDNStackd() 259 test_and_clear_bit(mISDN_STACK_RUNNING, in mISDNStackd() 266 test_and_clear_bit(mISDN_STACK_RUNNING, &st->status); in mISDNStackd() 268 test_and_clear_bit(mISDN_STACK_CLEARING, &st->status); in mISDNStackd() 271 if (test_and_clear_bit(mISDN_STACK_RESTART, &st->status)) { in mISDNStackd() 272 test_and_clear_bit(mISDN_STACK_STOPPED, &st->status); in mISDNStackd() 287 test_and_clear_bit(mISDN_STACK_ACTIVE, &st->status); in mISDNStackd() [all …]
|
D | layer2.c | 266 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm() 278 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm() 281 test_and_clear_bit(FLG_L1_NOTREADY, &l2->flag); in ph_data_confirm() 340 if (test_and_clear_bit(FLG_PEER_BUSY, &l2->flag)) in clear_peer_busy() 341 test_and_clear_bit(FLG_L2BLOCK, &l2->flag); in clear_peer_busy() 393 test_and_clear_bit(FLG_ACK_PEND, &l2->flag); in clear_exception() 394 test_and_clear_bit(FLG_REJEXC, &l2->flag); in clear_exception() 395 test_and_clear_bit(FLG_OWN_BUSY, &l2->flag); in clear_exception() 681 if (test_and_clear_bit(FLG_T200_RUN, &l2->flag)) in stop_t200() 690 if (test_and_clear_bit(FLG_PEND_REL, &l2->flag)) in st5_dl_release_l2l3() [all …]
|
D | tei.c | 347 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_send() 354 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_send() 377 test_and_clear_bit(MGR_PH_NOTREADY, &mgr->options); in do_ack() 1133 test_and_clear_bit(MGR_PH_ACTIVE, &mgr->options); in mgr_send() 1152 test_and_clear_bit(OPTION_L1_HOLD, &mgr->options); in free_teimanager() 1164 test_and_clear_bit(MGR_OPT_NETWORK, &mgr->options); in free_teimanager() 1173 test_and_clear_bit(MGR_OPT_USER, &mgr->options); in free_teimanager() 1191 test_and_clear_bit(OPTION_L2_CLEANUP, &mgr->options); in ctrl_teimanager() 1197 test_and_clear_bit(OPTION_L1_HOLD, &mgr->options); in ctrl_teimanager()
|
D | l1oip_core.c | 793 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in l1oip_socket_close() 867 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in l1oip_timeout() 1174 test_and_clear_bit(FLG_ACTIVE, &bch->Flags); in handle_bmsg() 1223 test_and_clear_bit(FLG_OPEN, &bch->Flags); in l1oip_bctrl() 1224 test_and_clear_bit(FLG_ACTIVE, &bch->Flags); in l1oip_bctrl()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | bitops.h | 45 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function 122 test_and_clear_bit(nr, addr); in clear_bit() 146 test_and_clear_bit(nr, addr); in __clear_bit() 162 return test_and_clear_bit(nr, addr); in __test_and_clear_bit()
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | amd7930_fn.c | 242 if (test_and_clear_bit(D_CLEARBUSY, &cs->event)) { in Amd7930_bh() 251 if (test_and_clear_bit(D_L1STATECHANGE, &cs->event)) { in Amd7930_bh() 257 if (test_and_clear_bit(D_RCVBUFREADY, &cs->event)) { in Amd7930_bh() 263 if (test_and_clear_bit(D_XMTBUFREADY, &cs->event)) { in Amd7930_bh() 442 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in Amd7930_interrupt() 444 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in Amd7930_interrupt() 460 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in Amd7930_interrupt() 462 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in Amd7930_interrupt() 481 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in Amd7930_interrupt() 483 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in Amd7930_interrupt() [all …]
|
D | hscx.c | 129 test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in hscx_l2l1() 146 test_and_clear_bit(BC_FLG_ACTIV, &bcs->Flag); in hscx_l2l1() 147 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hscx_l2l1() 159 if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { in close_hscxstate() 169 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in close_hscxstate() 181 test_and_clear_bit(BC_FLG_INIT, &bcs->Flag); in open_hscxstate() 187 test_and_clear_bit(BC_FLG_INIT, &bcs->Flag); in open_hscxstate() 196 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in open_hscxstate()
|
D | jade.c | 164 test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in jade_l2l1() 181 test_and_clear_bit(BC_FLG_ACTIV, &bcs->Flag); in jade_l2l1() 182 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in jade_l2l1() 194 if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { in close_jadestate() 204 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in close_jadestate() 216 test_and_clear_bit(BC_FLG_INIT, &bcs->Flag); in open_jadestate() 222 test_and_clear_bit(BC_FLG_INIT, &bcs->Flag); in open_jadestate() 231 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in open_jadestate()
|
D | hfc_2bds0.c | 334 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hfc_fill_fifo() 345 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in hfc_send_data() 398 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in main_rec_2bds0() 484 test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in hfc_l2l1() 501 test_and_clear_bit(BC_FLG_ACTIV, &bcs->Flag); in hfc_l2l1() 502 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hfc_l2l1() 514 if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { in close_2bs0() 520 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in close_2bs0() 533 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in open_hfcstate() 559 if (test_and_clear_bit(D_L1STATECHANGE, &cs->event)) { in hfcd_bh() [all …]
|
D | isdnl2.c | 119 if (test_and_clear_bit(FLG_PEER_BUSY, &l2->flag)) in clear_peer_busy() 120 test_and_clear_bit(FLG_L2BLOCK, &l2->flag); in clear_peer_busy() 177 test_and_clear_bit(FLG_ACK_PEND, &l2->flag); in clear_exception() 178 test_and_clear_bit(FLG_REJEXC, &l2->flag); in clear_exception() 179 test_and_clear_bit(FLG_OWN_BUSY, &l2->flag); in clear_exception() 473 if (test_and_clear_bit(FLG_T200_RUN, &st->l2.flag)) in stop_t200() 482 if (test_and_clear_bit(FLG_PEND_REL, &st->l2.flag)) in st5_dl_release_l2l3() 510 test_and_clear_bit(FLG_PEND_REL, &st->l2.flag); in establishlink() 538 test_and_clear_bit(FLG_L3_INIT, &st->l2.flag); in l2_mdl_error_dm() 554 test_and_clear_bit(FLG_L3_INIT, &st->l2.flag); in l2_st8_mdl_error_dm() [all …]
|
D | w6692.c | 109 if (test_and_clear_bit(D_CLEARBUSY, &cs->event)) { in W6692_bh() 118 if (test_and_clear_bit(D_L1STATECHANGE, &cs->event)) in W6692_bh() 120 if (test_and_clear_bit(D_RCVBUFREADY, &cs->event)) in W6692_bh() 122 if (test_and_clear_bit(D_XMTBUFREADY, &cs->event)) in W6692_bh() 395 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in W6692B_interrupt() 456 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in W6692_interrupt() 458 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in W6692_interrupt() 488 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in W6692_interrupt() 490 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in W6692_interrupt() 618 test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in W6692_l1hw() [all …]
|
D | isac.c | 90 if (test_and_clear_bit(D_CLEARBUSY, &cs->event)) { in isac_bh() 99 if (test_and_clear_bit(D_L1STATECHANGE, &cs->event)) in isac_bh() 101 if (test_and_clear_bit(D_RCVBUFREADY, &cs->event)) in isac_bh() 103 if (test_and_clear_bit(D_XMTBUFREADY, &cs->event)) in isac_bh() 108 if (test_and_clear_bit(D_RX_MON1, &cs->event)) in isac_bh() 110 if (test_and_clear_bit(D_TX_MON1, &cs->event)) in isac_bh() 240 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in isac_interrupt() 242 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in isac_interrupt() 296 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in isac_interrupt() 298 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in isac_interrupt() [all …]
|
D | icc.c | 87 if (test_and_clear_bit(D_CLEARBUSY, &cs->event)) { in icc_bh() 96 if (test_and_clear_bit(D_L1STATECHANGE, &cs->event)) in icc_bh() 98 if (test_and_clear_bit(D_RCVBUFREADY, &cs->event)) in icc_bh() 100 if (test_and_clear_bit(D_XMTBUFREADY, &cs->event)) in icc_bh() 105 if (test_and_clear_bit(D_RX_MON1, &cs->event)) in icc_bh() 107 if (test_and_clear_bit(D_TX_MON1, &cs->event)) in icc_bh() 237 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in icc_interrupt() 239 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in icc_interrupt() 293 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in icc_interrupt() 295 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in icc_interrupt() [all …]
|
D | isdnl1.c | 162 if (test_and_clear_bit(FLG_L1_ACTIVATING, &st->l1.Flags)) in L1activated() 182 test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags); in L1deactivated() 195 if (test_and_clear_bit(FLG_L1_PULL_REQ, &stptr->l1.Flags)) { in DChannel_proc_xmt() 280 if (test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags)) in BChannel_proc_xmt() 325 if (test_and_clear_bit(B_RCVBUFREADY, &bcs->event)) in BChannel_bh() 327 if (test_and_clear_bit(B_XMTBUFREADY, &bcs->event)) in BChannel_bh() 329 if (test_and_clear_bit(B_ACKPENDING, &bcs->event)) in BChannel_bh() 535 if (test_and_clear_bit(FLG_L1_DEACTTIMER, &st->l1.Flags)) in l1_info4_ind() 538 if (test_and_clear_bit(FLG_L1_T3RUN, &st->l1.Flags)) in l1_info4_ind() 550 test_and_clear_bit(FLG_L1_T3RUN, &st->l1.Flags); in l1_timer3() [all …]
|
D | hfc_sx.c | 468 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in receive_dmsg() 498 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in main_rec_hfcsx() 552 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hfcsx_fill_fifo() 685 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in receive_emsg() 772 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in hfcsx_interrupt() 779 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in hfcsx_interrupt() 796 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in hfcsx_interrupt() 803 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in hfcsx_interrupt() 816 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in hfcsx_interrupt() 818 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in hfcsx_interrupt() [all …]
|
D | hfc_pci.c | 390 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in receive_dmsg() 509 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in main_rec_hfcpci() 662 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hfcpci_fill_fifo() 727 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hfcpci_fill_fifo() 919 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in receive_emsg() 1007 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in hfcpci_interrupt() 1014 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in hfcpci_interrupt() 1031 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in hfcpci_interrupt() 1038 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in hfcpci_interrupt() 1051 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in hfcpci_interrupt() [all …]
|
D | isar.c | 446 if (test_and_clear_bit(B_LL_NOCARRIER, &bcs->event)) in isar_bh() 448 if (test_and_clear_bit(B_LL_CONNECT, &bcs->event)) in isar_bh() 450 if (test_and_clear_bit(B_LL_OK, &bcs->event)) in isar_bh() 644 test_and_clear_bit(BC_FLG_FRH_WAIT, &bcs->Flag); in isar_rcv_frame() 656 if (test_and_clear_bit(BC_FLG_FRH_WAIT, &bcs->Flag)) { in isar_rcv_frame() 795 if (test_and_clear_bit(BC_FLG_DLEETX, &bcs->Flag)) { in send_frames() 796 if (test_and_clear_bit(BC_FLG_LASTDATA, &bcs->Flag)) { in send_frames() 797 if (test_and_clear_bit(BC_FLG_NMD_DATA, &bcs->Flag)) { in send_frames() 807 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in send_frames() 848 if (!test_and_clear_bit(ISAR_RATE_REQ, &bcs->hw.isar.reg->Flags)) in isar_pump_status_rsp() [all …]
|
D | arcofi.c | 82 if (test_and_clear_bit(FLG_ARCOFI_TIMER, &cs->HW_Flags)) { in arcofi_fsm() 99 if (test_and_clear_bit(FLG_ARCOFI_TIMER, &cs->HW_Flags)) { in arcofi_fsm() 121 if (test_and_clear_bit(FLG_ARCOFI_TIMER, &cs->HW_Flags)) { in clear_arcofi()
|
D | netjet.c | 630 if (test_and_clear_bit(BC_FLG_NOFRAME, &bcs->Flag)) { in netjet_fill_dma() 632 } else if (test_and_clear_bit(BC_FLG_HALF, &bcs->Flag)) { in netjet_fill_dma() 653 } else if (test_and_clear_bit(BC_FLG_EMPTY, &bcs->Flag)) { in netjet_fill_dma() 724 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in write_raw() 729 test_and_clear_bit(BC_FLG_HALF, &bcs->Flag); in write_raw() 750 } else if (test_and_clear_bit(BC_FLG_NOFRAME, &bcs->Flag)) { in write_raw() 756 } else if (test_and_clear_bit(BC_FLG_HALF, &bcs->Flag)) { in write_raw() 822 test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in tiger_l2l1() 843 test_and_clear_bit(BC_FLG_ACTIV, &bcs->Flag); in tiger_l2l1() 844 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in tiger_l2l1() [all …]
|
D | hfc_2bs0.c | 320 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hfc_fill_fifo() 484 test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in hfc_l2l1() 501 test_and_clear_bit(BC_FLG_ACTIV, &bcs->Flag); in hfc_l2l1() 502 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hfc_l2l1() 521 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in close_hfcstate() 524 test_and_clear_bit(BC_FLG_INIT, &bcs->Flag); in close_hfcstate() 535 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in open_hfcstate()
|
D | avm_pci.c | 439 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in HDLC_irq() 515 test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in hdlc_l2l1() 532 test_and_clear_bit(BC_FLG_ACTIV, &bcs->Flag); in hdlc_l2l1() 533 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hdlc_l2l1() 545 if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { in close_hdlcstate() 555 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in close_hdlcstate() 572 test_and_clear_bit(BC_FLG_INIT, &bcs->Flag); in open_hdlcstate() 581 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in open_hdlcstate()
|
D | elsa_ser.c | 304 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in modem_fill() 430 if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { in close_elsastate() 441 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in close_elsastate() 573 test_and_clear_bit(BC_FLG_ACTIV, &bcs->Flag); in modem_l2l1() 604 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in setstack_elsa()
|
D | nj_u.c | 77 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in netjet_u_interrupt() 235 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in setup_netjet_u()
|
D | nj_s.c | 94 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in netjet_s_interrupt() 271 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in setup_netjet_s()
|
D | enternow_pci.c | 297 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in enpci_interrupt() 401 test_and_clear_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags); in setup_enternow_pci()
|
D | ipacx.c | 188 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in dch_l2l1() 372 if (test_and_clear_bit(FLG_DBUSY_TIMER, &cs->HW_Flags)) in dch_int() 374 if (test_and_clear_bit(FLG_L1_DBUSY, &cs->HW_Flags)) in dch_int() 764 if (test_and_clear_bit(BC_FLG_INIT, &bcs->Flag)) { in bch_close_state()
|
D | config.c | 1658 if (test_and_clear_bit(D_RCVBUFREADY, &cs->event)) in hisax_bh() 1660 if (test_and_clear_bit(E_RCVBUFREADY, &cs->event)) in hisax_bh() 1662 if (test_and_clear_bit(D_L1STATECHANGE, &cs->event)) { in hisax_bh() 1719 if (test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags)) { in hisax_d_l1l2() 1772 if (test_and_clear_bit(FLG_L1_PULL_REQ, &st->l1.Flags)) { in hisax_b_l1l2() 1844 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hisax_b_l2l1()
|
D | callc.c | 858 if (test_and_clear_bit(FLG_START_B, &chanp->Flags)) { in release_b_st() 1312 test_and_clear_bit(FLG_LLI_L1WAKEUP, &st->lli.flag); in init_b_st() 1325 test_and_clear_bit(FLG_LLI_L2WAKEUP, &st->lli.flag); in init_b_st() 1646 test_and_clear_bit(FLG_PTP, &csta->channel[0].d_st->l2.flag); in HiSax_command() 1647 test_and_clear_bit(FLG_FIXED_TEI, &csta->channel[0].d_st->l2.flag); in HiSax_command() 1657 test_and_clear_bit(FLG_FIXED_TEI, &chanp->d_st->l2.flag); in HiSax_command()
|
D | jade_irq.c | 196 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in jade_interrupt()
|
D | hscx_irq.c | 218 test_and_clear_bit(BC_FLG_BUSY, &bcs->Flag); in hscx_interrupt()
|
D | st5481_b.c | 173 test_and_clear_bit(buf_nr, &b_out->busy); in usb_b_out_complete()
|
/linux-4.1.27/arch/mn10300/lib/ |
D | bitops.c | 27 if (test_and_clear_bit(nr, addr)) in change_bit() 46 if (test_and_clear_bit(nr, addr)) in test_and_change_bit()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | bitops.h | 245 #define test_and_clear_bit(nr, vaddr) bclr_reg_test_and_clear_bit(nr, vaddr) macro 247 #define test_and_clear_bit(nr, vaddr) bclr_mem_test_and_clear_bit(nr, vaddr) macro 249 #define test_and_clear_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro 254 #define __test_and_clear_bit(nr, vaddr) test_and_clear_bit(nr, vaddr)
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 955 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in handle_nt_timer3() 979 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt() 980 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt() 997 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt() 1007 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt() 1008 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt() 1011 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in ph_state_nt() 1014 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in ph_state_nt() 1020 test_and_clear_bit(FLG_HFC_TIMER_T3, &dch->Flags); in ph_state_nt() 1021 test_and_clear_bit(FLG_HFC_TIMER_T1, &dch->Flags); in ph_state_nt() [all …]
|
D | mISDNipac.c | 221 if (test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) in isac_xpr_irq() 236 if (test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags)) in isac_retransmit() 595 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in isac_l1hw() 680 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in isac_l1cmd() 681 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in isac_l1cmd() 695 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in isac_l1cmd() 743 test_and_clear_bit(FLG_BUSY_TIMER, &isac->dch.Flags); in dbusy_timer_handler() 1032 test_and_clear_bit(FLG_TX_EMPTY, &hx->bch.Flags); in hscx_xpr() 1248 test_and_clear_bit(FLG_HDLC, &hscx->bch.Flags); in hscx_mode() 1249 test_and_clear_bit(FLG_TRANSPARENT, &hscx->bch.Flags); in hscx_mode() [all …]
|
D | w6692.c | 329 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in d_retransmit() 332 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in d_retransmit() 391 if (test_and_clear_bit(FLG_BUSY_TIMER, &card->dch.Flags)) in handle_txD() 621 test_and_clear_bit(FLG_HDLC, &wch->bch.Flags); in w6692_mode() 622 test_and_clear_bit(FLG_TRANSPARENT, &wch->bch.Flags); in w6692_mode() 660 test_and_clear_bit(FLG_TX_EMPTY, &wch->bch.Flags); in send_next() 838 test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags); in dbusy_timer_handler() 1056 test_and_clear_bit(FLG_OPEN, &bch->Flags); in w6692_bctrl() 1105 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in w6692_l2l1D() 1151 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in w6692_l1callback() [all …]
|
D | mISDNisar.c | 710 test_and_clear_bit(FLG_TX_EMPTY, &ch->bch.Flags); in send_next() 714 if (test_and_clear_bit(FLG_DLEETX, &ch->bch.Flags)) { in send_next() 715 if (test_and_clear_bit(FLG_LASTDATA, in send_next() 717 if (test_and_clear_bit(FLG_NMD_DATA, in send_next() 772 if (!test_and_clear_bit(ISAR_RATE_REQ, &ch->is->Flags)) in isar_pump_status_rsp() 998 if (test_and_clear_bit(FLG_LL_OK, &ch->bch.Flags)) in isar_pump_statev_fax() 1154 test_and_clear_bit(FLG_FTI_RUN, &ch->bch.Flags); in ftimer_handler() 1155 if (test_and_clear_bit(FLG_LL_CONN, &ch->bch.Flags)) in ftimer_handler() 1293 test_and_clear_bit(FLG_HDLC, &ch->bch.Flags); in modeisar() 1294 test_and_clear_bit(FLG_TRANSPARENT, &ch->bch.Flags); in modeisar() [all …]
|
D | hfcsusb.c | 337 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in hfcusb_l2l1D() 352 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfcusb_l2l1D() 355 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in hfcusb_l2l1D() 401 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfc_l1callback() 409 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in hfc_l1callback() 436 test_and_clear_bit(FLG_ACTIVE, &hw->dch.Flags); in open_dchannel() 437 test_and_clear_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel() 641 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in ph_state_nt() 642 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in ph_state_nt() 1814 test_and_clear_bit(FLG_OPEN, &bch->Flags); in hfc_bctrl()
|
D | netjet.c | 230 test_and_clear_bit(FLG_HDLC, &bc->bch.Flags); in mode_tiger() 231 test_and_clear_bit(FLG_TRANSPARENT, &bc->bch.Flags); in mode_tiger() 625 test_and_clear_bit(FLG_TX_EMPTY, &bc->bch.Flags); in bc_next_frame() 814 test_and_clear_bit(FLG_OPEN, &bch->Flags); in nj_bctrl() 874 test_and_clear_bit(FLG_FILLEMPTY, &bch->Flags); in open_bchannel()
|
D | avmfritz.c | 371 test_and_clear_bit(FLG_HDLC, &bch->Flags); in modehdlc() 372 test_and_clear_bit(FLG_TRANSPARENT, &bch->Flags); in modehdlc() 528 test_and_clear_bit(FLG_TX_EMPTY, &bch->Flags); in HDLC_irq_xpr() 859 test_and_clear_bit(FLG_OPEN, &bch->Flags); in avm_bctrl()
|
D | hfcmulti.c | 1096 test_and_clear_bit(HFC_CHIP_PLXSD, &hc->chip); /* prevent resync */ in release_io_hfcmulti() 3018 test_and_clear_bit(FLG_HDLC, &hc->chan[ch].bch->Flags); in mode_hfcmulti() 3019 test_and_clear_bit(FLG_TRANSPARENT, in mode_hfcmulti() 3294 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in hfcm_l1callback() 3295 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in hfcm_l1callback() 3322 test_and_clear_bit(FLG_ACTIVE, &dch->Flags); in hfcm_l1callback() 3402 test_and_clear_bit(FLG_L2_ACTIVATED, &dch->Flags); in handle_dmsg() 3435 test_and_clear_bit(FLG_TX_BUSY, &dch->Flags); in handle_dmsg() 3436 if (test_and_clear_bit(FLG_BUSY_TIMER, &dch->Flags)) in handle_dmsg() 3439 if (test_and_clear_bit(FLG_L1_BUSY, &dch->Flags)) in handle_dmsg() [all …]
|
/linux-4.1.27/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 135 if (!test_and_clear_bit(bit, txch_free)) in pasemi_alloc_tx_chan() 154 if (!test_and_clear_bit(bit, rxch_free)) in pasemi_alloc_rx_chan() 395 if (!test_and_clear_bit(bit, flags_free)) in pasemi_dma_alloc_flag() 460 if (!test_and_clear_bit(bit, fun_free)) in pasemi_dma_alloc_fun()
|
/linux-4.1.27/drivers/isdn/act2000/ |
D | act2000_isa.c | 250 test_and_clear_bit(ACT2000_LOCK_RX, (void *) &card->ilock); in act2000_isa_receive() 290 test_and_clear_bit(ACT2000_LOCK_RX, (void *) &card->ilock); in act2000_isa_receive() 320 test_and_clear_bit(ACT2000_LOCK_TX, (void *) &card->ilock); in act2000_isa_send() 328 test_and_clear_bit(ACT2000_LOCK_TX, (void *) &card->ilock); in act2000_isa_send()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | notify.c | 40 test_and_clear_bit(NVKM_NOTIFY_USER, ¬ify->flags)) { in nvkm_notify_put() 76 !test_and_clear_bit(NVKM_NOTIFY_USER, ¬ify->flags)) { in nvkm_notify_func()
|
/linux-4.1.27/drivers/watchdog/ |
D | sbc7240_wdt.c | 65 if (test_and_clear_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { in wdt_disable() 144 if (test_and_clear_bit(SBC7240_EXPECT_CLOSE_STATUS_BIT, &wdt_status) in fop_close()
|
D | geodewdt.c | 91 if (!test_and_clear_bit(WDT_FLAGS_ORPHAN, &wdt_flags)) in geodewdt_open()
|
D | it87_wdt.c | 379 if (test_and_clear_bit(WDTS_KEEPALIVE, &wdt_status)) in wdt_get_status() 434 if (test_and_clear_bit(WDTS_EXPECTED, &wdt_status)) { in wdt_release()
|
D | intel_scu_watchdog.c | 321 if (!test_and_clear_bit(0, &watchdog_device.driver_open)) { in intel_scu_release()
|
D | watchdog_dev.c | 474 else if (test_and_clear_bit(WDOG_ALLOW_RELEASE, &wdd->status) || in watchdog_release()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | bitops.h | 33 extern int test_and_clear_bit(int nr, volatile unsigned long *p);
|
D | sync_bitops.h | 21 #define sync_test_and_clear_bit(nr, p) test_and_clear_bit(nr, p)
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | bitops_64.h | 19 int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr);
|
D | bitops_32.h | 51 static inline int test_and_clear_bit(unsigned long nr, volatile unsigned long *addr) in test_and_clear_bit() function
|
/linux-4.1.27/arch/arm64/kernel/ |
D | arm64ksyms.c | 61 EXPORT_SYMBOL(test_and_clear_bit);
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
D | ivtv-irq.c | 106 if (test_and_clear_bit(IVTV_F_I_WORK_HANDLER_PIO, &itv->i_flags)) in ivtv_irq_work_handler() 109 if (test_and_clear_bit(IVTV_F_I_WORK_HANDLER_VBI, &itv->i_flags)) in ivtv_irq_work_handler() 112 if (test_and_clear_bit(IVTV_F_I_WORK_HANDLER_YUV, &itv->i_flags)) in ivtv_irq_work_handler() 115 if (test_and_clear_bit(IVTV_F_I_WORK_HANDLER_PCM, &itv->i_flags)) in ivtv_irq_work_handler() 644 if (test_and_clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags)) { in ivtv_irq_enc_dma_complete() 673 if (test_and_clear_bit(IVTV_F_S_DMA_HAS_VBI, &s->s_flags)) { in ivtv_irq_enc_pio_complete() 1036 if (!test_and_clear_bit(IVTV_F_S_DMA_PENDING, &s->s_flags)) in ivtv_irq_handler() 1056 if (!test_and_clear_bit(IVTV_F_S_PIO_PENDING, &s->s_flags)) in ivtv_irq_handler() 1064 if (test_and_clear_bit(IVTV_F_I_HAVE_WORK, &itv->i_flags)) { in ivtv_irq_handler()
|
D | ivtv-vbi.c | 523 if (test_and_clear_bit(IVTV_F_I_UPDATE_WSS, &itv->i_flags)) { in ivtv_vbi_work_handler() 546 if (test_and_clear_bit(IVTV_F_I_UPDATE_VPS, &itv->i_flags)) { in ivtv_vbi_work_handler()
|
D | ivtv-fileops.c | 114 if (!test_and_clear_bit(IVTV_F_S_CLAIMED, &s->s_flags)) { in ivtv_release_stream() 136 if (!test_and_clear_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags)) { in ivtv_release_stream() 484 if (test_and_clear_bit(IVTV_F_I_ENC_PAUSED, &itv->i_flags)) in ivtv_start_capture()
|
D | ivtv-ioctl.c | 268 if (test_and_clear_bit(IVTV_F_I_DEC_PAUSED, &itv->i_flags)) { in ivtv_video_command() 309 if (test_and_clear_bit(IVTV_F_I_DEC_PAUSED, &itv->i_flags)) { in ivtv_video_command() 1330 if (!test_and_clear_bit(IVTV_F_I_ENC_PAUSED, &itv->i_flags)) in ivtv_encoder_cmd() 1749 if (test_and_clear_bit(IVTV_F_I_EV_DEC_STOPPED, &itv->i_flags)) in ivtv_decoder_ioctls() 1751 else if (test_and_clear_bit(IVTV_F_I_EV_VSYNC, &itv->i_flags)) { in ivtv_decoder_ioctls()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_intr.c | 203 if (test_and_clear_bit(QIB_CTXT_WAITING_RCV, &rcd->flag)) { in qib_handle_urcv() 207 } else if (test_and_clear_bit(QIB_CTXT_WAITING_URG, in qib_handle_urcv()
|
D | qib_uc.c | 349 if (test_and_clear_bit(QIB_R_REWIND_SGE, &qp->r_aflags)) in qib_uc_rcv() 486 if (test_and_clear_bit(QIB_R_REWIND_SGE, &qp->r_aflags)) in qib_uc_rcv()
|
D | qib_ud.c | 205 if (!test_and_clear_bit(QIB_R_WRID_VALID, &qp->r_aflags)) in qib_ud_loopback() 563 if (!test_and_clear_bit(QIB_R_WRID_VALID, &qp->r_aflags)) in qib_ud_rcv()
|
/linux-4.1.27/arch/sparc/lib/ |
D | bitops.S | 33 ENTRY(test_and_clear_bit) /* %o0=nr, %o1=addr */ 52 ENDPROC(test_and_clear_bit)
|
D | ksyms.c | 123 EXPORT_SYMBOL(test_and_clear_bit);
|
/linux-4.1.27/arch/frv/include/asm/ |
D | bitops.h | 109 static inline int test_and_clear_bit(unsigned long nr, volatile void *addr) in test_and_clear_bit() function 135 test_and_clear_bit(nr, addr); in clear_bit()
|
/linux-4.1.27/arch/arm/include/asm/ |
D | bitops.h | 192 #define test_and_clear_bit(nr,p) ATOMIC_BITOP(test_and_clear_bit,nr,p) macro
|
/linux-4.1.27/fs/nfs/ |
D | nfs4state.c | 220 if (test_and_clear_bit(NFS4_SLOT_TBL_DRAINING, &tbl->slot_tbl_state)) { in nfs4_end_drain_slot_table() 1462 if (!test_and_clear_bit(ops->state_flag_bit, &state->flags)) in nfs4_reclaim_open_state() 1616 if (!test_and_clear_bit(NFS_STATE_RECLAIM_REBOOT, in nfs4_clear_reclaim_server() 1630 if (!test_and_clear_bit(NFS4CLNT_RECLAIM_REBOOT, &clp->cl_state)) in nfs4_state_clear_reclaim_reboot() 1726 if (!test_and_clear_bit(ops->owner_flag_bit, in nfs4_do_reclaim() 1857 if (test_and_clear_bit(NFS4CLNT_SERVER_SCOPE_MISMATCH, &clp->cl_state)) in nfs4_reclaim_lease() 1975 if (!test_and_clear_bit(NFS_MIG_IN_TRANSITION, in nfs4_handle_migration() 2353 if (test_and_clear_bit(NFS4CLNT_SESSION_RESET, &clp->cl_state)) { in nfs4_state_manager() 2363 if (test_and_clear_bit(NFS4CLNT_BIND_CONN_TO_SESSION, in nfs4_state_manager() 2372 if (test_and_clear_bit(NFS4CLNT_CHECK_LEASE, &clp->cl_state)) { in nfs4_state_manager() [all …]
|
D | pnfs.c | 272 if (test_and_clear_bit(fail_bit, &lo->plh_flags)) in pnfs_layout_clear_fail_bit() 533 if (test_and_clear_bit(NFS_LSEG_VALID, &lseg->pls_flags)) { in mark_lseg_invalid() 912 if (!test_and_clear_bit(NFS_INO_LAYOUTCOMMIT, &nfsi->flags)) in pnfs_clear_layoutcommit() 915 if (!test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) in pnfs_clear_layoutcommit() 1066 if (!lo || !test_and_clear_bit(NFS_LAYOUT_ROC, &lo->plh_flags) || in pnfs_roc() 1100 test_and_clear_bit(NFS_LAYOUT_RETURN_BEFORE_CLOSE, in pnfs_roc() 1168 test_and_clear_bit(NFS_LAYOUT_RETURN_BEFORE_CLOSE, in pnfs_roc_drain() 2082 test_and_clear_bit(NFS_LSEG_LAYOUTCOMMIT, &lseg->pls_flags)) in pnfs_list_write_lseg() 2187 if (!test_and_clear_bit(NFS_INO_LAYOUTCOMMIT, &nfsi->flags)) in pnfs_layoutcommit_inode()
|
D | delegation.c | 441 if (test_and_clear_bit(NFS_DELEGATION_RETURN, &delegation->flags)) in nfs_delegation_need_return() 443 if (test_and_clear_bit(NFS_DELEGATION_RETURN_IF_CLOSED, &delegation->flags) && !ret) { in nfs_delegation_need_return() 685 if (test_and_clear_bit(NFS_DELEGATION_REFERENCED, &delegation->flags)) in nfs_mark_return_unreferenced_delegations()
|
D | file.c | 254 do_resend = test_and_clear_bit(NFS_CONTEXT_RESEND_WRITES, &ctx->flags); in nfs_file_fsync_commit() 255 have_error = test_and_clear_bit(NFS_CONTEXT_ERROR_WRITE, &ctx->flags); in nfs_file_fsync_commit()
|
/linux-4.1.27/arch/tile/include/asm/ |
D | bitops_32.h | 99 static inline int test_and_clear_bit(unsigned nr, volatile unsigned long *addr) in test_and_clear_bit() function
|
D | bitops_64.h | 67 static inline int test_and_clear_bit(unsigned nr, volatile unsigned long *addr) in test_and_clear_bit() function
|
/linux-4.1.27/drivers/char/pcmcia/ |
D | cm4040_cs.c | 154 test_and_clear_bit(BS_WRITABLE, in wait_for_bulk_out_ready() 202 test_and_clear_bit(BS_READABLE, in wait_for_bulk_in_ready() 425 if (test_and_clear_bit(BS_READABLE, &dev->buffer_status)) in cm4040_poll() 427 if (test_and_clear_bit(BS_WRITABLE, &dev->buffer_status)) in cm4040_poll()
|
/linux-4.1.27/include/net/irda/ |
D | irmod.h | 98 #define irda_unlock(lock) (test_and_clear_bit(0, (void *) (lock)))
|
/linux-4.1.27/fs/dlm/ |
D | recoverd.c | 297 if (test_and_clear_bit(LSFL_RECOVER_DOWN, &ls->ls_flags)) { in dlm_recoverd() 303 if (test_and_clear_bit(LSFL_RECOVER_WORK, &ls->ls_flags)) in dlm_recoverd()
|
D | lowcomms.c | 443 if (test_and_clear_bit(CF_APP_LIMITED, &con->flags)) { in lowcomms_write_space() 592 if (test_and_clear_bit(CF_INIT_PENDING, &con->flags)) { in sctp_init_failed_foreach() 1688 if (test_and_clear_bit(CF_CONNECT_PENDING, &con->flags)) { in process_send_sockets() 1692 if (test_and_clear_bit(CF_WRITE_PENDING, &con->flags)) in process_send_sockets()
|
/linux-4.1.27/fs/hfs/ |
D | mdb.c | 266 if (test_and_clear_bit(HFS_FLG_MDB_DIRTY, &HFS_SB(sb)->flags)) { in hfs_mdb_commit() 283 if (test_and_clear_bit(HFS_FLG_ALT_MDB_DIRTY, &HFS_SB(sb)->flags) && in hfs_mdb_commit() 300 if (test_and_clear_bit(HFS_FLG_BITMAP_DIRTY, &HFS_SB(sb)->flags)) { in hfs_mdb_commit()
|
/linux-4.1.27/drivers/media/pci/cx18/ |
D | cx18-fileops.c | 123 if (!test_and_clear_bit(CX18_F_S_CLAIMED, &s->s_flags)) { in cx18_release_stream() 141 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream() 148 if (test_and_clear_bit(CX18_F_S_INTERNAL_USE, &s_assoc->s_flags)) { in cx18_release_stream() 218 if (!test_and_clear_bit(CX18_F_M_NEED_SWAP, in cx18_get_mdl() 555 if (test_and_clear_bit(CX18_F_I_ENC_PAUSED, &cx->i_flags)) in cx18_start_capture()
|
/linux-4.1.27/arch/arm64/lib/ |
D | bitops.S | 68 testop test_and_clear_bit, bic
|
/linux-4.1.27/arch/sh/include/asm/ |
D | bitops-llsc.h | 92 static inline int test_and_clear_bit(int nr, volatile void *addr) in test_and_clear_bit() function
|
D | bitops-grb.h | 105 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
|
/linux-4.1.27/include/asm-generic/bitops/ |
D | le.h | 84 return test_and_clear_bit(nr ^ BITOP_LE_SWIZZLE, addr); in test_and_clear_bit_le()
|
D | atomic.h | 151 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
|
/linux-4.1.27/security/keys/ |
D | gc.c | 202 if (test_and_clear_bit(KEY_GC_KEY_EXPIRED, &key_gc_flags)) in key_garbage_collector() 205 if (test_and_clear_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) in key_garbage_collector()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvif/ |
D | notify.c | 54 test_and_clear_bit(NVIF_NOTIFY_USER, ¬ify->flags)) { in nvif_notify_put() 95 !test_and_clear_bit(NVIF_NOTIFY_USER, ¬ify->flags)) { in nvif_notify_func()
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 349 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_frame() 421 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_frame() 468 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_error() 522 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_seq_done() 560 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_init_buffers() 567 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_init_buffers() 601 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_handle_stream_complete() 644 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); in s5p_mfc_irq() 707 if (test_and_clear_bit(0, &dev->hw_lock) == 0) in s5p_mfc_irq()
|
/linux-4.1.27/arch/metag/include/asm/ |
D | bitops.h | 70 static inline int test_and_clear_bit(unsigned int bit, in test_and_clear_bit() function
|
/linux-4.1.27/arch/mn10300/kernel/ |
D | irq.c | 79 if (!test_and_clear_bit(irq, irq_affinity_request)) { in mn10300_cpupic_mask_ack() 120 if (!test_and_clear_bit(irq, irq_affinity_request)) { in mn10300_cpupic_unmask_clear()
|
/linux-4.1.27/net/rxrpc/ |
D | ar-ack.c | 1032 if (test_and_clear_bit(RXRPC_CALL_RCVD_ACKALL, &call->events)) { in rxrpc_process_call() 1072 if (test_and_clear_bit(RXRPC_CALL_RESEND_TIMER, &call->events)) in rxrpc_process_call() 1074 if (test_and_clear_bit(RXRPC_CALL_RESEND, &call->events)) in rxrpc_process_call() 1153 if (test_and_clear_bit(RXRPC_CALL_SECURED, &call->events)) { in rxrpc_process_call() 1190 if (test_and_clear_bit(RXRPC_CALL_ACCEPTED, &call->events)) { in rxrpc_process_call() 1202 if (test_and_clear_bit(RXRPC_CALL_DRAIN_RX_OOS, &call->events)) { in rxrpc_process_call() 1311 if (test_and_clear_bit(RXRPC_CALL_ACK_FINAL, &call->events)) in rxrpc_process_call()
|
D | ar-skbuff.c | 85 test_and_clear_bit(RXRPC_CALL_TX_SOFT_ACK, &call->flags)) { in rxrpc_hard_ACK_data()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | bitops.h | 88 static inline int test_and_clear_bit(int nr, volatile unsigned long *addr) in test_and_clear_bit() function
|
/linux-4.1.27/drivers/bluetooth/ |
D | hci_ldisc.c | 179 if (!test_and_clear_bit(HCI_UART_INIT_PENDING, &hu->hdev_flags)) in hci_uart_init_work() 243 if (!test_and_clear_bit(HCI_RUNNING, &hdev->flags)) in hci_uart_close() 388 if (test_and_clear_bit(HCI_UART_PROTO_SET, &hu->flags)) { in hci_uart_tty_close()
|
D | btwilink.c | 239 if (!test_and_clear_bit(HCI_RUNNING, &hdev->flags)) in ti_st_close()
|
D | btsdio.c | 232 if (!test_and_clear_bit(HCI_RUNNING, &hdev->flags)) in btsdio_close()
|
D | hci_vhci.c | 68 if (!test_and_clear_bit(HCI_RUNNING, &hdev->flags)) in vhci_close_dev()
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | bitops.h | 179 test_and_clear_bit(unsigned int bit, volatile unsigned long *p) in test_and_clear_bit() function
|
/linux-4.1.27/include/linux/ |
D | thread_info.h | 86 return test_and_clear_bit(flag, (unsigned long *)&ti->flags); in test_and_clear_ti_thread_flag()
|
/linux-4.1.27/fs/ext2/ |
D | file.c | 81 if (ret == -EIO || test_and_clear_bit(AS_EIO, &mapping->flags)) { in ext2_fsync()
|
/linux-4.1.27/fs/hfsplus/ |
D | inode.c | 299 if (test_and_clear_bit(HFSPLUS_I_CAT_DIRTY, &hip->flags)) in hfsplus_file_fsync() 302 if (test_and_clear_bit(HFSPLUS_I_EXT_DIRTY, &hip->flags)) { in hfsplus_file_fsync() 309 if (test_and_clear_bit(HFSPLUS_I_ATTR_DIRTY, &hip->flags)) { in hfsplus_file_fsync() 321 if (test_and_clear_bit(HFSPLUS_I_ALLOC_DIRTY, &hip->flags)) { in hfsplus_file_fsync()
|
D | super.c | 214 if (test_and_clear_bit(HFSPLUS_SB_WRITEBACKUP, &sbi->flags)) { in hfsplus_sync_fs() 455 } else if (test_and_clear_bit(HFSPLUS_SB_FORCE, &sbi->flags)) { in hfsplus_fill_super()
|
/linux-4.1.27/drivers/misc/mei/ |
D | hw-txe.c | 1063 if (test_and_clear_bit(TXE_INTR_READINESS_BIT, &hw->intr_cause)) { in mei_txe_irq_thread_handler() 1089 if (test_and_clear_bit(TXE_INTR_ALIVENESS_BIT, &hw->intr_cause)) { in mei_txe_irq_thread_handler() 1103 if (test_and_clear_bit(TXE_INTR_OUT_DB_BIT, &hw->intr_cause)) { in mei_txe_irq_thread_handler() 1115 if (test_and_clear_bit(TXE_INTR_IN_READY_BIT, &hw->intr_cause)) { in mei_txe_irq_thread_handler()
|
/linux-4.1.27/drivers/nfc/st21nfcb/ |
D | st21nfcb.c | 50 if (!test_and_clear_bit(ST21NFCB_NCI_RUNNING, &info->flags)) in st21nfcb_nci_close()
|
/linux-4.1.27/net/mac80211/ |
D | ht.c | 316 if (test_and_clear_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired)) in ieee80211_ba_session_work() 321 if (test_and_clear_bit(tid, in ieee80211_ba_session_work() 350 if (tid_tx && test_and_clear_bit(HT_AGG_STATE_WANT_STOP, in ieee80211_ba_session_work()
|
D | mesh.c | 1285 if (test_and_clear_bit(MESH_WORK_GROW_MPATH_TABLE, &ifmsh->wrkq_flags)) in ieee80211_mesh_work() 1288 if (test_and_clear_bit(MESH_WORK_GROW_MPP_TABLE, &ifmsh->wrkq_flags)) in ieee80211_mesh_work() 1291 if (test_and_clear_bit(MESH_WORK_HOUSEKEEPING, &ifmsh->wrkq_flags)) in ieee80211_mesh_work() 1294 if (test_and_clear_bit(MESH_WORK_ROOT, &ifmsh->wrkq_flags)) in ieee80211_mesh_work() 1297 if (test_and_clear_bit(MESH_WORK_DRIFT_ADJUST, &ifmsh->wrkq_flags)) in ieee80211_mesh_work() 1300 if (test_and_clear_bit(MESH_WORK_MBSS_CHANGED, &ifmsh->wrkq_flags)) in ieee80211_mesh_work()
|
D | ocb.c | 149 if (test_and_clear_bit(OCB_WORK_HOUSEKEEPING, &ifocb->wrkq_flags)) in ieee80211_ocb_work()
|
D | scan.c | 853 aborted = test_and_clear_bit(SCAN_ABORTED, &local->scanning); in ieee80211_scan_work() 857 if (test_and_clear_bit(SCAN_COMPLETED, &local->scanning)) { in ieee80211_scan_work() 858 aborted = test_and_clear_bit(SCAN_ABORTED, &local->scanning); in ieee80211_scan_work()
|
D | sta_info.h | 505 return test_and_clear_bit(flag, &sta->_flags); in test_and_clear_sta_flag()
|
/linux-4.1.27/fs/fscache/ |
D | operation.c | 71 if (test_and_clear_bit(FSCACHE_OP_WAITING, &op->flags)) in fscache_run_op() 319 if (test_and_clear_bit(FSCACHE_OP_WAITING, &op->flags)) in fscache_cancel_op() 352 if (test_and_clear_bit(FSCACHE_OP_WAITING, &op->flags)) in fscache_cancel_all_ops()
|
D | object.c | 615 if (test_and_clear_bit(FSCACHE_COOKIE_LOOKING_UP, &cookie->flags)) in fscache_lookup_failure() 688 test_and_clear_bit(FSCACHE_COOKIE_INVALIDATING, &cookie->flags)) in fscache_drop_object() 971 if (test_and_clear_bit(FSCACHE_COOKIE_INVALIDATING, &cookie->flags)) in _fscache_invalidate_object()
|
D | cookie.c | 528 if (!test_and_clear_bit(FSCACHE_COOKIE_ENABLED, &cookie->flags)) in __fscache_disable_cookie() 547 if (test_and_clear_bit(FSCACHE_COOKIE_INVALIDATING, &cookie->flags)) in __fscache_disable_cookie()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | bitops.h | 131 #define test_and_clear_bit(nr, addr) __test_and_clear_bit((nr), (addr)) macro
|
D | pgtable.h | 351 return test_and_clear_bit(_PAGE_BIT_DIRTY, &ptep->pte); in ptep_test_and_clear_dirty() 360 return test_and_clear_bit(_PAGE_BIT_ACCESSED, &ptep->pte); in ptep_test_and_clear_young()
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | bitops.h | 80 static __inline__ int test_and_clear_bit(int nr, volatile unsigned long * addr) in test_and_clear_bit() function
|
D | cacheflush.h | 65 if (test_and_clear_bit(PG_dcache_dirty, &page->flags)) in invalidate_kernel_vmap_range()
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | bitops.h | 185 static __inline__ int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
|
D | pgtable.h | 254 return test_and_clear_bit(_PAGE_BIT_ACCESSED, ptep); in ptep_test_and_clear_young()
|
/linux-4.1.27/fs/gfs2/ |
D | glops.c | 147 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in rgrp_go_sync() 204 if (test_and_clear_bit(GIF_SW_PAGED, &ip->i_flags)) in inode_go_sync() 208 if (!test_and_clear_bit(GLF_DIRTY, &gl->gl_flags)) in inode_go_sync()
|
D | glock.c | 474 if (test_and_clear_bit(GLF_DEMOTE_IN_PROGRESS, &gl->gl_flags)) in finish_xmote() 656 if (test_and_clear_bit(GLF_REPLY_PENDING, &gl->gl_flags)) { in glock_work_func() 1021 test_and_clear_bit(GLF_FROZEN, &gl->gl_flags))) { in gfs2_glock_nq() 1390 WARN_ON(!test_and_clear_bit(GLF_LOCK, &gl->gl_flags)); in gfs2_dispose_glock_lru() 1497 if (!test_and_clear_bit(GLF_FROZEN, &gl->gl_flags)) in thaw_glock()
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | bitops.h | 171 static inline int test_and_clear_bit(int nr, volatile void * addr) in test_and_clear_bit() function
|
/linux-4.1.27/net/atm/ |
D | pppoatm.c | 125 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) in pppoatm_release_cb() 160 if (test_and_clear_bit(BLOCKED, &pvcc->blocked)) in pppoatm_pop()
|
/linux-4.1.27/sound/soc/intel/atom/sst/ |
D | sst_pvt.c | 250 test_and_clear_bit(pvt_id, &sst->pvt_id); in sst_prepare_and_post_msg() 298 test_and_clear_bit(pvt_id, &sst->pvt_id); in sst_prepare_and_post_msg()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 319 if (test_and_clear_bit(VP_IDX_ACQUIRED, &vha->vp_flags)) { in qla2x00_do_dpc_vp() 339 if ((test_and_clear_bit(RELOGIN_NEEDED, &vha->dpc_flags)) && in qla2x00_do_dpc_vp() 350 if (test_and_clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp() 355 if (test_and_clear_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp()
|
D | qla_os.c | 4838 if (test_and_clear_bit(ISP_UNRECOVERABLE, in qla2x00_do_dpc() 4852 if (test_and_clear_bit(ISP_UNRECOVERABLE, in qla2x00_do_dpc() 4865 if (test_and_clear_bit(FCOE_CTX_RESET_NEEDED, in qla2x00_do_dpc() 4887 if (test_and_clear_bit(ISP_UNRECOVERABLE, in qla2x00_do_dpc() 4904 if (test_and_clear_bit(FX00_TARGET_SCAN, in qla2x00_do_dpc() 4919 if (test_and_clear_bit(FX00_HOST_INFO_RESEND, in qla2x00_do_dpc() 4929 if (test_and_clear_bit(ISP_ABORT_NEEDED, in qla2x00_do_dpc() 4950 if (test_and_clear_bit(FCPORT_UPDATE_NEEDED, in qla2x00_do_dpc() 5001 if (test_and_clear_bit(RESET_MARKER_NEEDED, in qla2x00_do_dpc() 5014 if ((test_and_clear_bit(RELOGIN_NEEDED, in qla2x00_do_dpc() [all …]
|
/linux-4.1.27/drivers/nfc/nfcmrvl/ |
D | main.c | 47 if (!test_and_clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) in nfcmrvl_nci_close()
|
/linux-4.1.27/drivers/net/wan/ |
D | x25_asy.c | 117 if (!test_and_clear_bit(SLF_INUSE, &sl->flags)) in x25_asy_free() 661 if (!test_and_clear_bit(SLF_ERROR, &sl->flags) && in x25_asy_unesc() 672 if (test_and_clear_bit(SLF_ESCAPE, &sl->flags)) in x25_asy_unesc()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2x00dev.c | 102 if (!test_and_clear_bit(DEVICE_STATE_ENABLED_RADIO, &rt2x00dev->flags)) in rt2x00lib_disable_radio() 144 if (test_and_clear_bit(DELAYED_UPDATE_BEACON, &intf->delayed_flags)) { in rt2x00lib_intf_scheduled_iter() 1128 if (!test_and_clear_bit(DEVICE_STATE_INITIALIZED, &rt2x00dev->flags)) in rt2x00lib_uninitialize() 1220 if (!test_and_clear_bit(DEVICE_STATE_STARTED, &rt2x00dev->flags)) in rt2x00lib_stop() 1491 if (!test_and_clear_bit(DEVICE_STATE_PRESENT, &rt2x00dev->flags)) in rt2x00lib_suspend()
|
D | rt2x00usb.c | 290 if (!test_and_clear_bit(ENTRY_DATA_PENDING, &entry->flags) || in rt2x00usb_kick_tx_entry() 364 if (!test_and_clear_bit(ENTRY_OWNER_DEVICE_DATA, &entry->flags)) in rt2x00usb_interrupt_rxdone()
|
/linux-4.1.27/arch/x86/mm/ |
D | pgtable.c | 453 ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, in ptep_test_and_clear_young() 469 ret = test_and_clear_bit(_PAGE_BIT_ACCESSED, in pmdp_test_and_clear_young()
|
/linux-4.1.27/drivers/usb/storage/ |
D | transport.c | 168 if (test_and_clear_bit(US_FLIDX_URB_ACTIVE, &us->dflags)) { in usb_stor_msg_common() 444 if (test_and_clear_bit(US_FLIDX_SG_ACTIVE, &us->dflags)) { in usb_stor_bulk_transfer_sglist() 898 if (test_and_clear_bit(US_FLIDX_URB_ACTIVE, &us->dflags)) { in usb_stor_stop_transport() 904 if (test_and_clear_bit(US_FLIDX_SG_ACTIVE, &us->dflags)) { in usb_stor_stop_transport()
|
/linux-4.1.27/net/rds/ |
D | send.c | 198 if (!rm && test_and_clear_bit(0, &conn->c_map_queued)) { in rds_send_xmit() 259 if (test_and_clear_bit(RDS_MSG_ON_CONN, &rm->m_flags)) in rds_send_xmit() 632 if (test_and_clear_bit(RDS_MSG_ON_SOCK, &rm->m_flags)) { in rds_send_remove_from_sock() 741 if (!test_and_clear_bit(RDS_MSG_ON_CONN, &rm->m_flags)) { in rds_send_drop_to()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | bitops.h | 250 static inline int test_and_clear_bit(long nr, volatile unsigned long *addr) in test_and_clear_bit() function
|
/linux-4.1.27/drivers/usb/gadget/legacy/ |
D | mass_storage.c | 263 if (test_and_clear_bit(0, &msg_registered)) in msg_cleanup()
|
/linux-4.1.27/arch/s390/kernel/ |
D | time.c | 845 if (test_and_clear_bit(ETR_EVENT_SYNC_CHECK, &etr_events)) in etr_handle_events() 847 if (test_and_clear_bit(ETR_EVENT_SWITCH_LOCAL, &etr_events)) in etr_handle_events() 849 if (test_and_clear_bit(ETR_EVENT_PORT_ALERT, &etr_events)) in etr_handle_events() 852 if (test_and_clear_bit(ETR_EVENT_PORT0_CHANGE, &etr_events)) { in etr_handle_events() 865 if (test_and_clear_bit(ETR_EVENT_PORT1_CHANGE, &etr_events)) { in etr_handle_events()
|
/linux-4.1.27/drivers/md/ |
D | raid5.c | 318 if (test_and_clear_bit(STRIPE_PREREAD_ACTIVE, &sh->state)) in do_release_stripe() 836 if (test_and_clear_bit(STRIPE_PREREAD_ACTIVE, &sh->state)) in stripe_add_to_batch_list() 841 if (test_and_clear_bit(STRIPE_BIT_DELAY, &sh->state)) { in stripe_add_to_batch_list() 898 if (test_and_clear_bit(R5_Wantwrite, &sh->dev[i].flags)) { in ops_run_io() 899 if (test_and_clear_bit(R5_WantFUA, &sh->dev[i].flags)) in ops_run_io() 905 } else if (test_and_clear_bit(R5_Wantread, &sh->dev[i].flags)) in ops_run_io() 907 else if (test_and_clear_bit(R5_WantReplace, in ops_run_io() 913 if (test_and_clear_bit(R5_SyncIO, &sh->dev[i].flags)) in ops_run_io() 1184 if (test_and_clear_bit(R5_Wantfill, &dev->flags)) { in ops_complete_biofill() 1606 if (test_and_clear_bit(R5_Wantdrain, &head_sh->dev[i].flags)) { in ops_run_biodrain() [all …]
|
/linux-4.1.27/arch/x86/kernel/cpu/ |
D | perf_event_amd_ibs.c | 393 stopping = test_and_clear_bit(IBS_STARTED, pcpu->state); in perf_ibs_stop() 443 if (!test_and_clear_bit(IBS_ENABLED, pcpu->state)) in perf_ibs_del() 536 return test_and_clear_bit(IBS_STOPPING, pcpu->state) ? 1 : 0; in perf_ibs_handle_irq()
|
/linux-4.1.27/drivers/net/hamradio/ |
D | mkiss.c | 317 if (!test_and_clear_bit(AXF_ERROR, &ax->flags) && (ax->rcount > 2)) in kiss_unesc() 328 if (test_and_clear_bit(AXF_ESCAPE, &ax->flags)) in kiss_unesc() 332 if (test_and_clear_bit(AXF_ESCAPE, &ax->flags)) in kiss_unesc()
|
/linux-4.1.27/drivers/scsi/libsas/ |
D | sas_event.c | 111 if (!test_and_clear_bit(ev, &d->pending)) in sas_enable_revalidation()
|
/linux-4.1.27/drivers/input/joystick/iforce/ |
D | iforce-serio.c | 66 if (test_and_clear_bit(IFORCE_XMIT_AGAIN, iforce->xmit_flags)) in iforce_serial_xmit()
|
D | iforce-packets.c | 233 } else if (test_and_clear_bit(FF_CORE_IS_PLAYED, iforce->core_effects[i].flags)) { in iforce_process_packet()
|
/linux-4.1.27/fs/jfs/ |
D | jfs_incore.h | 157 test_and_clear_bit(flag, &(JFS_IP(ip)->cflag))
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
D | context.c | 180 if (test_and_clear_bit(SPU_SCHED_WAS_ACTIVE, &ctx->sched_flags) && in spu_release_saved()
|
D | run.c | 389 if (unlikely(test_and_clear_bit(SPU_SCHED_NOTIFY_ACTIVE, in spufs_run_spu()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_drm_vidi.c | 116 if (test_and_clear_bit(0, &ctx->irq_flags)) in vidi_disable_vblank() 169 if (test_and_clear_bit(0, &ctx->irq_flags)) in vidi_power_on()
|
/linux-4.1.27/drivers/net/wireless/hostap/ |
D | hostap_info.c | 486 if (test_and_clear_bit(PRISM2_INFO_PENDING_LINKSTATUS, in handle_info_queue() 490 if (test_and_clear_bit(PRISM2_INFO_PENDING_SCANRESULTS, in handle_info_queue()
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
D | bnx2fc_els.c | 42 if (test_and_clear_bit(BNX2FC_FLAG_ELS_TIMEOUT, &rrq_req->req_flags)) { in bnx2fc_rrq_compl() 131 if (test_and_clear_bit(BNX2FC_FLAG_ELS_TIMEOUT, &els_req->req_flags)) { in bnx2fc_l2_els_compl() 272 if (test_and_clear_bit(BNX2FC_FLAG_ELS_TIMEOUT, &srr_req->req_flags)) { in bnx2fc_srr_compl() 397 if (test_and_clear_bit(BNX2FC_FLAG_ELS_TIMEOUT, &rec_req->req_flags)) { in bnx2fc_rec_compl()
|
D | bnx2fc_tgt.c | 126 if (test_and_clear_bit(BNX2FC_FLAG_CTX_ALLOC_FAILURE, in bnx2fc_offload_session() 185 if (test_and_clear_bit(BNX2FC_FLAG_EH_ABORT, in bnx2fc_flush_active_ios() 249 if (test_and_clear_bit(BNX2FC_FLAG_EH_ABORT, in bnx2fc_flush_active_ios()
|
D | bnx2fc_io.c | 54 if (test_and_clear_bit(BNX2FC_FLAG_ISSUE_RRQ, &io_req->req_flags)) { in bnx2fc_cmd_timeout() 64 if (test_and_clear_bit(BNX2FC_FLAG_RETIRE_OXID, &io_req->req_flags)) { in bnx2fc_cmd_timeout() 71 if (test_and_clear_bit(BNX2FC_FLAG_EH_ABORT, in bnx2fc_cmd_timeout() 1425 if (test_and_clear_bit(BNX2FC_FLAG_EH_ABORT, in bnx2fc_process_abts_compl() 1957 if (test_and_clear_bit(BNX2FC_FLAG_EH_ABORT, in bnx2fc_process_scsi_cmd_compl()
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_state.c | 294 if (test_and_clear_bit(CL_ST_CHG_SUCCESS, &device->flags)) in _req_st_cond() 297 if (test_and_clear_bit(CL_ST_CHG_FAIL, &device->flags)) in _req_st_cond() 936 if (test_and_clear_bit(AL_SUSPENDED, &device->flags)) in drbd_resume_al() 1456 was_io_error = test_and_clear_bit(WAS_IO_ERROR, &device->flags); in after_state_ch() 1474 if (test_and_clear_bit(FORCE_DETACH, &device->flags)) in after_state_ch() 1522 test_and_clear_bit(RESYNC_AFTER_NEG, &device->flags)) { in after_state_ch() 1804 if (test_and_clear_bit(CONN_WD_ST_CHG_OKAY, &connection->flags)) in _conn_rq_cond() 1807 if (test_and_clear_bit(CONN_WD_ST_CHG_FAIL, &connection->flags)) in _conn_rq_cond()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | bitops.h | 145 static __inline__ int test_and_clear_bit(unsigned long nr, in test_and_clear_bit() function
|
/linux-4.1.27/fs/ntfs/ |
D | inode.h | 206 return test_and_clear_bit(NI_##flag, &(ni)->state); \
|
/linux-4.1.27/mm/ |
D | backing-dev.c | 342 if (!test_and_clear_bit(BDI_registered, &bdi->state)) { in bdi_wb_shutdown() 483 if (test_and_clear_bit(bit, &bdi->state)) in clear_bdi_congested()
|
D | frontswap.c | 124 if (test_and_clear_bit(i, need_init)) { in frontswap_register_ops()
|
/linux-4.1.27/kernel/ |
D | softirq.c | 502 if (!test_and_clear_bit(TASKLET_STATE_SCHED, in tasklet_action() 538 if (!test_and_clear_bit(TASKLET_STATE_SCHED, in tasklet_hi_action()
|
/linux-4.1.27/drivers/usb/serial/ |
D | omninet.c | 179 if (!test_and_clear_bit(0, &port->write_urbs_free)) { in omninet_write()
|
D | cyberjack.c | 178 if (!test_and_clear_bit(0, &port->write_urbs_free)) { in cyberjack_write()
|
/linux-4.1.27/sound/atmel/ |
D | ac97c.c | 261 if (test_and_clear_bit(DMA_TX_READY, &chip->flags)) in atmel_ac97c_playback_hw_params() 285 if (test_and_clear_bit(DMA_RX_READY, &chip->flags)) in atmel_ac97c_capture_hw_params() 301 if (test_and_clear_bit(DMA_TX_READY, &chip->flags)) in atmel_ac97c_playback_hw_free() 311 if (test_and_clear_bit(DMA_RX_READY, &chip->flags)) in atmel_ac97c_capture_hw_free()
|
D | abdac.c | 207 if (test_and_clear_bit(DMA_READY, &dac->flags)) in atmel_abdac_hw_params() 216 if (test_and_clear_bit(DMA_READY, &dac->flags)) in atmel_abdac_hw_free()
|
/linux-4.1.27/drivers/net/slip/ |
D | slip.c | 961 if (!test_and_clear_bit(SLF_ERROR, &sl->flags) && 972 if (test_and_clear_bit(SLF_ESCAPE, &sl->flags)) 976 if (test_and_clear_bit(SLF_ESCAPE, &sl->flags)) 1044 if (!test_and_clear_bit(SLF_ERROR, &sl->flags) &&
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | bitops.h | 200 test_and_clear_bit(unsigned long nr, volatile void * addr) in test_and_clear_bit() function
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
D | scan.c | 114 if (!test_and_clear_bit(STATUS_SCAN_COMPLETE, &priv->status)) in iwl_process_scan_complete() 121 aborted = test_and_clear_bit(STATUS_SCAN_ABORTING, &priv->status); in iwl_process_scan_complete() 125 if (!test_and_clear_bit(STATUS_SCANNING, &priv->status)) { in iwl_process_scan_complete()
|
/linux-4.1.27/drivers/usb/host/ |
D | max3421-hcd.c | 1430 if (test_and_clear_bit(ENABLE_IRQ, &max3421_hcd->todo)) in max3421_spi_thread() 1445 if (test_and_clear_bit(RESET_HCD, &max3421_hcd->todo)) in max3421_spi_thread() 1448 if (test_and_clear_bit(RESET_PORT, &max3421_hcd->todo)) { in max3421_spi_thread() 1454 if (test_and_clear_bit(CHECK_UNLINK, &max3421_hcd->todo)) in max3421_spi_thread() 1456 if (test_and_clear_bit(IOPIN_UPDATE, &max3421_hcd->todo)) { in max3421_spi_thread()
|
/linux-4.1.27/fs/afs/ |
D | flock.c | 241 if (!test_and_clear_bit(AFS_VNODE_READLOCKED, &vnode->flags) && in afs_defer_unlock() 242 !test_and_clear_bit(AFS_VNODE_WRITELOCKED, &vnode->flags)) in afs_defer_unlock()
|
/linux-4.1.27/drivers/net/wireless/ti/wlcore/ |
D | tx.c | 243 test_and_clear_bit(WL1271_FLAG_REINIT_TX_WDOG, &wl->flags)) in wl1271_tx_allocate() 673 test_and_clear_bit(WL1271_FLAG_DUMMY_PACKET_PENDING, &wl->flags)) { in wl1271_skb_dequeue() 1244 WARN_ON_ONCE(!test_and_clear_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_wake_queue() 1286 WARN_ON_ONCE(!test_and_clear_bit(reason, in wlcore_wake_queues()
|
D | event.c | 147 if (!test_and_clear_bit(WLVIF_FLAG_CS_PROGRESS, in wlcore_event_channel_switch()
|
D | ps.c | 119 if (!test_and_clear_bit(WL1271_FLAG_ELP_REQUESTED, &wl->flags)) in wl1271_ps_elp_wakeup()
|
/linux-4.1.27/drivers/media/platform/exynos-gsc/ |
D | gsc-core.c | 880 if (test_and_clear_bit(ST_M2M_PEND, &gsc->state)) { in gsc_irq_handler() 884 if (test_and_clear_bit(ST_M2M_SUSPENDING, &gsc->state)) { in gsc_irq_handler() 1069 if (test_and_clear_bit(ST_M2M_SUSPENDED, &gsc->state)) in gsc_m2m_resume() 1218 if (!test_and_clear_bit(ST_SUSPEND, &gsc->state) || in gsc_resume()
|
/linux-4.1.27/drivers/media/platform/exynos4-is/ |
D | fimc-core.c | 323 if (test_and_clear_bit(ST_M2M_PEND, &fimc->state)) { in fimc_irq_handler() 324 if (test_and_clear_bit(ST_M2M_SUSPENDING, &fimc->state)) { in fimc_irq_handler() 869 if (test_and_clear_bit(ST_M2M_SUSPENDED, &fimc->state)) in fimc_m2m_resume() 1087 if (!test_and_clear_bit(ST_LPM, &fimc->state) || in fimc_resume()
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-isp1301-omap.c | 1111 if (test_and_clear_bit(WORK_UPDATE_ISP, &isp->todo)) { in isp1301_work() 1117 if (test_and_clear_bit(WORK_UPDATE_OTG, &isp->todo)) { in isp1301_work() 1124 if (test_and_clear_bit(WORK_HOST_RESUME, &isp->todo)) { in isp1301_work() 1159 if (test_and_clear_bit(WORK_TIMER, &isp->todo)) { in isp1301_work()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | bitops.h | 194 test_and_clear_bit(unsigned long nr, volatile unsigned long *ptr) in test_and_clear_bit() function
|
/linux-4.1.27/fs/ocfs2/cluster/ |
D | quorum.c | 193 if (test_and_clear_bit(node, qs->qs_hold_bm)) { in o2quo_clear_hold()
|
/linux-4.1.27/net/bluetooth/rfcomm/ |
D | core.c | 465 if (test_and_clear_bit(RFCOMM_DEFER_SETUP, &d->flags)) { in __rfcomm_dlc_close() 1805 if (test_and_clear_bit(RFCOMM_MSC_PENDING, &d->flags)) in rfcomm_process_tx() 1864 if (test_and_clear_bit(RFCOMM_AUTH_ACCEPT, &d->flags)) { in rfcomm_process_dlcs() 1882 } else if (test_and_clear_bit(RFCOMM_AUTH_REJECT, &d->flags)) { in rfcomm_process_dlcs() 1996 if (test_and_clear_bit(RFCOMM_TIMED_OUT, &s->flags)) { in rfcomm_process_sessions() 2128 if (test_and_clear_bit(RFCOMM_SEC_PENDING, &d->flags)) { in rfcomm_security_cfm() 2148 if (!test_and_clear_bit(RFCOMM_AUTH_PENDING, &d->flags)) in rfcomm_security_cfm()
|
/linux-4.1.27/net/9p/ |
D | trans_fd.c | 388 if (test_and_clear_bit(Rpending, &m->wsched)) in p9_read_work() 502 if (test_and_clear_bit(Wpending, &m->wsched)) in p9_write_work() 676 if (test_and_clear_bit(Wpending, &m->wsched)) in p9_fd_request()
|
/linux-4.1.27/drivers/mmc/host/ |
D | dw_mmc.c | 1050 if (test_and_clear_bit(DW_MMC_CARD_NEED_INIT, &slot->flags)) in __dw_mci_start_request() 1594 if (!test_and_clear_bit(EVENT_CMD_COMPLETE, in dw_mci_tasklet_func() 1633 if (test_and_clear_bit(EVENT_DATA_ERROR, in dw_mci_tasklet_func() 1644 if (!test_and_clear_bit(EVENT_XFER_COMPLETE, in dw_mci_tasklet_func() 1663 if (test_and_clear_bit(EVENT_DATA_ERROR, in dw_mci_tasklet_func() 1678 if (!test_and_clear_bit(EVENT_DATA_COMPLETE, in dw_mci_tasklet_func() 1724 if (!test_and_clear_bit(EVENT_CMD_COMPLETE, in dw_mci_tasklet_func() 1744 if (!test_and_clear_bit(EVENT_XFER_COMPLETE, in dw_mci_tasklet_func()
|
/linux-4.1.27/sound/usb/line6/ |
D | capture.c | 196 if (test_and_clear_bit(index, &line6pcm->in.unlink_urbs)) in audio_in_callback()
|
/linux-4.1.27/net/sunrpc/ |
D | auth_generic.c | 245 if (test_and_clear_bit(RPC_CRED_KEY_EXPIRE_SOON, in generic_key_timeout()
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | bitops.h | 254 test_and_clear_bit (int nr, volatile void *addr) in test_and_clear_bit() function
|
/linux-4.1.27/drivers/pwm/ |
D | core.c | 473 if (pwm && test_and_clear_bit(PWMF_ENABLED, &pwm->flags)) in pwm_disable() 693 if (!test_and_clear_bit(PWMF_REQUESTED, &pwm->flags)) { in pwm_put()
|
D | sysfs.c | 222 if (!test_and_clear_bit(PWMF_EXPORTED, &pwm->flags)) in pwm_unexport_child()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | time-event.c | 111 if (test_and_clear_bit(IWL_MVM_STATUS_ROC_RUNNING, &mvm->status)) { in iwl_mvm_roc_done_wk() 115 if (test_and_clear_bit(IWL_MVM_STATUS_ROC_AUX_RUNNING, &mvm->status)) { in iwl_mvm_roc_done_wk()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
D | ql4_init.c | 413 if (test_and_clear_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags)) in qla4xxx_fw_ready() 476 if (test_and_clear_bit(DPC_GET_DHCP_IP_ADDR, in qla4xxx_fw_ready() 897 if (test_and_clear_bit(AF_GET_CRASH_RECORD, &ha->flags)) in qla4xxx_start_firmware()
|
D | ql4_attr.c | 58 if (test_and_clear_bit(AF_82XX_DUMP_READING, &ha->flags)) { in qla4_8xxx_sysfs_write_fw_dump()
|
/linux-4.1.27/include/net/bluetooth/ |
D | rfcomm.h | 270 if (test_and_clear_bit(RFCOMM_RX_THROTTLED, &d->flags)) in rfcomm_dlc_unthrottle()
|
/linux-4.1.27/arch/powerpc/sysdev/qe_lib/ |
D | gpio.c | 207 test_and_clear_bit(QE_PIN_REQUESTED, &qe_gc->pin_flags[pin]); in qe_pin_free()
|
/linux-4.1.27/drivers/uio/ |
D | uio_dmem_genirq.c | 136 if (test_and_clear_bit(0, &priv->flags)) in uio_dmem_genirq_irqcontrol()
|
/linux-4.1.27/net/irda/irnet/ |
D | irnet_irda.c | 1119 test_open = test_and_clear_bit(0, &self->ttp_open); in irnet_disconnect_indication() 1122 test_connect = test_and_clear_bit(0, &self->ttp_connect); in irnet_disconnect_indication() 1405 (test_and_clear_bit(0, &new->ttp_connect))) in irnet_connect_indication()
|
/linux-4.1.27/drivers/gpio/ |
D | gpiolib-sysfs.c | 513 if (test_and_clear_bit(FLAG_SYSFS, &desc->flags)) { in unexport_store() 816 if (test_and_clear_bit(FLAG_SYSFS, &desc->flags)) in gpiochip_unexport()
|
/linux-4.1.27/fs/f2fs/ |
D | segment.h | 368 if (test_and_clear_bit(segno, free_i->free_segmap)) { in __set_test_and_free() 374 if (test_and_clear_bit(secno, free_i->free_secmap)) in __set_test_and_free()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | bitops.h | 337 static inline int test_and_clear_bit(unsigned long nr, in test_and_clear_bit() function
|
/linux-4.1.27/include/linux/sunrpc/ |
D | xprt.h | 387 return test_and_clear_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_clear_connected()
|
/linux-4.1.27/net/netfilter/ipset/ |
D | ip_set_bitmap_port.c | 83 return !test_and_clear_bit(e->id, map->members); in bitmap_port_do_del()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/ |
D | internal.h | 449 if (test_and_clear_bit(txq->q.id, trans_pcie->queue_stopped)) { in iwl_wake_queue()
|
/linux-4.1.27/drivers/char/ |
D | lp.c | 176 if (test_and_clear_bit(LP_PARPORT_CLAIMED, &this_lp->bits)) { in lp_release_parport() 395 if (test_and_clear_bit(LP_PREEMPT_REQUEST, in lp_write()
|
/linux-4.1.27/drivers/hsi/clients/ |
D | hsi_char.c | 558 if (!test_and_clear_bit(HSC_CH_WLINE, &channel->flags)) in hsc_ioctl() 653 if (test_and_clear_bit(HSC_CH_WLINE, &channel->flags)) in hsc_release()
|
/linux-4.1.27/drivers/hid/usbhid/ |
D | hid-pidff.c | 1107 if (test_and_clear_bit(FF_CONSTANT, dev->ffbit)) in pidff_init_fields() 1110 if (test_and_clear_bit(FF_RAMP, dev->ffbit)) in pidff_init_fields() 1114 if (test_and_clear_bit(FF_PERIODIC, dev->ffbit)) in pidff_init_fields()
|
/linux-4.1.27/drivers/net/caif/ |
D | caif_hsi.c | 765 if (test_and_clear_bit(CFHSI_FLUSH_FIFO, &cfhsi->bits)) in cfhsi_rx_done_cb() 800 test_and_clear_bit(CFHSI_WAKE_UP_ACK, in cfhsi_wake_up() 917 test_and_clear_bit(CFHSI_WAKE_DOWN_ACK, in cfhsi_wake_down()
|
/linux-4.1.27/kernel/irq/ |
D | manage.c | 706 if (test_and_clear_bit(IRQTF_RUNTHREAD, in irq_wait_for_interrupt() 782 if (!test_and_clear_bit(IRQTF_AFFINITY, &action->thread_flags)) in irq_thread_check_affinity() 873 if (test_and_clear_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in irq_thread_dtor()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | sge.c | 1263 test_and_clear_bit(TXQ_ETH, &qs->txq_stopped)) { in t3_eth_xmit() 1385 test_and_clear_bit(qid, &qs->txq_stopped)) in check_desc_avail() 1498 test_and_clear_bit(TXQ_CTRL, &qs->txq_stopped)) in restart_ctrlq() 1703 test_and_clear_bit(TXQ_OFLD, &qs->txq_stopped)) in restart_offloadq() 1923 test_and_clear_bit(TXQ_ETH, &qs->txq_stopped)) { in restart_tx() 1931 test_and_clear_bit(TXQ_OFLD, &qs->txq_stopped)) { in restart_tx() 1937 test_and_clear_bit(TXQ_CTRL, &qs->txq_stopped)) { in restart_tx()
|
/linux-4.1.27/drivers/media/radio/ |
D | radio-shark2.c | 153 if (!test_and_clear_bit(i, &shark->brightness_new)) in shark_led_work()
|