Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwtracing/intel_th/gth.c intel_th_gth_disable() -> gth_master_set()

Type Parameter Key Value
PARAM_VALUE 0 gth 4096-ptr_max
PARAM_VALUE 0 gth->gth_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gth->output 4096-ptr_max
PARAM_VALUE 1 master 0-64
PARAM_VALUE 2 port (-1)
BUF_SIZE 0 gth s32min-(-2),1-s32max
BUF_SIZE 0 gth s32min-(-2),1-s32max
CAPPED_DATA 1 master 1
DATA_SOURCE 1 master r find_next_bit
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 gth unit_byte
LOCK2 0 &gth->gth_lock
HALF_LOCKED2 &msc->buf_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gth_device)->gth_lock

drivers/hwtracing/intel_th/gth.c intel_th_gth_enable() -> gth_master_set()

Type Parameter Key Value
PARAM_VALUE 0 gth 4096-ptr_max
PARAM_VALUE 0 gth->gth_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gth->output 4096-ptr_max
PARAM_VALUE 1 master 0-64
BUF_SIZE 0 gth s32min-(-2),1-s32max
BUF_SIZE 0 gth s32min-(-2),1-s32max
CAPPED_DATA 1 master 1
DATA_SOURCE 1 master r find_next_bit
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 gth unit_byte
LOCK2 &of->mutex
LOCK2 0 &gth->gth_lock
HALF_LOCKED2 &msc->buf_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gth_device)->gth_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwtracing/intel_th/gth.c master_attr_store() -> gth_master_set()

Type Parameter Key Value
PARAM_VALUE 0 gth 4096-ptr_max
PARAM_VALUE 0 gth->gth_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gth->master 4096-ptr_max
PARAM_VALUE 0 gth->output 4096-ptr_max
PARAM_VALUE 2 port (-1)
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 0 &gth->gth_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gth_device)->gth_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwtracing/intel_th/gth.c master_attr_store() -> gth_master_set()

Type Parameter Key Value
PARAM_VALUE 0 gth 4096-ptr_max
PARAM_VALUE 0 gth->gth_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gth->master 4096-ptr_max
PARAM_VALUE 0 gth->output 4096-ptr_max
PARAM_VALUE 2 port 0-7
FUZZY_MAX 2 port 0
HARD_MAX 2 port 7
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 port 0-7
LOCK2 &of->mutex
LOCK2 0 &gth->gth_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gth_device)->gth_lock
TYPE_LOCK (struct kernfs_open_file)->mutex