Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/mmc/host/tifm_sd.c tifm_sd_end_cmd() -> tifm_unmap_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 2 | nents | 1 |
| PARAM_VALUE | 3 | direction | 1-2 |
| FUZZY_MAX | 3 | direction | 2 |
| HARD_MAX | 3 | direction | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &sock->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tifm_dev)->lock |
drivers/mmc/host/tifm_sd.c tifm_sd_end_cmd() -> tifm_unmap_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 3 | direction | 1-2 |
| FUZZY_MAX | 3 | direction | 2 |
| HARD_MAX | 3 | direction | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL | |||
| UNITS | 1 | sg | unit_byte |
| UNITS | 2 | nents | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | 0 | &sock->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tifm_dev)->lock |
drivers/mmc/host/tifm_sd.c tifm_sd_request() -> tifm_unmap_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 2 | nents | 1 |
| PARAM_VALUE | 3 | direction | 1-2 |
| FUZZY_MAX | 3 | direction | 2 |
| HARD_MAX | 3 | direction | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &sock->lock | |
| TYPE_LOCK | (struct tifm_dev)->lock |
drivers/memstick/host/tifm_ms.c tifm_ms_complete_cmd() -> tifm_unmap_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 2 | nents | 1 |
| PARAM_VALUE | 3 | direction | 1-2 |
| FUZZY_MAX | 3 | direction | 2 |
| HARD_MAX | 3 | direction | 2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fm->lock | ||
| LOCK2 | &sock->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct tifm_adapter)->lock | ||
| TYPE_LOCK | (struct tifm_dev)->lock |
drivers/memstick/host/tifm_ms.c tifm_ms_remove() -> tifm_unmap_sg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sock | 4096-ptr_max |
| PARAM_VALUE | 0 | sock->card_event | 5055066748483690496 |
| PARAM_VALUE | 0 | sock->data_event | 5055066748483690496 |
| PARAM_VALUE | 1 | sg | 4096-ptr_max |
| PARAM_VALUE | 2 | nents | 1 |
| PARAM_VALUE | 3 | direction | 1-2 |
| DATA_SOURCE | 0 | sock | $0 |
| FUZZY_MAX | 3 | direction | 2 |
| HARD_MAX | 3 | direction | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &sock->lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct tifm_dev)->lock |