Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/misc/pvpanic/pvpanic.c pvpanic_remove() -> unregister_sys_off_handler()

Type Parameter Key Value
NOCHECK_CALL

drivers/misc/pvpanic/pvpanic.c pvpanic_synchronize_sys_off_handler() -> unregister_sys_off_handler()

Type Parameter Key Value
PARAM_VALUE 0 handler 1-u64max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

kernel/reboot.c devm_unregister_sys_off_handler() -> unregister_sys_off_handler()

Type Parameter Key Value
DATA_SOURCE 0 handler $0
NOCHECK_CALL

kernel/reboot.c do_kernel_power_off() -> unregister_sys_off_handler()

Type Parameter Key Value
PARAM_VALUE 0 handler 0,4096-ptr_max,(-17)-(-16),(-12)
PARAM_VALUE 0 handler->cb_data 0
PARAM_VALUE 0 handler->list 704711260983877632,4699115262807728128,5038466968506155008,6595193080418959360
PARAM_VALUE 0 handler->list->head s64min-(-4096),4096-s64max
PARAM_VALUE 0 handler->list->head.priority s32min-s32max
PARAM_VALUE 0 handler->list->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 handler->mode 1
PARAM_VALUE 0 handler->nb.next 0,4096-ptr_max
PARAM_VALUE 0 handler->nb.notifier_call 3195965710012182528
PARAM_VALUE 0 handler->nb.priority 0
PARAM_VALUE 0 handler->sys_off_cb 5303766679615594496
BUF_SIZE 0 handler (-1)-0,64
BUF_SIZE 0 handler (-1)-0,64
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sc->state_mtx
HALF_LOCKED2 global &device_hotplug_lock
HALF_LOCKED2 global &system_transition_mutex

kernel/reboot.c unregister_platform_power_off() -> unregister_sys_off_handler()

Type Parameter Key Value
PARAM_VALUE 0 handler 4096-ptr_max
CAPPED_DATA 0 handler->cb_data 1
NOCHECK_CALL

drivers/platform/x86/x86-android-tablets/lenovo.c lenovo_yoga_tab2_830_1050_exit() -> unregister_sys_off_handler()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &_dev->mutex