Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/xen/pvcalls-front.c pvcalls_front_poll_active() -> pvcalls_front_read_todo()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->active.ring 4096-ptr_max
DATA_SOURCE 0 map $2

drivers/xen/pvcalls-front.c pvcalls_front_recvmsg() -> pvcalls_front_read_todo()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
CAPPED_DATA 0 &map->active.in_mutex 1
DATA_SOURCE 0 map r pvcalls_enter_sock
LOCK2 0 &map->active.in_mutex
TYPE_LOCK (struct sock_mapping)->active.in_mutex

drivers/xen/pvcalls-front.c pvcalls_front_recvmsg() -> pvcalls_front_read_todo()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->active.ring 4096-ptr_max
PARAM_VALUE 0 map->active.ring->in_error 0
CAPPED_DATA 0 map->active.ring->in_cons 1
CAPPED_DATA 0 map->active.ring->in_prod 1
CAPPED_DATA 0 &map->active.in_mutex 1
DATA_SOURCE 0 map r pvcalls_enter_sock
PARAM_COMPARE 0 map->active.ring->in_cons == $0->active.ring->in_prod
LOCK2 0 &map->active.in_mutex
TYPE_LOCK (struct sock_mapping)->active.in_mutex

drivers/xen/pvcalls-front.c pvcalls_front_recvmsg() -> pvcalls_front_read_todo()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->active.ring 4096-ptr_max
PARAM_VALUE 0 map->active.ring->in_error 0
CAPPED_DATA 0 map->active.ring->in_cons 1
CAPPED_DATA 0 map->active.ring->in_prod 1
CAPPED_DATA 0 &map->active.in_mutex 1
DATA_SOURCE 0 map r pvcalls_enter_sock
PARAM_COMPARE 0 map->active.ring->in_cons == $0->active.ring->in_prod
TASK_NOT_RUNNING
LOCK2 0 &map->active.in_mutex
TYPE_LOCK (struct sock_mapping)->active.in_mutex

drivers/xen/pvcalls-front.c pvcalls_front_recvmsg() -> pvcalls_front_read_todo()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->active.ring 4096-ptr_max
PARAM_VALUE 0 map->active.ring->in_error 0
CAPPED_DATA 0 map->active.ring->in_cons 1
CAPPED_DATA 0 map->active.ring->in_prod 1
CAPPED_DATA 0 &map->active.in_mutex 1
DATA_SOURCE 0 map r pvcalls_enter_sock
PARAM_COMPARE 0 map->active.ring->in_cons == $0->active.ring->in_prod
TASK_NOT_RUNNING
LOCK2 0 &map->active.in_mutex
TYPE_LOCK (struct sock_mapping)->active.in_mutex

drivers/xen/pvcalls-front.c pvcalls_front_recvmsg() -> pvcalls_front_read_todo()

Type Parameter Key Value
PARAM_VALUE 0 map 4096-ptr_max
PARAM_VALUE 0 map->active.ring 4096-ptr_max
PARAM_VALUE 0 map->active.ring->in_error 0
CAPPED_DATA 0 map->active.ring->in_cons 1
CAPPED_DATA 0 map->active.ring->in_prod 1
CAPPED_DATA 0 &map->active.in_mutex 1
DATA_SOURCE 0 map r pvcalls_enter_sock
PARAM_COMPARE 0 map->active.ring->in_cons == $0->active.ring->in_prod
TASK_NOT_RUNNING
LOCK2 0 &map->active.in_mutex
TYPE_LOCK (struct sock_mapping)->active.in_mutex