Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

sound/core/pcm_lib.c __snd_pcm_lib_xfer() -> pcm_lib_apply_appl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->pcm 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->control 4096-ptr_max
PARAM_VALUE 0 substream->runtime->state 2-3,6
PARAM_VALUE 0 substream->runtime->status 4096-ptr_max
PARAM_VALUE 0 substream->runtime->twake 1-u64max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
FUZZY_MAX 0 substream->runtime->state 3
FUZZY_MAX 0 substream->runtime->twake 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
HOST_DATA 0 substream->snapshot.cycles s64min-s64max
USER_DATA 0 substream->runtime->no_period_wakeup 0-1
USER_DATA 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->count 33-4294967295[c]
USER_DATA 0 substream->runtime->private_data->gus->gf1.dma_data_pcm_last->next->count 33-4294967295[c]
USER_DATA 0 substream->runtime->rate_den 0-u32max
USER_DATA 0 substream->runtime->rate_num 0-u32max
USER_DATA 0 substream->runtime->trigger_master->f_flags 0-u32max
USER_DATA 0 *substream->runtime->oss.buffer 0-255
UNITS 1 appl_ptr unit_byte
USER_PTR 0 substream->runtime->oss.buffer
HALF_LOCKED2 &runtime->oss.params_lock

sound/core/pcm_native.c forward_appl_ptr() -> pcm_lib_apply_appl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->control 4096-ptr_max
PARAM_VALUE 0 substream->runtime->state 2-3,5-6
PARAM_VALUE 0 substream->runtime->status 4096-ptr_max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 appl_ptr unit_byte

sound/core/pcm_native.c rewind_appl_ptr() -> pcm_lib_apply_appl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->runtime 4096-ptr_max
PARAM_VALUE 0 substream->runtime->control 4096-ptr_max
PARAM_VALUE 0 substream->runtime->state 2-3,5-6
PARAM_VALUE 0 substream->runtime->status 4096-ptr_max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
UNITS 1 appl_ptr unit_byte

sound/core/pcm_native.c snd_pcm_ioctl_sync_ptr_buggy() -> pcm_lib_apply_appl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
HOST_DATA 0 substream->snapshot.cycles s64min-s64max
USER_DATA 1 appl_ptr 0-u32max
UNITS 1 appl_ptr unit_byte

sound/core/pcm_native.c snd_pcm_ioctl_sync_ptr_compat() -> pcm_lib_apply_appl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->pcm->card 4096-ptr_max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
HOST_DATA 0 substream->snapshot.cycles s64min-s64max
UNITS 1 appl_ptr unit_byte

sound/core/pcm_native.c snd_pcm_ioctl_sync_ptr_x32() -> pcm_lib_apply_appl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
HOST_DATA 0 substream->snapshot.cycles s64min-s64max
UNITS 1 appl_ptr unit_byte

sound/core/pcm_native.c snd_pcm_sync_ptr() -> pcm_lib_apply_appl_ptr()

Type Parameter Key Value
PARAM_VALUE 0 substream 4096-ptr_max
PARAM_VALUE 0 substream->pcm->card 4096-ptr_max
CAPPED_DATA 0 substream 1
DATA_SOURCE 0 substream $0
HOST_DATA 0 substream->runtime->private_data->core.tc.cycle_last s64min-s64max
HOST_DATA 0 substream->snapshot.cycles s64min-s64max
UNITS 1 appl_ptr unit_byte