Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- block/blk-mq-tag.c
- drivers/dma/idxd/submit.c, line 58
- drivers/net/ethernet/fungible/funcore/fun_dev.c, line 356
- drivers/target/iscsi/iscsi_target_util.c, line 147
- lib/sbitmap.c, line 802
Smatch caller information:
drivers/dma/idxd/submit.c idxd_alloc_desc() -> sbitmap_finish_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbq | 4096-ptr_max |
| PARAM_VALUE | 0 | sbq->sb->alloc_hint | 0-u32max |
| PARAM_VALUE | 0 | sbq->sb.alloc_hint | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sbq->ws | 4096-ptr_max |
| PARAM_VALUE | 1 | ws | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait | 7270961719077601280 |
| PARAM_VALUE | 2 | sbq_wait->sbq | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.entry.next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.func | 2781442524753911808 |
| BUF_SIZE | 0 | sbq | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/fungible/funcore/fun_dev.c fun_wait_for_tag() -> sbitmap_finish_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbq | 4096-ptr_max |
| PARAM_VALUE | 0 | sbq->sb.alloc_hint | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sbq->ws | 4096-ptr_max |
| PARAM_VALUE | 1 | ws | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait | 4387927547887562752 |
| PARAM_VALUE | 2 | sbq_wait->sbq | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.entry.next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.func | 2781442524753911808 |
| BUF_SIZE | 0 | sbq | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | sbq->completion_cnt.counter | s32min-s32max |
| HOST_DATA | 0 | sbq->min_shallow_depth | 0-u32max |
| HOST_DATA | 0 | sbq->sb->alloc_hint | 1-65[c] |
| HOST_DATA | 0 | sbq->sb.depth | 0-u32max |
| HOST_DATA | 0 | sbq->sb.map_nr | 0-u32max |
| HOST_DATA | 0 | sbq->sb.round_robin | 0-1 |
| HOST_DATA | 0 | sbq->sb.shift | 0-u32max |
| HOST_DATA | 0 | sbq->wake_batch | 0-u32max |
| HOST_DATA | 0 | sbq->wake_index.counter | s32min-s32max |
| HOST_DATA | 0 | sbq->wakeup_cnt.counter | s32min-s32max |
| HOST_DATA | 0 | sbq->ws_active.counter | s32min-s32max |
| NO_OVERFLOW_SIMPLE | 0 | sbq->sb.depth | |
| HALF_LOCKED2 | &ed->state_mutex | ||
| HALF_LOCKED2 | global &device_offload_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | sk |
drivers/target/iscsi/iscsi_target_util.c iscsit_wait_for_tag() -> sbitmap_finish_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbq | 4096-ptr_max |
| PARAM_VALUE | 0 | sbq->sb.alloc_hint | 0,4096-ptr_max |
| PARAM_VALUE | 0 | sbq->ws | 4096-ptr_max |
| PARAM_VALUE | 1 | ws | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait | 9092458438540128256 |
| PARAM_VALUE | 2 | sbq_wait->sbq | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.entry.next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.func | 2781442524753911808 |
| BUF_SIZE | 0 | sbq | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sess->conn_lock | ||
| HALF_LOCKED2 | bh |
block/blk-mq-tag.c blk_mq_get_tag() -> sbitmap_finish_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbq | 4096-ptr_max |
| PARAM_VALUE | 1 | ws | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait | 1484189499533590528 |
| PARAM_VALUE | 2 | sbq_wait->sbq | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.entry.next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.func | 2781442524753911808 |
| BUF_SIZE | 0 | sbq | 64 |
| DATA_SOURCE | 1 | ws | r bt_wait_ptr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
block/blk-mq-tag.c blk_mq_get_tag() -> sbitmap_finish_wait()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sbq | 4096-ptr_max |
| PARAM_VALUE | 0 | sbq->sb->alloc_hint | 0-u32max |
| PARAM_VALUE | 0 | sbq->sb.alloc_hint | 0,4096-ptr_max |
| PARAM_VALUE | 1 | ws | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | ws->wait.head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait | 1484189499533590528 |
| PARAM_VALUE | 2 | sbq_wait->sbq | 0,4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.entry.next | 4096-ptr_max |
| PARAM_VALUE | 2 | sbq_wait->wait.func | 2781442524753911808 |
| BUF_SIZE | 0 | sbq | 64 |
| DATA_SOURCE | 1 | ws | r bt_wait_ptr |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |