• Home
  • Raw
  • Download

Lines Matching refs:ret

23 	int oldval, ret;  in atomic_futex_op_xchg_set()  local
44 : "+U"(*uaddr), "=&r"(oldval), "=&r"(ret), "=r"(oparg) in atomic_futex_op_xchg_set()
50 return ret; in atomic_futex_op_xchg_set()
55 int oldval, ret; in atomic_futex_op_xchg_add() local
77 : "+U"(*uaddr), "=&r"(oldval), "=&r"(ret), "=r"(oparg) in atomic_futex_op_xchg_add()
83 return ret; in atomic_futex_op_xchg_add()
88 int oldval, ret; in atomic_futex_op_xchg_or() local
110 : "+U"(*uaddr), "=&r"(oldval), "=&r"(ret), "=r"(oparg) in atomic_futex_op_xchg_or()
116 return ret; in atomic_futex_op_xchg_or()
121 int oldval, ret; in atomic_futex_op_xchg_and() local
143 : "+U"(*uaddr), "=&r"(oldval), "=&r"(ret), "=r"(oparg) in atomic_futex_op_xchg_and()
149 return ret; in atomic_futex_op_xchg_and()
154 int oldval, ret; in atomic_futex_op_xchg_xor() local
176 : "+U"(*uaddr), "=&r"(oldval), "=&r"(ret), "=r"(oparg) in atomic_futex_op_xchg_xor()
182 return ret; in atomic_futex_op_xchg_xor()
195 int oldval = 0, ret; in futex_atomic_op_inuser() local
207 ret = atomic_futex_op_xchg_set(oparg, uaddr, &oldval); in futex_atomic_op_inuser()
210 ret = atomic_futex_op_xchg_add(oparg, uaddr, &oldval); in futex_atomic_op_inuser()
213 ret = atomic_futex_op_xchg_or(oparg, uaddr, &oldval); in futex_atomic_op_inuser()
216 ret = atomic_futex_op_xchg_and(~oparg, uaddr, &oldval); in futex_atomic_op_inuser()
219 ret = atomic_futex_op_xchg_xor(oparg, uaddr, &oldval); in futex_atomic_op_inuser()
222 ret = -ENOSYS; in futex_atomic_op_inuser()
228 if (!ret) { in futex_atomic_op_inuser()
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()
236 default: ret = -ENOSYS; break; in futex_atomic_op_inuser()
240 return ret; in futex_atomic_op_inuser()