Home
last modified time | relevance | path

Searched refs:cmparg (Results 1 – 2 of 2) sorted by relevance

/external/kernel-headers/original/asm-generic/
Dfutex.h16 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
40 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
41 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
42 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
43 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
44 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
45 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/external/kernel-headers/original/linux/
Dfutex.h135 #define FUTEX_OP(op, oparg, cmp, cmparg) \ argument
137 | ((oparg & 0xfff) << 12) | (cmparg & 0xfff))