Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/firewire/core-cdev.c fw_device_op_mmap() -> fw_iso_buffer_map_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | buffer->page_count | 0-s32max |
| PARAM_VALUE | 0 | buffer->pages | 16,4096-ptr_max |
| PARAM_VALUE | 2 | direction | 1-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | buffer->page_count | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &ipcp->lock |
drivers/firewire/core-cdev.c ioctl_create_iso_context() -> fw_iso_buffer_map_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | buffer->dma_addrs | 0 |
| PARAM_VALUE | 0 | buffer->pages | 1-u64max |
| PARAM_VALUE | 1 | card | 4096-ptr_max |
| PARAM_VALUE | 1 | card->driver | 4096-ptr_max |
| PARAM_VALUE | 1 | card->driver->allocate_iso_context | 4096-ptr_max |
| PARAM_VALUE | 2 | direction | 1-2 |
| LOCK2 | _T->lock |
drivers/firewire/core-iso.c fw_iso_buffer_init() -> fw_iso_buffer_map_dma()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | buffer->page_count | 0-s32max |
| PARAM_VALUE | 0 | buffer->pages | 16,4096-ptr_max |
| PARAM_VALUE | 2 | direction | 1-2 |
| DATA_SOURCE | 0 | buffer | $0 |
| DATA_SOURCE | 1 | card | $1 |
| DATA_SOURCE | 2 | direction | $3 |
| FUZZY_MAX | 2 | direction | 2 |
| HARD_MAX | 2 | direction | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | buffer->page_count |