Home
last modified time | relevance | path

Searched refs:test_and_set_bit (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/Linux-v5.4/arch/hexagon/include/asm/
Dbitops.h55 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()
/Linux-v5.4/drivers/isdn/mISDN/
Dlayer2.c196 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 …]
Dstack.c30 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 …]
Dhwchannel.c59 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()
Dlayer1.c131 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()
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Digt_reset.c21 while (test_and_set_bit(I915_RESET_BACKOFF, &gt->reset.flags)) in igt_global_reset_lock()
26 while (test_and_set_bit(I915_RESET_ENGINE + id, in igt_global_reset_lock()
/Linux-v5.4/drivers/isdn/hardware/mISDN/
DmISDNisar.c613 test_and_set_bit(FLG_LASTDATA, in isar_fill_fifo()
618 test_and_set_bit(FLG_DLEETX, in isar_fill_fifo()
684 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next()
688 test_and_set_bit(FLG_LASTDATA, &ch->bch.Flags); in send_next()
689 test_and_set_bit(FLG_NMD_DATA, &ch->bch.Flags); in send_next()
709 test_and_set_bit(FLG_LL_OK, &ch->bch.Flags); in send_next()
714 test_and_set_bit(FLG_TX_EMPTY, &ch->bch.Flags); in send_next()
831 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_modem()
926 test_and_set_bit(ISAR_RATE_REQ, &ch->is->Flags); in isar_pump_statev_fax()
931 if (test_and_set_bit(FLG_FTI_RUN, in isar_pump_statev_fax()
[all …]
/Linux-v5.4/arch/sh/boards/mach-x3proto/
Dilsel.c103 } 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()
/Linux-v5.4/arch/m68k/include/asm/
Dbitops.h195 #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-v5.4/arch/x86/kernel/cpu/
Dperfctr-watchdog.c118 if (!test_and_set_bit(counter, perfctr_nmi_owner)) in reserve_perfctr_nmi()
146 if (!test_and_set_bit(counter, evntsel_nmi_owner)) in reserve_evntsel_nmi()
/Linux-v5.4/arch/mips/sgi-ip27/
Dip27-init.c62 if (test_and_set_bit(cnode, hub_init_mask)) in per_hub_init()
89 if (test_and_set_bit(slice, &hub->slice_map)) in per_cpu_init()
/Linux-v5.4/include/linux/
Dwait_bit.h182 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-v5.4/arch/sparc/lib/
Dbitops.S14 ENTRY(test_and_set_bit) /* %o0=nr, %o1=addr */
33 ENDPROC(test_and_set_bit)
34 EXPORT_SYMBOL(test_and_set_bit)
/Linux-v5.4/kernel/irq/
Dhandle.c52 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-v5.4/drivers/dma-buf/
Ddma-fence.c136 if (unlikely(test_and_set_bit(DMA_FENCE_FLAG_SIGNALED_BIT, in dma_fence_signal_locked()
288 if (!test_and_set_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, in dma_fence_enable_sw_signaling()
346 was_set = test_and_set_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, in dma_fence_add_callback()
476 was_set = test_and_set_bit(DMA_FENCE_FLAG_ENABLE_SIGNAL_BIT, in dma_fence_default_wait()
/Linux-v5.4/lib/
Dirq_poll.c33 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-v5.4/arch/xtensa/include/asm/
Dbitops.h156 test_and_set_bit(unsigned int bit, volatile unsigned long *p) in test_and_set_bit() function
275 test_and_set_bit(unsigned int bit, volatile unsigned long *p) in test_and_set_bit() function
/Linux-v5.4/include/linux/sunrpc/
Dxprt.h439 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected()
461 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting()
466 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound()
488 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()
/Linux-v5.4/net/core/
Dlink_watch.c119 if (test_and_set_bit(LW_URGENT, &linkwatch_flags)) in linkwatch_schedule_work()
252 if (!test_and_set_bit(__LINK_STATE_LINKWATCH_PENDING, &dev->state)) { in linkwatch_fire_event()
/Linux-v5.4/fs/fscache/
Dcache.c241 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()
/Linux-v5.4/arch/arm/kernel/
Dperf_event_xscale.c280 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()
/Linux-v5.4/drivers/watchdog/
Dsbc7240_wdt.c65 if (!test_and_set_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { in wdt_enable()
125 if (test_and_set_bit(SBC7240_OPEN_STATUS_BIT, &wdt_status)) in fop_open()
Ddiag288_wdt.c118 if (test_and_set_bit(DIAG_WDOG_BUSY, &wdt_status)) in wdt_start()
237 if (test_and_set_bit(DIAG_WDOG_BUSY, &wdt_status)) { in wdt_suspend()
/Linux-v5.4/arch/arm64/include/asm/
Dsync_bitops.h21 #define sync_test_and_set_bit(nr, p) test_and_set_bit(nr, p)
/Linux-v5.4/arch/sparc/include/asm/
Dbitops_64.h19 int test_and_set_bit(unsigned long nr, volatile unsigned long *addr);

12345678910>>...29