Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/input/input.c input_close_device() -> input_dev_toggle()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->inhibited 0
PARAM_VALUE 0 dev->poller 0,4096-ptr_max
PARAM_VALUE 0 dev->poller->work.work.lockdep_map->name 0-255
PARAM_VALUE 0 dev->users 0
PARAM_VALUE 1 activate 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 irq
LOCK2 0 &dev->event_lock
HALF_LOCKED2 &evdev->mutex
HALF_LOCKED2 &joydev->mutex
HALF_LOCKED2 &mousedev->mutex
TYPE_LOCK (struct input_dev)->event_lock

drivers/input/input.c input_dev_poweroff() -> input_dev_toggle()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 activate 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &dev->event_lock
TYPE_LOCK (struct input_dev)->event_lock

drivers/input/input.c input_dev_resume() -> input_dev_toggle()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 activate 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &dev->event_lock
TYPE_LOCK (struct input_dev)->event_lock

drivers/input/input.c input_dev_suspend() -> input_dev_toggle()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 activate 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &dev->event_lock
TYPE_LOCK (struct input_dev)->event_lock

drivers/input/input.c input_inhibit_device() -> input_dev_toggle()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->going_away 0
PARAM_VALUE 0 dev->inhibited 0
PARAM_VALUE 0 dev->poller 0,4096-ptr_max
PARAM_VALUE 0 dev->poller->work.work.lockdep_map->name 0-255
PARAM_VALUE 0 dev->users 1-u32max
PARAM_VALUE 1 activate 0
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 _T->lock
LOCK2 irq
LOCK2 0 &dev->event_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct input_dev)->event_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/input/input.c input_reset_device() -> input_dev_toggle()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.kobj.release.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 dev->dev.kobj.release.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 dev->dev.kobj.release.wq->saved_min_active s32min-s32max
PARAM_VALUE 0 dev->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 dev->poller->poll_interval 0-4294967295
PARAM_VALUE 0 dev->poller->poll_interval_max 0-4294967295
PARAM_VALUE 1 activate 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dev->max_vals
LOCK2 _T->lock
LOCK2 irq
LOCK2 0 &dev->event_lock
TYPE_LOCK (struct input_dev)->event_lock

drivers/input/input.c input_start_device() -> input_dev_toggle()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->going_away 0
PARAM_VALUE 0 dev->inhibited 0
PARAM_VALUE 0 dev->ready 1
PARAM_VALUE 1 activate 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 dev->max_vals
LOCK2 irq
LOCK2 0 &dev->event_lock
HALF_LOCKED2 &evdev->mutex
HALF_LOCKED2 &joydev->mutex
HALF_LOCKED2 &mousedev->mutex
TYPE_LOCK (struct input_dev)->event_lock

drivers/input/input.c input_uninhibit_device() -> input_dev_toggle()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->going_away 0
PARAM_VALUE 0 dev->inhibited 0
PARAM_VALUE 1 activate 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 _T->lock
LOCK2 irq
LOCK2 0 &dev->event_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct input_dev)->event_lock
TYPE_LOCK (struct kernfs_open_file)->mutex