Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/core/pcm_lib.c snd_pcm_hw_constraint_integer() -> constrs_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | constrs | 4096-ptr_max |
| PARAM_VALUE | 1 | var | 13,15 |
| BUF_SIZE | 0 | constrs | 256 |
| DATA_SOURCE | 1 | var | $1 |
| HARD_MAX | 1 | var | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->open_mutex | ||
| HALF_LOCKED2 | &cx->serialize_lock | ||
| HALF_LOCKED2 | &itv->serialize_lock | ||
| HALF_LOCKED2 | &pcm->open_mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/core/pcm_lib.c snd_pcm_hw_constraint_minmax() -> constrs_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | constrs | 4096-ptr_max |
| PARAM_VALUE | 1 | var | 8-18 |
| BUF_SIZE | 0 | constrs | 256 |
| DATA_SOURCE | 1 | var | $1 |
| HARD_MAX | 1 | var | 18 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &chip->audio_mutex | ||
| HALF_LOCKED2 | &chip->open_mutex | ||
| HALF_LOCKED2 | &pcm->open_mutex | ||
| HALF_LOCKED2 | &priv->mutex | ||
| HALF_LOCKED2 | _T->lock |
sound/core/pcm_native.c constrain_interval_params() -> constrs_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | constrs | 4096-ptr_max |
| PARAM_VALUE | 1 | var | 8-19 |
| BUF_SIZE | 0 | constrs | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/core/pcm_native.c snd_pcm_hw_constraints_init() -> constrs_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | constrs | 4096-ptr_max |
| PARAM_VALUE | 1 | var | 8-19 |
| BUF_SIZE | 0 | constrs | 256 |
| FUZZY_MAX | 1 | var | 19 |
| HARD_MAX | 1 | var | 19 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcm->open_mutex | ||
| TYPE_LOCK | (struct snd_pcm)->open_mutex |
sound/core/pcm_native.c snd_pcm_hw_constraints_init() -> constrs_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | constrs | 4096-ptr_max |
| PARAM_VALUE | 1 | var | 10 |
| BUF_SIZE | 0 | constrs | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcm->open_mutex | ||
| TYPE_LOCK | (struct snd_pcm)->open_mutex |
sound/core/pcm_native.c snd_pcm_hw_constraints_init() -> constrs_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | constrs | 4096-ptr_max |
| PARAM_VALUE | 1 | var | 17 |
| BUF_SIZE | 0 | constrs | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcm->open_mutex | ||
| TYPE_LOCK | (struct snd_pcm)->open_mutex |
sound/core/pcm_native.c snd_pcm_hw_constraints_init() -> constrs_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | constrs | 4096-ptr_max |
| PARAM_VALUE | 1 | var | 18 |
| BUF_SIZE | 0 | constrs | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcm->open_mutex | ||
| TYPE_LOCK | (struct snd_pcm)->open_mutex |
sound/core/pcm_native.c snd_pcm_hw_constraints_init() -> constrs_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | constrs | 4096-ptr_max |
| PARAM_VALUE | 1 | var | 8 |
| BUF_SIZE | 0 | constrs | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcm->open_mutex | ||
| TYPE_LOCK | (struct snd_pcm)->open_mutex |
sound/core/pcm_native.c snd_pcm_hw_constraints_init() -> constrs_interval()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | constrs | 4096-ptr_max |
| PARAM_VALUE | 1 | var | 9 |
| BUF_SIZE | 0 | constrs | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcm->open_mutex | ||
| TYPE_LOCK | (struct snd_pcm)->open_mutex |