Defined in 1 files as a macro:
Referenced in 1 files:
Smatch caller information:
sound/core/pcm_native.c constrain_mask_params() -> trace_hw_mask_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-2 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | prev | 2338525465009324032 |
| PARAM_VALUE | 4 | curr | 4096-ptr_max |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 4 | curr | r hw_param_mask |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| 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 |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| USER_PTR | 3 | prev->bits | |
| USER_PTR | 4 | curr | |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/core/pcm_native.c constrain_params_by_rules() -> trace_hw_mask_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-2 |
| PARAM_VALUE | 3 | prev | 2913001068934668288 |
| PARAM_VALUE | 4 | curr | 4096-ptr_max |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->runtime->no_period_wakeup | 0-1 |
| 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 |
| USER_DATA | 4 | *curr->bits | 0-u32max |
| USER_PTR | 0 | substream->runtime->oss.buffer | |
| USER_PTR | 4 | curr | |
| USER_PTR | 4 | curr->bits | |
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/core/pcm_native.c snd_pcm_hw_params_choose() -> trace_hw_mask_param()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0-2 |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | prev | 4710289734834962432 |
| PARAM_VALUE | 4 | curr | 4096-ptr_max |
| CAPPED_DATA | 0 | substream->runtime->hw_constraints.rules_num | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 4 | *curr->bits | 0-u32max |
| USER_PTR | 4 | curr | |
| USER_PTR | 4 | curr->bits | |
| LOCK2 | &runtime->buffer_mutex | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |