Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/scsi/sg.c sg_device_destroy() -> blk_trace_remove()

Type Parameter Key Value
NOCHECK_CALL
HALF_LOCKED2 &sp->mutex

drivers/scsi/sg.c sg_ioctl_common() -> blk_trace_remove()

Type Parameter Key Value

kernel/trace/blktrace.c blk_trace_ioctl() -> blk_trace_remove()

Type Parameter Key Value

kernel/trace/blktrace.c blk_trace_setup() -> blk_trace_remove()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->blk_trace 4096-ptr_max
PARAM_VALUE 0 q->debugfs_dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 q->debugfs_dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 q->debugfs_mutex.dep_map->name 0-255
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->usage.refs.counter s32min-s32max
DATA_SOURCE 0 q $0
STR_LEN 0 q (-1),31
STR_LEN 0 q (-1),31
NOCHECK_CALL

kernel/trace/blktrace.c blk_trace_setup2() -> blk_trace_remove()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->blk_trace 4096-ptr_max
PARAM_VALUE 0 q->debugfs_dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 q->debugfs_dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 q->debugfs_mutex.dep_map->name 0-255
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->usage.refs.counter s32min-s32max
DATA_SOURCE 0 q $0
STR_LEN 0 q 31
STR_LEN 0 q 31
NOCHECK_CALL

kernel/trace/blktrace.c compat_blk_trace_setup() -> blk_trace_remove()

Type Parameter Key Value
PARAM_VALUE 0 q 4096-ptr_max
PARAM_VALUE 0 q->blk_trace 4096-ptr_max
PARAM_VALUE 0 q->debugfs_dir->d_inode->i_rwsem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 q->debugfs_dir->d_inode->i_rwsem.first_waiter->type 0-1
PARAM_VALUE 0 q->debugfs_mutex.dep_map->name 0-255
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 q->debugfs_mutex.first_waiter->task->usage.refs.counter s32min-s32max
DATA_SOURCE 0 q $0
STR_LEN 0 q 31
STR_LEN 0 q 31
NOCHECK_CALL

block/genhd.c disk_release() -> blk_trace_remove()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &subsys->su_mutex