Searched refs:test_and_set_bit (Results 1 - 17 of 17) sorted by relevance

/external/kernel-headers/original/asm-generic/bitops/
H A Dle.h16 #define generic_test_and_set_le_bit(nr, addr) test_and_set_bit(nr, addr)
34 test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr))
H A Datomic.h121 * test_and_set_bit - Set a bit and return its old value
129 static inline int test_and_set_bit(int nr, volatile unsigned long *addr) function
/external/kernel-headers/original/asm-x86/
H A Dbitops_32.h162 * test_and_set_bit - Set a bit and return its old value
170 static inline int test_and_set_bit(int nr, volatile unsigned long * addr) function
186 * This is the same as test_and_set_bit on x86.
190 return test_and_set_bit(nr, addr);
464 test_and_set_bit((nr),(unsigned long*)addr)
H A Dmpspec_32.h48 #define physid_test_and_set(physid, map) test_and_set_bit(physid, (map).mask)
/external/kernel-headers/original/linux/
H A Dthread_info.h42 return test_and_set_bit(flag,&ti->flags);
H A Dinterrupt.h288 return !test_and_set_bit(TASKLET_STATE_RUN, &(t)->state);
311 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state))
319 if (!test_and_set_bit(TASKLET_STATE_SCHED, &t->state))
H A Dnetdevice.h750 if (!test_and_set_bit(__LINK_STATE_DORMANT, &dev->state))
834 return !test_and_set_bit(__LINK_STATE_RX_SCHED, &dev->state);
895 while (test_and_set_bit(__LINK_STATE_RX_SCHED, &dev->state))
H A Dcpumask.h121 return test_and_set_bit(cpu, addr->bits);
H A Dwait.h447 if (!test_and_set_bit(bit, word))
H A Dnodemask.h122 return test_and_set_bit(node, addr->bits);
/external/kernel-headers/original/asm-arm/
H A Dbitops.h203 #define test_and_set_bit(nr,p) ATOMIC_BITOP_LE(test_and_set_bit,nr,p) macro
221 #define test_and_set_bit(nr,p) ATOMIC_BITOP_BE(test_and_set_bit,nr,p) macro
297 test_and_set_bit(WORD_BITOFF_TO_LE(nr), (unsigned long *)(p))
/external/kernel-headers/original/linux/sunrpc/
H A Dsched.h156 (test_and_set_bit(RPC_TASK_RUNNING, &(t)->tk_runstate))
174 (test_and_set_bit(RPC_TASK_WAKEUP, &(t)->tk_runstate) == 0)
H A Dxprt.h290 return test_and_set_bit(XPRT_CONNECTED, &xprt->state);
312 return test_and_set_bit(XPRT_CONNECTING, &xprt->state);
/external/oprofile/module/
H A Dop_dname.c76 if (test_and_set_bit(0, &hash_map_open))
H A Doprofile.c243 if (test_and_set_bit(0, &oprof_note_opened))
385 if (test_and_set_bit(0, &oprof_opened))
/external/kernel-headers/original/asm-mips/
H A Dbitops.h248 * test_and_set_bit - Set a bit and return its old value
255 static inline int test_and_set_bit(unsigned long nr, function
269 "1: " __LL "%0, %1 # test_and_set_bit \n"
286 "1: " __LL "%0, %1 # test_and_set_bit \n"
337 "1: " __LL "%0, %1 # test_and_set_bit \n"
354 "1: " __LL "%0, %1 # test_and_set_bit \n"
/external/e2fsprogs/e2fsck/
H A Drevoke.c389 if (test_and_set_bit(BH_RevokeValid, &bh->b_state))

Completed in 235 milliseconds