/linux-3.3/arch/hexagon/include/asm/ |
D | bitops.h | 72 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() function 130 test_and_set_bit(nr, addr); in set_bit() 154 test_and_set_bit(nr, addr); in __set_bit() 170 return test_and_set_bit(nr, addr); in __test_and_set_bit()
|
/linux-3.3/arch/sparc/lib/ |
D | bitops.S | 11 .globl test_and_set_bit symbol 12 .type test_and_set_bit,#function 13 test_and_set_bit: /* %o0=nr, %o1=addr */ label 32 .size test_and_set_bit, .-test_and_set_bit
|
/linux-3.3/arch/mn10300/lib/ |
D | bitops.c | 24 if (!test_and_set_bit(nr, addr)) in change_bit() 43 if (!test_and_set_bit(nr, addr)) in test_and_change_bit()
|
/linux-3.3/net/rxrpc/ |
D | ar-accept.c | 137 if (!test_and_set_bit(RXRPC_CALL_INIT_ACCEPT, &call->flags)) { in rxrpc_accept_incoming_call() 189 !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) { in rxrpc_accept_incoming_call() 380 if (test_and_set_bit(RXRPC_CALL_HAS_USERID, &call->flags)) in rxrpc_accept_call() 382 if (test_and_set_bit(RXRPC_CALL_ACCEPTED, &call->events)) in rxrpc_accept_call() 398 !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) in rxrpc_accept_call() 437 if (test_and_set_bit(RXRPC_CALL_REJECT_BUSY, &call->events)) in rxrpc_reject_call() 461 !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) in rxrpc_reject_call()
|
/linux-3.3/drivers/isdn/mISDN/ |
D | layer2.c | 198 if (test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in l2down_raw() 264 if (!test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm() 301 test_and_set_bit(FLG_PEER_BUSY, &l2->flag); in set_peer_busy() 303 test_and_set_bit(FLG_L2BLOCK, &l2->flag); in set_peer_busy() 636 test_and_set_bit(FLG_T200_RUN, &l2->flag); in start_t200() 643 test_and_set_bit(FLG_T200_RUN, &l2->flag); in restart_t200() 819 test_and_set_bit(FLG_L3_INIT, &l2->flag); in l2_establish() 830 test_and_set_bit(FLG_L3_INIT, &l2->flag); in l2_discard_i_setl3() 843 test_and_set_bit(FLG_L3_INIT, &l2->flag); in l2_l3_reestablish() 863 test_and_set_bit(FLG_PEND_REL, &l2->flag); in l2_pend_rel() [all …]
|
D | stack.c | 35 test_and_set_bit(mISDN_STACK_WORK, &st->status); in _queue_message() 224 test_and_set_bit(mISDN_STACK_RUNNING, &st->status); in mISDNStackd() 234 test_and_set_bit(mISDN_STACK_WORK, in mISDNStackd() 262 test_and_set_bit(mISDN_STACK_STOPPED, &st->status); in mISDNStackd() 266 test_and_set_bit(mISDN_STACK_RESTART, &st->status); in mISDNStackd() 270 test_and_set_bit(mISDN_STACK_RUNNING, &st->status); in mISDNStackd() 272 test_and_set_bit(mISDN_STACK_WORK, in mISDNStackd() 290 test_and_set_bit(mISDN_STACK_ACTIVE, &st->status); in mISDNStackd() 315 test_and_set_bit(mISDN_STACK_KILLED, &st->status); in mISDNStackd() 639 test_and_set_bit(mISDN_STACK_ABORT, &st->status); in delete_stack() [all …]
|
D | layer1.c | 138 test_and_set_bit(FLG_L1_DEACTTIMER, &l1->Flags); in l1_deact_req_s() 187 test_and_set_bit(FLG_L1_ACTTIMER, &l1->Flags); in l1_info4_ind() 214 test_and_set_bit(FLG_L1_ACTIVATED, &l1->Flags); in l1_timer_act() 237 test_and_set_bit(FLG_L1_T3RUN, &l1->Flags); in l1_activate_s() 351 test_and_set_bit(FLG_L1_ACTIVATING, &l1->Flags); in l1_event()
|
/linux-3.3/arch/mips/kernel/ |
D | irq.c | 45 if (test_and_set_bit(irq, irq_map)) in allocate_irqno() 61 BUG_ON(test_and_set_bit(i, irq_map)); in alloc_legacy_irqno()
|
/linux-3.3/arch/mips/bcm47xx/ |
D | gpio.c | 35 if (test_and_set_bit(gpio, gpio_in_use)) in gpio_request() 45 if (test_and_set_bit(gpio, gpio_in_use)) in gpio_request()
|
/linux-3.3/arch/cris/include/asm/ |
D | bitops.h | 37 #define set_bit(nr, addr) (void)test_and_set_bit(nr, addr) 73 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() function
|
/linux-3.3/arch/x86/kernel/cpu/ |
D | perfctr-watchdog.c | 111 if (!test_and_set_bit(counter, perfctr_nmi_owner)) in reserve_perfctr_nmi() 139 if (!test_and_set_bit(counter, evntsel_nmi_owner)) in reserve_evntsel_nmi()
|
/linux-3.3/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-3.3/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 | 147 test_and_set_bit(BC_FLG_BUSY, &bcs->Flag); in jade_l2l1() 158 test_and_set_bit(BC_FLG_BUSY, &bcs->Flag); in jade_l2l1() 170 test_and_set_bit(FLG_L1_PULL_REQ, &st->l1.Flags); in jade_l2l1() 174 test_and_set_bit(BC_FLG_ACTIV, &bcs->Flag); in jade_l2l1() 215 if (!test_and_set_bit(BC_FLG_INIT, &bcs->Flag)) { in open_jadestate()
|
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 | arcofi.c | 23 if (test_and_set_bit(FLG_ARCOFI_TIMER, &cs->HW_Flags)) { in add_arcofi_timer() 59 test_and_set_bit(FLG_ARCOFI_ERROR, &cs->HW_Flags); in arcofi_fsm() 132 test_and_set_bit(HW_ARCOFI, &cs->HW_Flags); in init_arcofi()
|
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 | 455 if (test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in receive_dmsg() 484 if (test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in main_rec_hfcsx() 658 if (test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in receive_emsg() 770 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 777 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 794 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 801 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 822 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 837 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in hfcsx_interrupt() 897 if (!test_and_set_bit(FLG_LOCK_ATOMIC, &cs->HW_Flags)) { in HFCSX_l1hw() [all …]
|
/linux-3.3/include/linux/sunrpc/ |
D | xprt.h | 345 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected() 367 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting() 372 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound() 394 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()
|
/linux-3.3/drivers/isdn/hardware/mISDN/ |
D | mISDNisar.c | 625 test_and_set_bit(FLG_LASTDATA, in isar_fill_fifo() 630 test_and_set_bit(FLG_DLEETX, in isar_fill_fifo() 696 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next() 700 test_and_set_bit(FLG_LASTDATA, &ch->bch.Flags); in send_next() 701 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() 843 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_modem() 938 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_fax() 943 if (test_and_set_bit(FLG_FTI_RUN, in isar_pump_statev_fax() 948 test_and_set_bit(FLG_LL_CONN, in isar_pump_statev_fax() [all …]
|
/linux-3.3/kernel/irq/ |
D | handle.c | 47 if (test_and_set_bit(IRQTF_WARNED, &action->thread_flags)) in warn_no_thread() 64 test_and_set_bit(IRQTF_RUNTHREAD, &action->thread_flags)) in irq_wake_thread()
|
/linux-3.3/crypto/ |
D | chainiv.c | 133 test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) in async_chainiv_schedule_work() 154 if (test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) in async_chainiv_postpone_request() 194 if (test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) in async_chainiv_givencrypt() 214 if (test_and_set_bit(CHAINIV_STATE_INUSE, &ctx->state)) in async_chainiv_givencrypt_first()
|
/linux-3.3/include/linux/ |
D | interrupt.h | 540 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock() 563 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_schedule() 571 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_hi_schedule() 585 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_hi_schedule_first()
|
/linux-3.3/arch/m68k/include/asm/ |
D | bitops.h | 200 #define test_and_set_bit(nr, vaddr) bset_reg_test_and_set_bit(nr, vaddr) macro 202 #define test_and_set_bit(nr, vaddr) bset_mem_test_and_set_bit(nr, vaddr) macro 204 #define test_and_set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ macro 209 #define __test_and_set_bit(nr, vaddr) test_and_set_bit(nr, vaddr)
|
/linux-3.3/arch/mips/sgi-ip27/ |
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()
|