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