Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/switch.c nvm_authenticate_sysfs() -> nvm_clear_auth_status()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.class 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.request 0-4
PARAM_VALUE 0 sw->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 sw->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sw->dev.type 0,4096-ptr_max
PARAM_VALUE 0 sw->no_nvm_upgrade 0
PARAM_VALUE 0 sw->nvm 1-u64max
PARAM_VALUE 0 sw->tb 4096-ptr_max
CAPPED_DATA 0 &sw->tb->lock 1
DATA_SOURCE 0 sw r tb_to_switch
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 0 &sw->tb->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct tb)->lock

drivers/thunderbolt/switch.c tb_switch_nvm_remove() -> nvm_clear_auth_status()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->debugfs_dir 0,4096-u64max
PARAM_VALUE 0 sw->debugfs_dir->d_alias->next->pprev 1-u64max
PARAM_VALUE 0 sw->debugfs_dir->d_sib->next->pprev 1-u64max
PARAM_VALUE 0 sw->dev.kobj.parent->sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sw->dev.kobj.sd->attr.open->nr_mmapped 0-4294967295
PARAM_VALUE 0 sw->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sw->nvm 0
PARAM_VALUE 0 sw->ports 4096-ptr_max
PARAM_VALUE 0 *sw->debugfs_dir->d_fsdata->lease_session->s_auth.authorizer->buf->vec.iov_base (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 *sw->debugfs_dir->d_inode->i_sb->s_fs_info->s_first_error_func 0-255
PARAM_VALUE 0 *sw->debugfs_dir->d_inode->i_sb->s_fs_info->s_last_error_func 0-255
CAPPED_DATA 0 sw->debugfs_dir 1
DATA_SOURCE 0 sw $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tb->lock