Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/xen-netfront.c xennet_release_tx_bufs() -> add_id_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 0-255 |
| BUF_SIZE | 1 | list | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->reclaim_sem | ||
| HALF_LOCKED2 | global &xenwatch_mutex |
drivers/net/xen-netfront.c xennet_tx_buf_gc() -> add_id_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | list | 4096-ptr_max |
| BUF_SIZE | 1 | list | 512 |
| CAPPED_DATA | 2 | id | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &queue->tx_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct netfront_queue)->tx_lock |
drivers/net/xen-netfront.c xennet_tx_setup_grant() -> add_id_to_list()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | *list | u16max |
| BUF_SIZE | 1 | list | 512 |
| DATA_SOURCE | 2 | id | r get_id_from_list |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &queue->tx_lock | ||
| HALF_LOCKED2 | &rinfo->ring_lock | ||
| HALF_LOCKED2 | flags |