Defined in 2 files as a function:
- drivers/gpu/drm/i915/gvt/handlers.c, line 898 (as a function)
- kernel/time/timer.c, line 524 (as a function)
Referenced in 2 files:
Smatch caller information:
kernel/time/timer.c calc_wheel_index() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | _start | 0 |
| PARAM_VALUE | 2 | _next | 6475713551872667648,7497606931984211968 |
| DATA_SOURCE | 0 | offset | $0 |
| DATA_SOURCE | 2 | _next | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | offset | unit_jiffy |
| HALF_LOCKED2 | flags |
kernel/time/timer.c calc_wheel_index() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | _start | 1 |
| PARAM_VALUE | 2 | _next | 6475713551872667648,7497606931984211968 |
| DATA_SOURCE | 0 | offset | $0 |
| DATA_SOURCE | 2 | _next | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | offset | unit_jiffy |
| HALF_LOCKED2 | flags |
kernel/time/timer.c calc_wheel_index() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | _start | 2 |
| PARAM_VALUE | 2 | _next | 6475713551872667648,7497606931984211968 |
| DATA_SOURCE | 0 | offset | $0 |
| DATA_SOURCE | 2 | _next | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | offset | unit_jiffy |
| HALF_LOCKED2 | flags |
kernel/time/timer.c calc_wheel_index() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | _start | 3 |
| PARAM_VALUE | 2 | _next | 6475713551872667648,7497606931984211968 |
| DATA_SOURCE | 0 | offset | $0 |
| DATA_SOURCE | 2 | _next | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | offset | unit_jiffy |
| HALF_LOCKED2 | flags |
kernel/time/timer.c calc_wheel_index() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | _start | 4 |
| PARAM_VALUE | 2 | _next | 6475713551872667648,7497606931984211968 |
| DATA_SOURCE | 0 | offset | $0 |
| DATA_SOURCE | 2 | _next | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | offset | unit_jiffy |
| HALF_LOCKED2 | flags |
kernel/time/timer.c calc_wheel_index() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | _start | 5 |
| PARAM_VALUE | 2 | _next | 6475713551872667648,7497606931984211968 |
| DATA_SOURCE | 0 | offset | $0 |
| DATA_SOURCE | 2 | _next | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | offset | unit_jiffy |
| HALF_LOCKED2 | flags |
kernel/time/timer.c calc_wheel_index() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | _start | 6 |
| PARAM_VALUE | 2 | _next | 6475713551872667648,7497606931984211968 |
| DATA_SOURCE | 0 | offset | $0 |
| DATA_SOURCE | 2 | _next | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | offset | unit_jiffy |
| HALF_LOCKED2 | flags |
kernel/time/timer.c calc_wheel_index() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | _start | 7 |
| PARAM_VALUE | 2 | _next | 6475713551872667648,7497606931984211968 |
| DATA_SOURCE | 0 | offset | $0 |
| DATA_SOURCE | 2 | _next | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | offset | unit_jiffy |
| HALF_LOCKED2 | flags |
kernel/time/timer.c calc_wheel_index() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | _start | 8 |
| PARAM_VALUE | 2 | _next | 6475713551872667648,7497606931984211968 |
| DATA_SOURCE | 0 | offset | $0 [m] |
| DATA_SOURCE | 2 | _next | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | offset | unit_jiffy |
| HALF_LOCKED2 | flags |
drivers/gpu/drm/i915/gvt/handlers.c dp_tp_ctl_mmio_write() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0-4294967294 |
| CAPPED_DATA | 0 | offset | 1 |
| DATA_SOURCE | 0 | offset | $1 |
| BIT_INFO | 0 | offset | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c pri_surf_mmio_write() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0-4294967294 |
| CAPPED_DATA | 0 | offset | 1 |
| DATA_SOURCE | 0 | offset | $1 |
| BIT_INFO | 0 | offset | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c spr_surf_mmio_write() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0-4294967294 |
| CAPPED_DATA | 0 | offset | 1 |
| DATA_SOURCE | 0 | offset | $1 |
| BIT_INFO | 0 | offset | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c update_fdi_rx_iir_status() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0-4294967294 |
| CAPPED_DATA | 0 | offset | 1 |
| DATA_SOURCE | 0 | offset | $1 |
| BIT_INFO | 0 | offset | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c update_fdi_rx_iir_status() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0-4294967294 |
| CAPPED_DATA | 0 | offset | 1 |
| DATA_SOURCE | 0 | offset | $1 |
| BIT_INFO | 0 | offset | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c update_fdi_rx_iir_status() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0-4294967294 |
| CAPPED_DATA | 0 | offset | 1 |
| DATA_SOURCE | 0 | offset | $1 |
| BIT_INFO | 0 | offset | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c update_fdi_rx_iir_status() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0-4294967294 |
| CAPPED_DATA | 0 | offset | 1 |
| DATA_SOURCE | 0 | offset | $1 |
| BIT_INFO | 0 | offset | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c update_fdi_rx_iir_status() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0-4294967294 |
| CAPPED_DATA | 0 | offset | 1 |
| DATA_SOURCE | 0 | offset | $1 |
| BIT_INFO | 0 | offset | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |
drivers/gpu/drm/i915/gvt/handlers.c update_fdi_rx_iir_status() -> calc_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | offset | 0-4294967294 |
| CAPPED_DATA | 0 | offset | 1 |
| DATA_SOURCE | 0 | offset | $1 |
| BIT_INFO | 0 | offset | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &vgpu->vgpu_lock |