Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/target/sbp/sbp_target.c sbp_management_request_login() -> addr_to_sbp2_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ptr | 4096-ptr_max |
| NOCHECK_CALL | |||
| UNITS | 0 | addr | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/target/sbp/sbp_target.c sbp_mgt_agent_rw() -> addr_to_sbp2_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | ptr | 0-u16max |
| BUF_SIZE | 1 | ptr | 0-u16max |
| DATA_SOURCE | 1 | ptr | $7 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/target/sbp/sbp_target.c tgt_agent_rw_orb_pointer() -> addr_to_sbp2_pointer()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | ptr | 0-u16max |
| BUF_SIZE | 1 | ptr | 0-u16max |
| DATA_SOURCE | 1 | ptr | $2 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &agent->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct sbp_target_agent)->lock |