Lines Matching refs:cmd
88 int cmd = op & FUTEX_CMD_MASK; in do_futex() local
91 if (cmd != FUTEX_WAIT_BITSET && in do_futex()
92 cmd != FUTEX_WAIT_REQUEUE_PI && in do_futex()
93 cmd != FUTEX_LOCK_PI2) in do_futex()
97 switch (cmd) { in do_futex()
133 static __always_inline bool futex_cmd_has_timeout(u32 cmd) in futex_cmd_has_timeout() argument
135 switch (cmd) { in futex_cmd_has_timeout()
147 futex_init_timeout(u32 cmd, u32 op, struct timespec64 *ts, ktime_t *t) in futex_init_timeout() argument
153 if (cmd == FUTEX_WAIT) in futex_init_timeout()
155 else if (cmd != FUTEX_LOCK_PI && !(op & FUTEX_CLOCK_REALTIME)) in futex_init_timeout()
164 int ret, cmd = op & FUTEX_CMD_MASK; in SYSCALL_DEFINE6() local
168 if (utime && futex_cmd_has_timeout(cmd)) { in SYSCALL_DEFINE6()
173 ret = futex_init_timeout(cmd, op, &ts, &t); in SYSCALL_DEFINE6()
496 int ret, cmd = op & FUTEX_CMD_MASK; in SYSCALL_DEFINE6() local
500 if (utime && futex_cmd_has_timeout(cmd)) { in SYSCALL_DEFINE6()
503 ret = futex_init_timeout(cmd, op, &ts, &t); in SYSCALL_DEFINE6()