Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/infiniband/hw/hfi1/pio.c, line 653 (as a function)
- fs/ocfs2/cluster/tcp.c, line 420 (as a function)
Referenced in 4 files:
- drivers/infiniband/hw/hfi1/file_ops.c, line 973
- drivers/infiniband/hw/hfi1/init.c, line 118
- drivers/infiniband/hw/hfi1/pio.c
- fs/ocfs2/cluster/tcp.c
Smatch caller information:
drivers/infiniband/hw/hfi1/pio.c init_pervl_scs() -> sc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->rcd | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | hdrqentsize | 0-255 |
| DATA_SOURCE | 0 | node | $0 |
drivers/infiniband/hw/hfi1/pio.c init_pervl_scs() -> sc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->kernel_send_context | 4096-ptr_max |
| PARAM_VALUE | 0 | node->rcd | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vld | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | hdrqentsize | 0-255 |
| BUF_SIZE | 0 | node->kernel_send_context | 8 |
| DATA_SOURCE | 0 | node | $0 |
| NO_OVERFLOW_SIMPLE | 0 | node->num_send_contexts |
drivers/infiniband/hw/hfi1/pio.c init_pervl_scs() -> sc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->kernel_send_context | 4096-ptr_max |
| PARAM_VALUE | 0 | node->rcd | 4096-ptr_max |
| PARAM_VALUE | 0 | node->vld | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | hdrqentsize | 0-255 |
| BUF_SIZE | 0 | node->kernel_send_context | 8 |
| DATA_SOURCE | 0 | node | $0 |
| NO_OVERFLOW_SIMPLE | 0 | node->num_send_contexts |
fs/ocfs2/cluster/tcp.c o2net_accept_one() -> sc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->nd_num | 1-254 |
| DATA_SOURCE | 0 | node | r o2nm_get_node_by_ip |
| HALF_LOCKED2 | &pool->lock |
fs/ocfs2/cluster/tcp.c o2net_start_connect() -> sc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 1-u64max |
| DATA_SOURCE | 0 | node | r o2nm_get_node_by_num |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/hfi1/file_ops.c allocate_ctxt() -> sc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->freectxts | 1-u32max |
| PARAM_VALUE | 0 | node->pport | 4096-ptr_max |
| PARAM_VALUE | 0 | node->pport->dd | 4096-ptr_max |
| PARAM_VALUE | 0 | node->pport->dd->num_rcv_contexts | 1-u32max |
| PARAM_VALUE | 0 | node->pport->dd->uctxt_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *node->pport->dd->rcd | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 3 |
| CAPPED_DATA | 0 | node->pport->dd->first_dyn_alloc_ctxt | 1 |
| CAPPED_DATA | 0 | node->pport->dd->num_rcv_contexts | 1 |
| CAPPED_DATA | 0 | node->pport->dd->rcv_entries.nctxt_extra | 1 |
| DATA_SOURCE | 0 | node | $1 |
| BIT_INFO | 0 | node->flags | 0x0,0xfffb |
| LOCK2 | global &hfi1_mutex |
drivers/infiniband/hw/hfi1/init.c hfi1_create_kctxt() -> sc_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | node | 4096-ptr_max |
| PARAM_VALUE | 0 | node->first_dyn_alloc_ctxt | 1-255 |
| PARAM_VALUE | 0 | node->rcd | 1-u64max |
| PARAM_VALUE | 1 | type | 2 |
| BUF_SIZE | 0 | node->rcd | 8 |
| DATA_SOURCE | 0 | node | $0 |
| NO_OVERFLOW_SIMPLE | 0 | node->num_rcv_contexts |