Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/infiniband/hw/hfi1/user_exp_rcv.c hfi1_user_exp_rcv_invalid() -> uctxt_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | uctxt->dd | 4096-ptr_max |
drivers/infiniband/hw/hfi1/user_exp_rcv.c tid_rb_invalidate() -> uctxt_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | uctxt->dd | 4096-ptr_max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &fdata->invalid_lock | ||
| HALF_LOCKED2 | &ctx->map_changing_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | global &ksm_thread_mutex | ||
| TYPE_LOCK | (struct hfi1_filedata)->invalid_lock |
drivers/infiniband/hw/hfi1/file_ops.c get_base_info() -> uctxt_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | uctxt->dd | 4096-ptr_max |
drivers/infiniband/hw/hfi1/file_ops.c hfi1_file_close() -> uctxt_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctxt | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/infiniband/hw/hfi1/file_ops.c hfi1_file_mmap() -> uctxt_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | uctxt->dd | 4096-ptr_max |
| CAPPED_DATA | 0 | uctxt->ctxt | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ipcp->lock |
drivers/infiniband/hw/hfi1/file_ops.c hfi1_set_uevent_bits() -> uctxt_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctxt | 4096-ptr_max |
| DATA_SOURCE | 0 | uctxt | r hfi1_rcd_get_by_index |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ppd->hls_lock |
drivers/infiniband/hw/hfi1/file_ops.c user_event_ack() -> uctxt_offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | uctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | uctxt->dd | 4096-ptr_max |
| DATA_SOURCE | 0 | uctxt | $0 |