Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

kernel/kcov.c kcov_ioctl_locked() -> kcov_disable()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
PARAM_VALUE 1 kcov 4096-ptr_max
PARAM_VALUE 1 kcov->t 4096-ptr_max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
CAPPED_DATA 0 t 1
CAPPED_DATA 1 kcov 1
CAPPED_DATA 1 kcov->t 1
DATA_SOURCE 0 t r get_current
DATA_SOURCE 1 kcov $0
PARAM_COMPARE 0 t == $1->t
PARAM_COMPARE 0 t->kcov != $0->kcov_remote
PARAM_COMPARE 1 kcov == $0->kcov_remote
PARAM_COMPARE 1 kcov == $0->kcov_remote
PARAM_COMPARE 1 kcov->t == $0
PREEMPT_ADD
NOCHECK_CALL
UNITS 1 kcov unit_byte
LOCK2 flags
LOCK2 1 &kcov->lock
TYPE_LOCK (struct kcov)->lock

kernel/kcov.c kcov_ioctl_locked() -> kcov_disable()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
PARAM_VALUE 0 t->kcov_remote 4096-ptr_max
PARAM_VALUE 0 t->kcov_remote->area 1-u64max
PARAM_VALUE 0 t->kcov_remote->mode 2-3
PARAM_VALUE 0 t->kcov_remote->t 0
PARAM_VALUE 1 kcov 4096-ptr_max
PARAM_VALUE 1 kcov->area 1-u64max
PARAM_VALUE 1 kcov->mode 2-3
PARAM_VALUE 1 kcov->remote 1
PARAM_VALUE 1 kcov->t 4096-ptr_max
PARAM_VALUE 1 kcov->t->kcov_remote 4096-ptr_max
BUF_SIZE 0 t->kcov_remote s32min-(-2),1-s32max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
DATA_SOURCE 0 t r get_current
DATA_SOURCE 1 kcov $0
PREEMPT_ADD
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 kcov->remote_size
LOCK2 flags
LOCK2 1 &kcov->lock
TYPE_LOCK (struct kcov)->lock

kernel/kcov.c kcov_ioctl_locked() -> kcov_disable()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
PARAM_VALUE 0 t->kcov_remote 4096-ptr_max
PARAM_VALUE 0 t->kcov_remote->area 1-u64max
PARAM_VALUE 0 t->kcov_remote->mode 2-3
PARAM_VALUE 0 t->kcov_remote->t 0
PARAM_VALUE 1 kcov 4096-ptr_max
PARAM_VALUE 1 kcov->area 1-u64max
PARAM_VALUE 1 kcov->mode 2-3
PARAM_VALUE 1 kcov->remote 1
PARAM_VALUE 1 kcov->t 4096-ptr_max
PARAM_VALUE 1 kcov->t->kcov_remote 4096-ptr_max
BUF_SIZE 0 t->kcov_remote s32min-(-2),1-s32max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
DATA_SOURCE 0 t r get_current
DATA_SOURCE 1 kcov $0
PREEMPT_ADD
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 kcov->remote_size
LOCK2 flags
LOCK2 1 &kcov->lock
TYPE_LOCK (struct kcov)->lock

kernel/kcov.c kcov_ioctl_locked() -> kcov_disable()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
PARAM_VALUE 0 t->kcov_remote 4096-ptr_max
PARAM_VALUE 0 t->kcov_remote->area 1-u64max
PARAM_VALUE 0 t->kcov_remote->mode 2-3
PARAM_VALUE 0 t->kcov_remote->t 0
PARAM_VALUE 1 kcov 4096-ptr_max
PARAM_VALUE 1 kcov->area 1-u64max
PARAM_VALUE 1 kcov->mode 2-3
PARAM_VALUE 1 kcov->remote 1
PARAM_VALUE 1 kcov->t 4096-ptr_max
PARAM_VALUE 1 kcov->t->kcov_remote 4096-ptr_max
BUF_SIZE 0 t->kcov_remote s32min-(-2),1-s32max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
DATA_SOURCE 0 t r get_current
DATA_SOURCE 1 kcov $0
PREEMPT_ADD
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 kcov->remote_size
LOCK2 flags
LOCK2 1 &kcov->lock
TYPE_LOCK (struct kcov)->lock

kernel/kcov.c kcov_ioctl_locked() -> kcov_disable()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
PARAM_VALUE 0 t->kcov_remote 4096-ptr_max
PARAM_VALUE 0 t->kcov_remote->area 1-u64max
PARAM_VALUE 0 t->kcov_remote->mode 2-3
PARAM_VALUE 0 t->kcov_remote->t 0
PARAM_VALUE 1 kcov 4096-ptr_max
PARAM_VALUE 1 kcov->area 1-u64max
PARAM_VALUE 1 kcov->mode 2-3
PARAM_VALUE 1 kcov->remote 1
PARAM_VALUE 1 kcov->t 4096-ptr_max
PARAM_VALUE 1 kcov->t->kcov_remote 4096-ptr_max
BUF_SIZE 0 t->kcov_remote s32min-(-2),1-s32max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
BUF_SIZE 1 kcov s32min-(-2),1-s32max
DATA_SOURCE 0 t r get_current
DATA_SOURCE 1 kcov $0
PREEMPT_ADD
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 kcov->remote_size
LOCK2 flags
LOCK2 1 &kcov->lock
TYPE_LOCK (struct kcov)->lock

kernel/kcov.c kcov_task_exit() -> kcov_disable()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
PARAM_VALUE 0 t->kcov 4096-ptr_max
PARAM_VALUE 0 t->kcov->remote 0
PARAM_VALUE 1 kcov 4096-ptr_max
PARAM_VALUE 1 kcov->remote 0
CAPPED_DATA 0 t 1
CAPPED_DATA 1 kcov->t 1
DATA_SOURCE 0 t $0
PARAM_COMPARE 0 t == $1->t
PARAM_COMPARE 1 kcov->t == $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 kcov unit_byte
LOCK2 flags
LOCK2 1 &kcov->lock
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct kcov)->lock

kernel/kcov.c kcov_task_exit() -> kcov_disable()

Type Parameter Key Value
PARAM_VALUE 0 t 4096-ptr_max
PARAM_VALUE 0 t->kcov 0
PARAM_VALUE 0 t->kcov_remote 4096-ptr_max
PARAM_VALUE 0 t->kcov_remote->remote 1
PARAM_VALUE 1 kcov 4096-ptr_max
PARAM_VALUE 1 kcov->lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 kcov->remote 1
CAPPED_DATA 0 t 1
CAPPED_DATA 1 kcov->t 1
DATA_SOURCE 0 t $0
PARAM_COMPARE 0 t == $1->t
PARAM_COMPARE 1 kcov->t == $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 kcov unit_byte
LOCK2 flags
LOCK2 1 &kcov->lock
HALF_LOCKED2 global &system_transition_mutex
TYPE_LOCK (struct kcov)->lock