| /OK3568_Linux_fs/kernel/arch/hexagon/include/asm/ |
| H A D | bitops.h | 55 static inline int test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() function 113 test_and_set_bit(nr, addr); in set_bit() 137 test_and_set_bit(nr, addr); in __set_bit() 153 return test_and_set_bit(nr, addr); in __test_and_set_bit()
|
| /OK3568_Linux_fs/kernel/drivers/isdn/mISDN/ |
| H A D | layer2.c | 196 if (test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in l2down_raw() 262 if (!test_and_set_bit(FLG_L1_NOTREADY, &l2->flag)) { in ph_data_confirm() 324 test_and_set_bit(FLG_PEER_BUSY, &l2->flag); in set_peer_busy() 326 test_and_set_bit(FLG_L2BLOCK, &l2->flag); in set_peer_busy() 659 test_and_set_bit(FLG_T200_RUN, &l2->flag); in start_t200() 666 test_and_set_bit(FLG_T200_RUN, &l2->flag); in restart_t200() 842 test_and_set_bit(FLG_L3_INIT, &l2->flag); in l2_establish() 853 test_and_set_bit(FLG_L3_INIT, &l2->flag); in l2_discard_i_setl3() 866 test_and_set_bit(FLG_L3_INIT, &l2->flag); in l2_l3_reestablish() 886 test_and_set_bit(FLG_PEND_REL, &l2->flag); in l2_pend_rel() [all …]
|
| H A D | stack.c | 30 test_and_set_bit(mISDN_STACK_WORK, &st->status); in _queue_message() 219 test_and_set_bit(mISDN_STACK_RUNNING, &st->status); in mISDNStackd() 229 test_and_set_bit(mISDN_STACK_WORK, in mISDNStackd() 257 test_and_set_bit(mISDN_STACK_STOPPED, &st->status); in mISDNStackd() 261 test_and_set_bit(mISDN_STACK_RESTART, &st->status); in mISDNStackd() 265 test_and_set_bit(mISDN_STACK_RUNNING, &st->status); in mISDNStackd() 267 test_and_set_bit(mISDN_STACK_WORK, in mISDNStackd() 285 test_and_set_bit(mISDN_STACK_ACTIVE, &st->status); in mISDNStackd() 311 test_and_set_bit(mISDN_STACK_KILLED, &st->status); in mISDNStackd() 636 test_and_set_bit(mISDN_STACK_ABORT, &st->status); in delete_stack() [all …]
|
| H A D | hwchannel.c | 59 test_and_set_bit(FLG_HDLC, &ch->Flags); in mISDN_initdchannel() 168 test_and_set_bit(FLG_FILLEMPTY, &bch->Flags); in mISDN_ctrl_bchannel() 177 test_and_set_bit(FLG_RX_OFF, &bch->Flags); in mISDN_ctrl_bchannel() 417 if (test_and_set_bit(FLG_TX_BUSY, &ch->Flags)) { in dchannel_senddata() 451 if (test_and_set_bit(FLG_TX_BUSY, &ch->Flags)) { in bchannel_senddata() 452 test_and_set_bit(FLG_TX_NEXT, &ch->Flags); in bchannel_senddata()
|
| H A D | layer1.c | 131 test_and_set_bit(FLG_L1_DEACTTIMER, &l1->Flags); in l1_deact_req_s() 180 test_and_set_bit(FLG_L1_ACTTIMER, &l1->Flags); in l1_info4_ind() 207 test_and_set_bit(FLG_L1_ACTIVATED, &l1->Flags); in l1_timer_act() 230 test_and_set_bit(FLG_L1_T3RUN, &l1->Flags); in l1_activate_s() 346 test_and_set_bit(FLG_L1_ACTIVATING, &l1->Flags); in l1_event()
|
| H A D | tei.c | 334 if (!test_and_set_bit(MGR_PH_NOTREADY, &mgr->options)) { in do_send() 793 test_and_set_bit(OPTION_L2_FIXEDTEI, &opt); in create_new_tei() 796 test_and_set_bit(OPTION_L2_PMX, &opt); in create_new_tei() 999 test_and_set_bit(OPTION_L2_FIXEDTEI, &opt); in create_teimgr() 1001 test_and_set_bit(OPTION_L2_PTP, &opt); in create_teimgr() 1020 test_and_set_bit(MGR_OPT_NETWORK, &mgr->options); in create_teimgr() 1022 test_and_set_bit(MGR_OPT_USER, &mgr->options); in create_teimgr() 1027 test_and_set_bit(OPTION_L2_PMX, &opt); in create_teimgr() 1116 test_and_set_bit(MGR_PH_ACTIVE, &mgr->options); in mgr_send() 1179 test_and_set_bit(OPTION_L2_CLEANUP, &mgr->options); in ctrl_teimanager() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/sandbox/include/asm/ |
| H A D | bitops.h | 61 static inline int test_and_set_bit(int nr, void *addr) in test_and_set_bit() function 154 #define ext2_set_bit test_and_set_bit 161 #define minix_test_and_set_bit(nr, addr) test_and_set_bit(nr, addr)
|
| /OK3568_Linux_fs/kernel/drivers/isdn/hardware/mISDN/ |
| H A D | mISDNisar.c | 612 test_and_set_bit(FLG_LASTDATA, in isar_fill_fifo() 617 test_and_set_bit(FLG_DLEETX, in isar_fill_fifo() 683 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next() 687 test_and_set_bit(FLG_LASTDATA, &ch->bch.Flags); in send_next() 688 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next() 708 test_and_set_bit(FLG_LL_OK, &ch->bch.Flags); in send_next() 713 test_and_set_bit(FLG_TX_EMPTY, &ch->bch.Flags); in send_next() 830 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_modem() 925 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_fax() 930 if (test_and_set_bit(FLG_FTI_RUN, in isar_pump_statev_fax() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/nds32/include/asm/ |
| H A D | bitops.h | 74 extern int test_and_set_bit(int nr, void *addr); 175 #define ext2_set_bit test_and_set_bit 182 #define minix_test_and_set_bit(nr, addr) test_and_set_bit(nr, addr)
|
| /OK3568_Linux_fs/u-boot/arch/arm/include/asm/ |
| H A D | bitops.h | 52 static inline int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() function 178 #define ext2_set_bit test_and_set_bit 185 #define minix_test_and_set_bit(nr,addr) test_and_set_bit(nr,addr)
|
| /OK3568_Linux_fs/kernel/arch/m68k/include/asm/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/selftests/ |
| H A D | igt_reset.c | 21 while (test_and_set_bit(I915_RESET_BACKOFF, >->reset.flags)) in igt_global_reset_lock() 26 while (test_and_set_bit(I915_RESET_ENGINE + id, in igt_global_reset_lock()
|
| /OK3568_Linux_fs/kernel/arch/sh/boards/mach-x3proto/ |
| H A D | ilsel.c | 103 } while (test_and_set_bit(bit, &ilsel_level_map)); in ilsel_enable() 126 if (test_and_set_bit(bit, &ilsel_level_map)) in ilsel_enable_fixed()
|
| /OK3568_Linux_fs/kernel/arch/x86/kvm/vmx/ |
| H A D | posted_intr.h | 33 return test_and_set_bit(POSTED_INTR_ON, in pi_test_and_set_on() 45 return test_and_set_bit(vector, (unsigned long *)pi_desc->pir); in pi_test_and_set_pir()
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/ |
| H A D | perfctr-watchdog.c | 126 if (!test_and_set_bit(counter, perfctr_nmi_owner)) in reserve_perfctr_nmi() 154 if (!test_and_set_bit(counter, evntsel_nmi_owner)) in reserve_evntsel_nmi()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/sparc/lib/ |
| H A 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)
|
| /OK3568_Linux_fs/kernel/include/linux/sunrpc/ |
| H A D | xprt.h | 443 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected() 465 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting() 470 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound() 492 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()
|
| /OK3568_Linux_fs/kernel/kernel/irq/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/arch/arm/kernel/ |
| H A D | perf_event_xscale.c | 280 if (test_and_set_bit(XSCALE_CYCLE_COUNTER, cpuc->used_mask)) in xscale1pmu_get_event_idx() 285 if (!test_and_set_bit(XSCALE_COUNTER1, cpuc->used_mask)) in xscale1pmu_get_event_idx() 288 if (!test_and_set_bit(XSCALE_COUNTER0, cpuc->used_mask)) in xscale1pmu_get_event_idx() 656 if (!test_and_set_bit(XSCALE_COUNTER3, cpuc->used_mask)) in xscale2pmu_get_event_idx() 658 else if (!test_and_set_bit(XSCALE_COUNTER2, cpuc->used_mask)) in xscale2pmu_get_event_idx()
|
| /OK3568_Linux_fs/u-boot/arch/mips/include/asm/ |
| H A D | bitops.h | 171 test_and_set_bit(int nr, volatile void *addr) in test_and_set_bit() function 429 static __inline__ int test_and_set_bit(int nr, volatile void * addr) in test_and_set_bit() function 884 #define ext2_set_bit(nr, addr) test_and_set_bit((nr), (addr)) 898 #define minix_test_and_set_bit(nr,addr) test_and_set_bit(nr,addr)
|
| /OK3568_Linux_fs/kernel/fs/fscache/ |
| H A D | cache.c | 241 if (test_and_set_bit(FSCACHE_TAG_RESERVED, &tag->flags)) in fscache_add_cache() 315 if (!test_and_set_bit(FSCACHE_IOERROR, &cache->flags)) in fscache_io_error() 371 if (test_and_set_bit(FSCACHE_CACHE_WITHDRAWN, &cache->flags)) in fscache_withdraw_cache()
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-raid.c | 1195 if (test_and_set_bit(__CTR_FLAG_NOSYNC, &rs->ctr_flags)) { in parse_raid_params() 1202 if (test_and_set_bit(__CTR_FLAG_SYNC, &rs->ctr_flags)) { in parse_raid_params() 1209 if (test_and_set_bit(__CTR_FLAG_RAID10_USE_NEAR_SETS, &rs->ctr_flags)) { in parse_raid_params() 1228 if (test_and_set_bit(__CTR_FLAG_RAID10_FORMAT, &rs->ctr_flags)) { in parse_raid_params() 1249 if (test_and_set_bit(__CTR_FLAG_JOURNAL_DEV, &rs->ctr_flags)) { in parse_raid_params() 1285 if (test_and_set_bit(__CTR_FLAG_JOURNAL_MODE, &rs->ctr_flags)) { in parse_raid_params() 1317 if (test_and_set_bit(value, (void *) rs->rebuild_disks)) { in parse_raid_params() 1347 if (test_and_set_bit(__CTR_FLAG_MAX_WRITE_BEHIND, &rs->ctr_flags)) { in parse_raid_params() 1363 if (test_and_set_bit(__CTR_FLAG_DAEMON_SLEEP, &rs->ctr_flags)) { in parse_raid_params() 1374 if (test_and_set_bit(__CTR_FLAG_DATA_OFFSET, &rs->ctr_flags)) { in parse_raid_params() [all …]
|
| /OK3568_Linux_fs/kernel/net/core/ |
| H A D | link_watch.c | 127 if (test_and_set_bit(LW_URGENT, &linkwatch_flags)) in linkwatch_schedule_work() 261 if (!test_and_set_bit(__LINK_STATE_LINKWATCH_PENDING, &dev->state)) { in linkwatch_fire_event()
|