Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/futex/pi.c attach_to_pi_owner() -> __attach_to_pi_owner()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->futex.state 0
PARAM_VALUE 0 p->pi_lock.dep_map->name 0-255
PARAM_VALUE 0 p->pi_lock.owner_cpu 0
PARAM_VALUE 0 p->pi_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 key 7813435272794184,3941447340228022272
PARAM_VALUE 1 key->both.offset 0-4097
PARAM_VALUE 2 ps 7813435272794208,1594347347749928960
CAPPED_DATA 1 key->both.offset 1
DATA_SOURCE 0 p r find_get_task_by_vpid
DATA_SOURCE 1 key $2
DATA_SOURCE 2 ps $3
BIT_INFO 0 p->flags 0x0,0xffdfffff
PREEMPT_ADD <- disables preempt
RX_PATH
NOCHECK_CALL
USER_DATA 1 key->both.offset 0-4097[c]
USER_DATA 1 key->private.address 0-u64max
LOCK2 irq
LOCK2 0 &p->pi_lock
HALF_LOCKED2 &hb->lock
TYPE_LOCK (struct task_struct)->pi_lock

kernel/futex/pi.c futex_lock_pi_atomic() -> __attach_to_pi_owner()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->pi_lock.dep_map->name 0-255
PARAM_VALUE 0 p->pi_lock.owner_cpu 0
PARAM_VALUE 0 p->pi_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 key 3941447340228022272
PARAM_VALUE 1 key->both.offset 0-4097
PARAM_VALUE 2 ps 1594347347749928960
PARAM_VALUE 2 *ps 0
CAPPED_DATA 1 key->both.offset 1
CAPPED_DATA 1 key->both.ptr 1
CAPPED_DATA 1 key->both.word 1
DATA_SOURCE 0 p $4
DATA_SOURCE 1 key $2
DATA_SOURCE 2 ps $3
PREEMPT_ADD
RX_PATH
NOCHECK_CALL
USER_DATA 1 key->both.offset 0-4097[c]
USER_DATA 1 key->private.address 0-u64max
LOCK2 irq
LOCK2 0 &p->pi_lock
TYPE_LOCK (struct task_struct)->pi_lock