Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwtracing/intel_th/msu.c msc_buffer_win_alloc() -> msc_win_base()

Type Parameter Key Value
PARAM_VALUE 0 win 4096-ptr_max
PARAM_VALUE 0 win->lockout 0
PARAM_VALUE 0 win->msc 4096-ptr_max
PARAM_VALUE 0 win->msc->buf_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 win->msc->buf_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 win->msc->buf_mutex.wait_lock.owner (-1)
PARAM_VALUE 0 win->msc->buf_mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 win->msc->buf_mutex.wait_lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 win->msc->mode 1
PARAM_VALUE 0 win->msc->single_sgt.sgl 0
PARAM_VALUE 0 win->msc->user_count.counter 0-s32max
PARAM_VALUE 0 win->nr_blocks 1-u32max
PARAM_VALUE 0 win->nr_segs 1-s32max
PARAM_VALUE 0 win->sgt 4096-ptr_max
PARAM_VALUE 0 win->sgt->nents 0
PARAM_VALUE 0 win->sgt->orig_nents 0
PARAM_VALUE 0 win->sgt->sgl 0
PARAM_VALUE 0 win->sgt->sgl->dma_flags 0-4294967295
PARAM_VALUE 0 win->sgt->sgl->dma_length 0-4294967295
PARAM_VALUE 0 win->sgt->sgl->length 0-4294967295
PARAM_VALUE 0 win->sgt->sgl->offset 0-4294967295
BUF_SIZE 0 win 144
BUF_SIZE 0 win->msc s32min-(-2),1-s32max
BUF_SIZE 0 win->sgt 16
CAPPED_DATA 0 win->nr_blocks 1
CAPPED_DATA 0 win->nr_segs 1
DATA_SOURCE 0 win r _kzalloc_noprof
CAPABLE 0 17
MEM_ZERO 0 win->sgt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &msc->buf_mutex
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct msc)->buf_mutex

drivers/hwtracing/intel_th/msu.c msc_find_window() -> msc_win_base()

Type Parameter Key Value
PARAM_VALUE 0 win 4096-ptr_max
RX_PATH

drivers/hwtracing/intel_th/msu.c msc_win_oldest_sg() -> msc_win_base()

Type Parameter Key Value
DATA_SOURCE 0 win $0

drivers/hwtracing/intel_th/msu.c msc_win_switch() -> msc_win_base()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &msc->buf_mutex
HALF_LOCKED2 &of->mutex