Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/watch_queue.c add_watch_to_object() -> add_one_watch()

Type Parameter Key Value
PARAM_VALUE 0 watch 4096-ptr_max
PARAM_VALUE 0 watch->id 0-s32max,18446744071562067968-u64max
PARAM_VALUE 0 watch->info_id 0,256-65280
PARAM_VALUE 0 watch->list_node.next 0
PARAM_VALUE 0 watch->list_node.pprev 0
PARAM_VALUE 0 watch->queue 4096-ptr_max
PARAM_VALUE 0 watch->queue->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 watch->queue->pipe 1-u64max
PARAM_VALUE 0 watch->queue_node.next 0
PARAM_VALUE 0 watch->queue_node.pprev 0
PARAM_VALUE 0 watch->usage.refcount.refs.counter 1
PARAM_VALUE 1 wlist 4096-ptr_max
PARAM_VALUE 1 wlist->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 wqueue 4096-ptr_max
PARAM_VALUE 2 wqueue->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 wqueue->pipe 1-u64max
BUF_SIZE 0 watch 96
BUF_SIZE 1 wlist (-1),104
BUF_SIZE 1 wlist (-1),104
CAPPED_DATA 0 watch->queue 1
DATA_SOURCE 0 watch $0
DATA_SOURCE 1 wlist $1
PARAM_COMPARE 0 watch->queue == $2
PARAM_COMPARE 2 wqueue == $0->queue
BIT_INFO 0 watch->id 0x0,0xffffffff
BIT_INFO 0 watch->info_id 0x0,0xff00
PREEMPT_ADD <- disables preempt
USER_DATA 0 watch->info_id 0,256-65280[c]
LOCK2 &key->sem
LOCK2 bh
LOCK2 rcu_read
LOCK2 1 &wlist->lock
LOCK2 2 &wqueue->lock
TYPE_LOCK (struct key)->sem
TYPE_LOCK (struct watch_list)->lock
TYPE_LOCK (struct watch_queue)->lock