![]() |
|
|||
0001 cat <<EOF 0002 /** 0003 * arch_${atomic}_dec_and_test - decrement and test 0004 * @v: pointer of type ${atomic}_t 0005 * 0006 * Atomically decrements @v by 1 and 0007 * returns true if the result is 0, or false for all other 0008 * cases. 0009 */ 0010 static __always_inline bool 0011 arch_${atomic}_dec_and_test(${atomic}_t *v) 0012 { 0013 return arch_${atomic}_dec_return(v) == 0; 0014 } 0015 EOF
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |