Home
last modified time | relevance | path

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

/arch/xtensa/include/asm/
Dfutex.h52 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
96 case FUTEX_OP_CMP_EQ: return (oldval == cmparg); in futex_atomic_op_inuser()
97 case FUTEX_OP_CMP_NE: return (oldval != cmparg); in futex_atomic_op_inuser()
98 case FUTEX_OP_CMP_LT: return (oldval < cmparg); in futex_atomic_op_inuser()
99 case FUTEX_OP_CMP_GE: return (oldval >= cmparg); in futex_atomic_op_inuser()
100 case FUTEX_OP_CMP_LE: return (oldval <= cmparg); in futex_atomic_op_inuser()
101 case FUTEX_OP_CMP_GT: return (oldval > cmparg); in futex_atomic_op_inuser()
/arch/sparc/include/asm/
Dfutex_64.h37 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
74 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
75 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
76 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
77 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
78 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
79 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/arch/hexagon/include/asm/
Dfutex.h39 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
78 ret = (oldval == cmparg); in futex_atomic_op_inuser()
81 ret = (oldval != cmparg); in futex_atomic_op_inuser()
84 ret = (oldval < cmparg); in futex_atomic_op_inuser()
87 ret = (oldval >= cmparg); in futex_atomic_op_inuser()
90 ret = (oldval <= cmparg); in futex_atomic_op_inuser()
93 ret = (oldval > cmparg); in futex_atomic_op_inuser()
/arch/microblaze/include/asm/
Dfutex.h37 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
72 ret = (oldval == cmparg); in futex_atomic_op_inuser()
75 ret = (oldval != cmparg); in futex_atomic_op_inuser()
78 ret = (oldval < cmparg); in futex_atomic_op_inuser()
81 ret = (oldval >= cmparg); in futex_atomic_op_inuser()
84 ret = (oldval <= cmparg); in futex_atomic_op_inuser()
87 ret = (oldval > cmparg); in futex_atomic_op_inuser()
/arch/sh/include/asm/
Dfutex.h35 u32 cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
85 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
86 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
87 case FUTEX_OP_CMP_LT: ret = ((int)oldval < (int)cmparg); break; in futex_atomic_op_inuser()
88 case FUTEX_OP_CMP_GE: ret = ((int)oldval >= (int)cmparg); break; in futex_atomic_op_inuser()
89 case FUTEX_OP_CMP_LE: ret = ((int)oldval <= (int)cmparg); break; in futex_atomic_op_inuser()
90 case FUTEX_OP_CMP_GT: ret = ((int)oldval > (int)cmparg); break; in futex_atomic_op_inuser()
/arch/powerpc/include/asm/
Dfutex.h39 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
73 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
74 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
75 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
76 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
77 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
78 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/arch/alpha/include/asm/
Dfutex.h37 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
71 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
72 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
73 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
74 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
75 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
76 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/arch/x86/include/asm/
Dfutex.h49 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
86 ret = (oldval == cmparg); in futex_atomic_op_inuser()
89 ret = (oldval != cmparg); in futex_atomic_op_inuser()
92 ret = (oldval < cmparg); in futex_atomic_op_inuser()
95 ret = (oldval >= cmparg); in futex_atomic_op_inuser()
98 ret = (oldval <= cmparg); in futex_atomic_op_inuser()
101 ret = (oldval > cmparg); in futex_atomic_op_inuser()
/arch/s390/include/asm/
Dfutex.h29 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
65 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
66 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
67 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
68 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
69 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
70 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/arch/arc/include/asm/
Dfutex.h81 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
124 ret = (oldval == cmparg); in futex_atomic_op_inuser()
127 ret = (oldval != cmparg); in futex_atomic_op_inuser()
130 ret = (oldval < cmparg); in futex_atomic_op_inuser()
133 ret = (oldval >= cmparg); in futex_atomic_op_inuser()
136 ret = (oldval <= cmparg); in futex_atomic_op_inuser()
139 ret = (oldval > cmparg); in futex_atomic_op_inuser()
/arch/arm64/include/asm/
Dfutex.h56 int cmparg = (int)(encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
97 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
98 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
99 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
100 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
101 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
102 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/arch/ia64/include/asm/
Dfutex.h53 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
89 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
90 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
91 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
92 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
93 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
94 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/arch/frv/kernel/
Dfutex.c194 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
230 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
231 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
232 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
233 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
234 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
235 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/arch/mips/include/asm/
Dfutex.h91 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
130 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
131 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
132 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
133 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
134 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
135 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/arch/tile/include/asm/
Dfutex.h114 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
154 ret = (val == cmparg); in futex_atomic_op_inuser()
157 ret = (val != cmparg); in futex_atomic_op_inuser()
160 ret = (val < cmparg); in futex_atomic_op_inuser()
163 ret = (val >= cmparg); in futex_atomic_op_inuser()
166 ret = (val <= cmparg); in futex_atomic_op_inuser()
169 ret = (val > cmparg); in futex_atomic_op_inuser()
/arch/parisc/include/asm/
Dfutex.h41 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
90 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
91 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
92 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
93 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
94 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
95 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()
/arch/arm/include/asm/
Dfutex.h136 int cmparg = (encoded_op << 20) >> 20; in futex_atomic_op_inuser() local
177 case FUTEX_OP_CMP_EQ: ret = (oldval == cmparg); break; in futex_atomic_op_inuser()
178 case FUTEX_OP_CMP_NE: ret = (oldval != cmparg); break; in futex_atomic_op_inuser()
179 case FUTEX_OP_CMP_LT: ret = (oldval < cmparg); break; in futex_atomic_op_inuser()
180 case FUTEX_OP_CMP_GE: ret = (oldval >= cmparg); break; in futex_atomic_op_inuser()
181 case FUTEX_OP_CMP_LE: ret = (oldval <= cmparg); break; in futex_atomic_op_inuser()
182 case FUTEX_OP_CMP_GT: ret = (oldval > cmparg); break; in futex_atomic_op_inuser()