Documented in 2 files:
Defined in 1 files as a prototype:
Defined in 3 files as a function:
- kernel/futex/pi.c, line 988 (as a function)
- tools/perf/bench/futex.h, line 88 (as a function)
- tools/testing/selftests/futex/include/futextest.h, line 149 (as a function)
Referenced in 8 files:
- kernel/futex/syscalls.c
- kernel/trace/rv/monitors/sleep/sleep.h
- kernel/trace/rv/monitors/wakeup/wakeup.h
- tools/perf/bench/futex-lock-pi.c, line 100
- tools/testing/selftests/futex/functional/futex_lock_pi_exiting.c
- tools/testing/selftests/futex/functional/futex_requeue_pi.c
- tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c, line 118
- tools/testing/selftests/futex/functional/futex_wait_timeout.c
Smatch caller information:
kernel/futex/syscalls.c do_futex() -> futex_lock_pi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 2,18,34,50,1026,1042,1058,1074,2050,2066,2082,2098,3074,3090,3106,3122 |
| PARAM_VALUE | 2 | time | 0,558351418170736640,7120372615748767744 |
| PARAM_VALUE | 3 | trylock | 0 |
| BUF_SIZE | 2 | time | 0,8 |
| BUF_SIZE | 2 | time | 0,8 |
| DATA_SOURCE | 0 | uaddr | $0 |
| DATA_SOURCE | 2 | time | $3 |
| BIT_INFO | 1 | flags | 0x0,0xbff |
| BIT_INFO | 2 | time | 0x0,0x67ffadab3fffd000 |
| BIT_INFO | 2 | time | 0x0,0x67ffadab3fffd000 |
| USER_DATA | 0 | uaddr | 0-u64max |
| USER_DATA | 2 | *time | 0-9223372035999999999[c] |
| USER_PTR | 2 | time |
kernel/futex/syscalls.c do_futex() -> futex_lock_pi()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 2,18,34,50,1026,1042,1058,1074,2050,2066,2082,2098,3074,3090,3106,3122 |
| PARAM_VALUE | 2 | time | 0 |
| PARAM_VALUE | 3 | trylock | 1 |
| DATA_SOURCE | 0 | uaddr | $0 |
| DATA_SOURCE | 1 | flags | r futex_to_flags |
| BIT_INFO | 1 | flags | 0x0,0xbff |
| USER_DATA | 0 | uaddr | 0-u64max |