Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/xen/xen_snd_front_alsa.c alsa_hw_params() -> xen_front_pgdir_shbuf_alloc()

Type Parameter Key Value
PARAM_VALUE 0 cfg 6192724783654887424
PARAM_VALUE 0 cfg->num_pages 0-1048576
PARAM_VALUE 0 cfg->pages 16,4096-ptr_max
PARAM_VALUE 0 cfg->pgdir 4096-ptr_max
MEM_ZERO 0 cfg
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 cfg->num_pages
LOCK2 &runtime->buffer_mutex
TYPE_LOCK (struct snd_pcm_runtime)->buffer_mutex

drivers/gpu/drm/xen/xen_drm_front.c xen_drm_front_dbuf_create() -> xen_front_pgdir_shbuf_alloc()

Type Parameter Key Value
PARAM_VALUE 0 cfg 8278895844932833280
PARAM_VALUE 0 cfg->be_alloc 0-1
PARAM_VALUE 0 cfg->pgdir 4096-ptr_max
MEM_ZERO 0 cfg
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->object_name_lock
HALF_LOCKED2 &file_priv->prime.lock