Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_drain_tx_ring() -> hfi1_txreq_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0-s32max |
| BUF_SIZE | 0 | r | 192 |
| CAPPED_DATA | 1 | idx | 1 |
| PARAM_COMPARE | 1 | idx | < $0->max_items |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_poll_tx_ring() -> hfi1_txreq_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| BUF_SIZE | 0 | r | 192 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_poll_tx_ring() -> hfi1_txreq_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| BUF_SIZE | 0 | r | 192 |
| CAPPED_DATA | 1 | idx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_send_dma_common() -> hfi1_txreq_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| BUF_SIZE | 0 | r | 192 |
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_txreq_deinit() -> hfi1_txreq_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0-s32max |
| BUF_SIZE | 0 | r | 192 |
| CAPPED_DATA | 1 | idx | 1 |
| PARAM_COMPARE | 1 | idx | < $0->max_items |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_txreq_init() -> hfi1_txreq_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->items | 1-18446744073709551614 |
| PARAM_VALUE | 0 | r->shift | 0-31,u32max |
| PARAM_VALUE | 1 | idx | 0-s32max |
| BUF_SIZE | 0 | r | 192 |
| CAPPED_DATA | 0 | r->avail | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | r->max_items | |
| NO_OVERFLOW_SIMPLE | 1 | idx | |
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &device->unregistration_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_txreq_init() -> hfi1_txreq_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 0 | r->items | 1-18446744073709551614 |
| PARAM_VALUE | 0 | r->shift | 0-31,u32max |
| PARAM_VALUE | 1 | idx | 0-s32max |
| BUF_SIZE | 0 | r | 192 |
| CAPPED_DATA | 0 | r->avail | 1 |
| CAPPED_DATA | 1 | idx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | r->max_items | |
| NO_OVERFLOW_SIMPLE | 1 | idx | |
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &device->unregistration_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/infiniband/hw/hfi1/ipoib_tx.c hfi1_ipoib_txreq_init() -> hfi1_txreq_from_idx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | r | 4096-ptr_max |
| PARAM_VALUE | 1 | idx | 0-s32max |
| BUF_SIZE | 0 | r | 192 |
| CAPPED_DATA | 1 | idx | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | r->max_items | |
| NO_OVERFLOW_SIMPLE | 1 | idx | |
| HALF_LOCKED2 | &device->client_data_rwsem | ||
| HALF_LOCKED2 | &device->unregistration_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |