Home
last modified time | relevance | path

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

/include/asm-generic/bitops/
Dle.h46 return test_and_set_bit(nr ^ BITOP_LE_SWIZZLE, addr); in test_and_set_bit_le()
Dinstrumented-atomic.h68 static __always_inline bool test_and_set_bit(long nr, volatile unsigned long *addr) in test_and_set_bit() function
/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()
Dlru_cache.h268 return !test_and_set_bit(__LC_LOCKED, &lc->flags); in lc_try_lock_for_transaction()
Dinterrupt.h721 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock()
739 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_schedule()
747 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_hi_schedule()
DmISDNhw.h74 test_and_set_bit(ev, &((s)->Flags)); \
Dudp.h105 test_and_set_bit(UDP_FLAGS_##nr, &udp_sk(sk)->udp_flags)
Dnfs_page.h234 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
Dthread_info.h108 return test_and_set_bit(flag, (unsigned long *)&ti->flags); in test_and_set_ti_thread_flag()
Dpage-flags.h406 { return test_and_set_bit(PG_##name, folio_flags(folio, page)); }
445 { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); }
Dbuffer_head.h110 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
Dnodemask.h159 return test_and_set_bit(node, addr->bits); in __node_test_and_set()
Dcpumask.h585 return test_and_set_bit(cpumask_check(cpu), cpumask_bits(cpumask)); in cpumask_test_and_set_cpu()
Dof.h198 return test_and_set_bit(flag, &n->_flags); in of_node_test_and_set_flag()
Dphy.h2199 return !test_and_set_bit(b, &shared->flags); in __phy_package_set_once()
Dnetdevice.h4244 if (!test_and_set_bit(__LINK_STATE_DORMANT, &dev->state)) in netif_dormant_on()
4284 if (!test_and_set_bit(__LINK_STATE_TESTING, &dev->state)) in netif_testing_on()
/include/linux/sunrpc/
Dxprt.h468 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected()
490 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting()
495 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound()
517 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()
Dsched.h164 test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate)
/include/net/bluetooth/
Drfcomm.h271 if (!test_and_set_bit(RFCOMM_RX_THROTTLED, &d->flags)) in rfcomm_dlc_throttle()
Dhci_core.h831 #define hci_dev_test_and_set_flag(hdev, nr) test_and_set_bit((nr), (hdev)->dev_flags)
/include/net/
Dsch_generic.h209 if (test_and_set_bit(__QDISC_STATE_MISSED, &qdisc->state)) in qdisc_run_begin()