Home
last modified time | relevance | path

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

/include/asm-generic/bitops/
Dlock.h13 #define test_and_set_bit_lock(nr, addr) test_and_set_bit(nr, addr)
Dle.h80 return test_and_set_bit(nr ^ BITOP_LE_SWIZZLE, addr); in test_and_set_bit_le()
Datomic.h128 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) in test_and_set_bit() function
/include/linux/
Dwait_bit.h187 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock()
211 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock_io()
238 if (!test_and_set_bit(bit, word)) in wait_on_bit_lock_action()
Dinterrupt.h562 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state); in tasklet_trylock()
585 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_schedule()
593 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state)) in tasklet_hi_schedule()
Dthread_info.h65 return test_and_set_bit(flag, (unsigned long *)&ti->flags); in test_and_set_ti_thread_flag()
Dlru_cache.h282 return !test_and_set_bit(__LC_LOCKED, &lc->flags); in lc_try_lock_for_transaction()
DmISDNhw.h83 test_and_set_bit(ev, &((s)->Flags)); \
Dnfs_page.h153 return !test_and_set_bit(PG_BUSY, &req->wb_flags); in nfs_lock_request()
Dpage-flags.h222 { return test_and_set_bit(PG_##lname, &policy(page, 1)->flags); }
637 return test_and_set_bit(PG_double_map, &page[1].flags); in TestSetPageDoubleMap()
Dbuffer_head.h105 return test_and_set_bit(BH_##bit, &(bh)->b_state); \
Dcpumask.h330 return test_and_set_bit(cpumask_check(cpu), cpumask_bits(cpumask)); in cpumask_test_and_set_cpu()
Dnodemask.h149 return test_and_set_bit(node, addr->bits); in __node_test_and_set()
Dof.h193 return test_and_set_bit(flag, &n->_flags); in of_node_test_and_set_flag()
Dnetdevice.h3430 if (!test_and_set_bit(__LINK_STATE_DORMANT, &dev->state)) in netif_dormant_on()
/include/linux/sunrpc/
Dxprt.h416 return test_and_set_bit(XPRT_CONNECTED, &xprt->state); in xprt_test_and_set_connected()
438 return test_and_set_bit(XPRT_CONNECTING, &xprt->state); in xprt_test_and_set_connecting()
443 test_and_set_bit(XPRT_BOUND, &xprt->state); in xprt_set_bound()
465 return test_and_set_bit(XPRT_BINDING, &xprt->state); in xprt_test_and_set_binding()
Dsched.h149 test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate)
/include/net/bluetooth/
Drfcomm.h266 if (!test_and_set_bit(RFCOMM_RX_THROTTLED, &d->flags)) in rfcomm_dlc_throttle()
Dhci_core.h553 #define hci_dev_test_and_set_flag(hdev, nr) test_and_set_bit((nr), (hdev)->dev_flags)
/include/net/netfilter/
Dnf_tables.h1248 return test_and_set_bit(NFT_SET_ELEM_BUSY_BIT, word); in nft_set_elem_mark_busy()