Defined in 1 files as a function:
Referenced in 4 files:
- drivers/infiniband/hw/hfi1/ud.c, line 183
- drivers/infiniband/hw/hfi1/verbs.c
- drivers/infiniband/sw/rdmavt/qp.c
- include/rdma/rdmavt_mr.h, line 144
Smatch caller information:
drivers/infiniband/sw/rdmavt/qp.c rvt_copy_sge() -> rvt_get_sge_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sge | 4096-ptr_max |
| PARAM_VALUE | 1 | length | 1-u32max |
| BUF_SIZE | 0 | sge | 32 |
| DATA_SOURCE | 1 | length | $3 [m] |
| FUZZY_MAX | 1 | length | 8 |
| TASK_NOT_RUNNING | |||
| UNITS | 1 | length | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &packet->qp->r_lock | ||
| HALF_LOCKED2 | &qp->r_lock | ||
| HALF_LOCKED2 | &qp->s_lock | ||
| HALF_LOCKED2 | ps.flags | ||
| TYPE_LOCK | (struct rvt_qp)->r_lock |
drivers/infiniband/sw/rdmavt/qp.c rvt_ruc_loopback() -> rvt_get_sge_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sge | 4096-ptr_max |
| PARAM_VALUE | 1 | length | 1-u32max |
| BUF_SIZE | 0 | sge | 32 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | length | unit_byte |
| LOCK2 | &qp->r_lock | ||
| LOCK2 | flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rvt_qp)->r_lock |
drivers/infiniband/hw/hfi1/verbs.c build_verbs_ulp_payload() -> rvt_get_sge_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sge | 4096-ptr_max |
| PARAM_VALUE | 1 | length | 1-u16max,4294901762-u32max |
| DATA_SOURCE | 1 | length | $1 |
| TASK_NOT_RUNNING | |||
| UNITS | 1 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/hw/hfi1/verbs.c hfi1_verbs_send_pio() -> rvt_get_sge_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sge | 4096-ptr_max |
| PARAM_VALUE | 1 | length | 1-u16max,4294901762-u32max |
| TASK_NOT_RUNNING | |||
| UNITS | 1 | length | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/infiniband/sw/rdmavt/rc.c rvt_skip_sge() -> rvt_get_sge_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sge | 4096-ptr_max |
| PARAM_VALUE | 1 | length | 1-u32max |
| BUF_SIZE | 0 | sge | 32 |
| DATA_SOURCE | 1 | length | $1 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &qp->s_lock | ||
| HALF_LOCKED2 | &packet->qp->r_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | ps.flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct rvt_qp)->s_lock |
drivers/infiniband/hw/hfi1/ud.c rvt_skip_sge() -> rvt_get_sge_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sge | 4096-ptr_max |
| PARAM_VALUE | 1 | length | 1-40 |
| BUF_SIZE | 0 | sge | 32 |
| DATA_SOURCE | 1 | length | $1 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | length | unit_byte |
| LOCK2 | flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &packet->qp->r_lock | ||
| HALF_LOCKED2 | &qp->r_lock | ||
| HALF_LOCKED2 | ps.flags | ||
| TYPE_LOCK | (struct rvt_qp)->r_lock |
drivers/infiniband/hw/hfi1/ud.c ud_loopback() -> rvt_get_sge_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sge | 1918975169936814088 |
| PARAM_VALUE | 1 | length | 1-u32max |
| BUF_SIZE | 0 | sge | 32 |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | length | unit_byte |
| LOCK2 | &qp->r_lock | ||
| LOCK2 | flags | ||
| LOCK2 | ps.flags | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct rvt_qp)->r_lock |
drivers/infiniband/hw/hfi1/tid_rdma.c rvt_skip_sge() -> rvt_get_sge_length()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sge | 4096-ptr_max |
| PARAM_VALUE | 1 | length | 1-u32max |
| BUF_SIZE | 0 | sge | 32 |
| DATA_SOURCE | 1 | length | $1 |
| PREEMPT_ADD | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | length | unit_byte |
| LOCK2 | &qp->s_lock | ||
| HALF_LOCKED2 | &packet->qp->r_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | ps.flags | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct rvt_qp)->s_lock |