Documented in 1 files:

Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

sound/core/rawmidi.c snd_rawmidi_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->module 4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/rawmidi.c snd_rawmidi_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
PARAM_VALUE 0 card->shutdown 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/rawmidi.c snd_rawmidi_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/sound.c autoload_device() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 1-u64max
DATA_SOURCE 0 card r snd_card_ref
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

sound/core/compress_offload.c snd_compr_open() -> snd_card_unref()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/compress_offload.c snd_compr_open() -> snd_card_unref()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/compress_offload.c snd_compr_open() -> snd_card_unref()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/compress_offload.c snd_compr_open() -> snd_card_unref()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

sound/core/control_led.c __free_snd_card_unref() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 1-u64max
BIT_INFO 0 card 0x0,0x7fffffffffffffff
BIT_INFO 0 card 0x0,0x7fffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

sound/core/oss/mixer_oss.c alsa_mixer_oss_exit() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->mixer_oss 0,4096-ptr_max
DATA_SOURCE 0 card r snd_card_ref
NOCHECK_CALL

sound/core/oss/mixer_oss.c alsa_mixer_oss_init() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 1-u64max
DATA_SOURCE 0 card r snd_card_ref
NOCHECK_CALL

sound/core/oss/mixer_oss.c snd_mixer_oss_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->mixer_oss 0
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
DATA_SOURCE 0 card r snd_lookup_oss_minor_data
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/oss/mixer_oss.c snd_mixer_oss_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->mixer_oss 1-u64max
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
DATA_SOURCE 0 card r snd_lookup_oss_minor_data
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/oss/mixer_oss.c snd_mixer_oss_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 card->mixer_oss 1-u64max
PARAM_VALUE 0 card->shutdown 0
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
DATA_SOURCE 0 card r snd_lookup_oss_minor_data
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/oss/mixer_oss.c snd_mixer_oss_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 card->mixer_oss 1-u64max
PARAM_VALUE 0 card->module 4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->shutdown 0
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
DATA_SOURCE 0 card r snd_lookup_oss_minor_data
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/oss/mixer_oss.c snd_mixer_oss_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 card->mixer_oss 1-u64max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
PARAM_VALUE 0 card->shutdown 0
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
DATA_SOURCE 0 card r snd_lookup_oss_minor_data
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/drivers/aloop.c loopback_parse_timer_id() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
DATA_SOURCE 0 card r snd_card_ref
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &pcm->open_mutex

sound/core/pcm_native.c is_pcm_file() -> snd_card_unref()

Type Parameter Key Value
NOCHECK_CALL

sound/core/pcm_native.c snd_pcm_capture_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/pcm_native.c snd_pcm_playback_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/control.c __free_snd_card_unref() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 1-u64max
NOCHECK_CALL
LOCK2 _T->lock

sound/core/control.c snd_ctl_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->ctl_files.prev 4096-ptr_max
PARAM_VALUE 0 card->ctl_files.prev->next 4096-ptr_max
PARAM_VALUE 0 card->ctl_files.prev->next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
PARAM_VALUE 0 card->shutdown 0
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
DATA_SOURCE 0 card r snd_lookup_minor_data
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->flags
LOCK2 _T->lock

sound/core/control.c snd_ctl_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 1-u64max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
BUF_SIZE 0 card 6,24,72,104,144,184,208,240,256,272,344,376,448,520,552,560,632
DATA_SOURCE 0 card r snd_lookup_minor_data
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/oss/pcm_oss.c snd_pcm_oss_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->files_list.next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->next 4096-ptr_max
PARAM_VALUE 0 card->files_list.next->prev 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
PARAM_VALUE 0 card->shutdown 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/oss/pcm_oss.c snd_pcm_oss_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/last.c alsa_sound_last_init() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
DATA_SOURCE 0 card r snd_card_ref
NOCHECK_CALL

sound/core/hwdep.c snd_hwdep_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->module 4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

sound/core/hwdep.c snd_hwdep_open() -> snd_card_unref()

Type Parameter Key Value
PARAM_VALUE 0 card 4096-ptr_max
PARAM_VALUE 0 card->module 0,4096-ptr_max
PARAM_VALUE 0 card->module->refcnt.counter 0-s32max
PARAM_VALUE 0 card->module->state 0-1,3-u32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL