Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
sound/pci/ctxfi/ctsrc.c get_src_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| CAPPED_DATA | 1 | n | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mgr->avail | |
| NO_OVERFLOW_SIMPLE | 1 | n | |
| UNITS | 1 | n | unit_byte |
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct src_mgr)->mgr_lock |
sound/pci/ctxfi/ctsrc.c get_src_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mgr->avail | |
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct src_mgr)->mgr_lock |
sound/pci/ctxfi/ctsrc.c get_srcimp_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1 |
| PARAM_VALUE | 2 | idx | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mgr->avail | |
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct srcimp_mgr)->mgr_lock |
sound/pci/ctxfi/ctsrc.c put_src_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 2 | idx | 0-4095 |
| BIT_INFO | 2 | idx | 0x0,0xfff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | n | unit_byte |
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct src_mgr)->mgr_lock |
sound/pci/ctxfi/ctsrc.c put_src_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1 |
| PARAM_VALUE | 2 | idx | 0-4095 |
| BIT_INFO | 2 | idx | 0x0,0xfff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct src_mgr)->mgr_lock |
sound/pci/ctxfi/ctsrc.c put_srcimp_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1 |
| PARAM_VALUE | 2 | idx | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mgr->avail | |
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct srcimp_mgr)->mgr_lock |
sound/pci/ctxfi/ctamixer.c get_amixer_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1 |
| PARAM_VALUE | 2 | idx | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mgr->avail | |
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct amixer_mgr)->mgr_lock |
sound/pci/ctxfi/ctamixer.c get_sum_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1 |
| PARAM_VALUE | 2 | idx | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mgr->avail | |
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct sum_mgr)->mgr_lock |
sound/pci/ctxfi/ctamixer.c put_amixer_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1 |
| PARAM_VALUE | 2 | idx | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mgr->avail | |
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct amixer_mgr)->mgr_lock |
sound/pci/ctxfi/ctamixer.c put_sum_rsc() -> mgr_put_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mgr | 4096-ptr_max |
| PARAM_VALUE | 1 | n | 1 |
| PARAM_VALUE | 2 | idx | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mgr->avail | |
| LOCK2 | &mgr->mgr_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct sum_mgr)->mgr_lock |