Home
last modified time | relevance | path

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

/include/asm-generic/bitops/
A Dinstrumented-atomic.h68 static __always_inline bool test_and_set_bit(long nr, volatile unsigned long *addr) in test_and_set_bit() function
A Dle.h46 return test_and_set_bit(nr ^ BITOP_LE_SWIZZLE, addr); in test_and_set_bit_le()
/include/linux/
A Dwait_bit.h192 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock()
219 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock_io()
244 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock_action()
A Dlru_cache.h268 return !test_and_set_bit(__LC_LOCKED, &lc->flags); in lc_try_lock_for_transaction()
A Dinterrupt.h739 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock()
757 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_schedule()
765 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_hi_schedule()
A DmISDNhw.h74 test_and_set_bit(ev, &((s)->Flags)); \
A Dthread_info.h116 return test_and_set_bit(flag, (unsigned long *)&ti->flags); in test_and_set_ti_thread_flag()
A Dnfs_page.h233 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
A Dudp.h118 test_and_set_bit(UDP_FLAGS_##nr, &udp_sk(sk)->udp_flags)
A Dpage-flags.h438 { return test_and_set_bit(PG_##name, folio_flags(folio, page)); }
477 { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); }
A Dbuffer_head.h111 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
A Dnodemask.h155 return test_and_set_bit(node, addr->bits); in __node_test_and_set()
A Dcpumask.h661 return test_and_set_bit(cpumask_check(cpu), cpumask_bits(cpumask)); in cpumask_test_and_set_cpu()
A Dof.h198 return test_and_set_bit(flag, &n->_flags); in of_node_test_and_set_flag()
A Dnetdevice.h4485 if (!test_and_set_bit(__LINK_STATE_DORMANT, &dev->state)) in netif_dormant_on()
4525 if (!test_and_set_bit(__LINK_STATE_TESTING, &dev->state)) in netif_testing_on()
/include/linux/sunrpc/
A Dxprt.h483 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected()
505 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting()
510 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound()
532 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()
A Dsched.h165 test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate)
A Dsvc_xprt.h118 !test_and_set_bit(XPT_PEER_VALID, &xpt->xpt_flags)) { in svc_xprt_set_valid()
/include/net/bluetooth/
A Drfcomm.h265 if (!test_and_set_bit(RFCOMM_RX_THROTTLED, &d->flags)) in rfcomm_dlc_throttle()
A Dhci_core.h834 #define hci_dev_test_and_set_flag(hdev, nr) test_and_set_bit((nr), (hdev)->dev_flags)
/include/net/
A Dsch_generic.h205 if (test_and_set_bit(__QDISC_STATE_MISSED, &qdisc->state)) in qdisc_run_begin()

Completed in 65 milliseconds