Defined in 1 files as a prototype:
Defined in 2 files as a function:
- sound/synth/emux/emux.c, line 54 (as a function)
- sound/synth/emux/soundfont.c, line 341 (as a function)
Referenced in 2 files:
Smatch caller information:
sound/synth/emux/soundfont.c load_data() -> sf_sample_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sflist | 4096-ptr_max |
| PARAM_VALUE | 0 | sflist->currsf | 4096-ptr_max |
| PARAM_VALUE | 0 | sflist->currsf->samples | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sflist->presets_locked | 1 |
| PARAM_VALUE | 0 | sflist->presets_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sflist->presets_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sflist->presets_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sflist->presets_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sflist->presets_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sf | 4096-ptr_max |
| PARAM_VALUE | 1 | sf->samples | 0,4096-ptr_max |
| CAPPED_DATA | 0 | sflist->open_client | 1 |
| DATA_SOURCE | 0 | sflist | $0 |
| LOCK2 | 0 | &sflist->presets_mutex | |
| TYPE_LOCK | (struct snd_sf_list)->presets_mutex |
sound/synth/emux/soundfont.c load_guspatch() -> sf_sample_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sflist | 4096-ptr_max |
| PARAM_VALUE | 0 | sflist->presets_locked | 1 |
| PARAM_VALUE | 0 | sflist->presets_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | sflist->presets_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sflist->presets_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | sflist->presets_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | sflist->presets_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | sf | 4096-ptr_max |
| PARAM_VALUE | 1 | sf->type | s16min-(-1),512-s16max |
| BUF_SIZE | 1 | sf | (-1),64 |
| BUF_SIZE | 1 | sf | (-1),64 |
| DATA_SOURCE | 0 | sflist | $1 |
| DATA_SOURCE | 1 | sf | r newsf |
| FUZZY_MAX | 1 | sf->type | 518 |
| LOCK2 | 0 | &sflist->presets_mutex | |
| TYPE_LOCK | (struct snd_sf_list)->presets_mutex |
sound/synth/emux/soundfont.c load_data() -> (struct snd_sf_callback)->sample_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sf | 4096-ptr_max |
| PARAM_VALUE | 1 | sf->next | 0,4096-ptr_max |
| PARAM_VALUE | 1 | sf->v.dummy | 0 |
| PARAM_VALUE | 1 | sf->v.end | 0-s32max |
| PARAM_VALUE | 1 | sf->v.loopend | 0-s32max |
| PARAM_VALUE | 1 | sf->v.loopstart | 0-s32max |
| PARAM_VALUE | 1 | sf->v.size | 1-s32max |
| PARAM_VALUE | 1 | sf->v.start | 0 |
| PARAM_VALUE | 1 | sf->v.truesize | 0 |
| PARAM_VALUE | 4 | count | 0-s32max |
| BUF_SIZE | 1 | sf | 56 |
| CAPPED_DATA | 4 | count | 1 |
| CAPPED_DATA | 4 | count | 1 |
| DATA_SOURCE | 1 | sf | r sf_sample_new |
| DATA_SOURCE | 3 | buf | $1 [m] |
| DATA_SOURCE | 4 | count | $2 [m] |
| CONTAINER | 0 | *(-8+0) | $(-1) |
| CONTAINER | 2 | *(-8-2096+2360) | $(-1) |
| USER_DATA | 1 | sf->v.end | 0-s32max |
| USER_DATA | 1 | sf->v.loopend | 0-s32max |
| USER_DATA | 1 | sf->v.loopstart | 0-s32max |
| USER_DATA | 1 | sf->v.mode_flags | 0-u16max |
| USER_DATA | 1 | sf->v.sample | 0-u16max |
| USER_DATA | 1 | sf->v.size | 1-s32max |
| USER_DATA | 1 | sf->v.start | 0 |
| LOCK2 | &sflist->presets_mutex | ||
| TYPE_LOCK | (struct snd_sf_list)->presets_mutex |
sound/synth/emux/soundfont.c load_guspatch() -> (struct snd_sf_callback)->sample_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | sf | 4096-ptr_max |
| PARAM_VALUE | 1 | sf->v.dummy | 0 |
| PARAM_VALUE | 1 | sf->v.end | 0-s32max |
| PARAM_VALUE | 1 | sf->v.loopend | 0-s32max |
| PARAM_VALUE | 1 | sf->v.loopstart | 0-s32max |
| PARAM_VALUE | 1 | sf->v.mode_flags | 4-7,12-15,20-23,28-31,132-135,140-143,148-151,156-159 |
| PARAM_VALUE | 1 | sf->v.size | 1-s32max |
| PARAM_VALUE | 1 | sf->v.start | 0 |
| PARAM_VALUE | 1 | sf->v.truesize | 0 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | count | 0-s32max |
| BUF_SIZE | 1 | sf | 56 |
| CAPPED_DATA | 4 | count | 1 |
| CAPPED_DATA | 4 | count | 1 |
| DATA_SOURCE | 1 | sf | r sf_sample_new |
| DATA_SOURCE | 3 | buf | $2 [m] |
| DATA_SOURCE | 4 | count | $3 [m] |
| CONTAINER | 0 | *(-8+0) | $(-1) |
| CONTAINER | 2 | *(-8-2096+2360) | $(-1) |
| BIT_INFO | 1 | sf->v.mode_flags | 0x4,0x9f |
| USER_DATA | 1 | sf->v.end | 0-s32max[c] |
| USER_DATA | 1 | sf->v.loopend | 0-s32max[c] |
| USER_DATA | 1 | sf->v.loopstart | 0-s32max[c] |
| USER_DATA | 1 | sf->v.size | 1-s32max |
| LOCK2 | &sflist->presets_mutex | ||
| TYPE_LOCK | (struct snd_sf_list)->presets_mutex |