Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- kernel/time/clockevents.c, line 578
- kernel/time/tick-broadcast.c
- kernel/time/tick-common.c
- kernel/time/tick-oneshot.c
Smatch caller information:
kernel/time/tick-oneshot.c tick_program_event() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | expires | s64min-9223372036854775806 |
| PARAM_VALUE | 2 | force | 1 |
| BUF_SIZE | 0 | dev | 0 |
| DATA_SOURCE | 1 | expires | $0 |
| DATA_SOURCE | 2 | force | $1 |
| BIT_INFO | 0 | dev | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | expires | unit_array_size |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &tick_broadcast_lock | ||
| HALF_LOCKED2 | irq |
kernel/time/tick-oneshot.c tick_resume_oneshot() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->next_event_forced | 0 |
| PARAM_VALUE | 2 | force | 1 |
| BUF_SIZE | 0 | dev | 0 |
| BIT_INFO | 0 | dev | 0x0,0x0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &tick_freeze_lock | ||
| HALF_LOCKED2 | irq |
kernel/time/tick-oneshot.c tick_setup_oneshot() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->broadcast | 1-u64max |
| PARAM_VALUE | 0 | dev->features | 2-u32max |
| PARAM_VALUE | 0 | dev->mult | 1 |
| PARAM_VALUE | 0 | dev->next_event | s64max |
| PARAM_VALUE | 0 | dev->next_event_forced | 0 |
| PARAM_VALUE | 0 | dev->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->state_use_accessors | 0-4 |
| PARAM_VALUE | 2 | force | 1 |
| BUF_SIZE | 0 | dev->cpumask | (-1),1024 |
| BUF_SIZE | 0 | dev->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | expires | $2 |
| STR_LEN | 0 | dev->name | (-1),3,5,7,13-15,18-19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | expires | unit_array_size |
| LOCK2 | global &clockevents_lock | ||
| HALF_LOCKED2 | flags |
kernel/time/clockevents.c __clockevents_update_freq() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->state_use_accessors | 3 |
| PARAM_VALUE | 2 | force | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | expires | unit_array_size |
| LOCK2 | flags | ||
| HALF_LOCKED2 | global &tick_broadcast_lock |
kernel/time/tick-broadcast.c hotplug_cpu__broadcast_tick_pull() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bound_on | 0-s32max |
| PARAM_VALUE | 0 | dev->features | 128-u32max |
| PARAM_VALUE | 0 | dev->next_event | s64min-9223372036854775806 |
| PARAM_VALUE | 0 | dev->next_event_forced | 0 |
| PARAM_VALUE | 1 | expires | s64min-9223372036854775806 |
| PARAM_VALUE | 2 | force | 1 |
| CAPPED_DATA | 0 | dev->bound_on | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | expires | unit_array_size |
| LOCK2 | flags | ||
| LOCK2 | global &tick_broadcast_lock | ||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
kernel/time/tick-broadcast.c tick_broadcast_set_event() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->next_event | (-9223372036854775807)-s64max |
| PARAM_VALUE | 2 | force | 1 |
| BUF_SIZE | 0 | dev | (-1),256 |
| BUF_SIZE | 0 | dev | (-1),256 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | expires | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | expires | unit_array_size |
| LOCK2 | global &tick_broadcast_lock | ||
| HALF_LOCKED2 | irq |
kernel/time/tick-broadcast.c tick_handle_periodic_broadcast() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->state_use_accessors | 3 |
| PARAM_VALUE | 2 | force | 1 |
| BUF_SIZE | 0 | dev | (-1),256 |
| BUF_SIZE | 0 | dev | (-1),256 |
| DATA_SOURCE | 0 | dev | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &tick_broadcast_lock |
kernel/time/tick-broadcast.c tick_oneshot_wakeup_control() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->next_event_forced | 0 |
| PARAM_VALUE | 2 | force | 1 |
| DATA_SOURCE | 0 | dev | r tick_get_oneshot_wakeup_device |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| UNITS | 1 | expires | unit_array_size |
| LOCK2 | irq |
kernel/time/tick-common.c tick_handle_periodic() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->next_event_forced | 0 |
| PARAM_VALUE | 0 | dev->state_use_accessors | 3 |
| PARAM_VALUE | 2 | force | 0 |
| BUF_SIZE | 0 | dev | (-1),256 |
| BUF_SIZE | 0 | dev | (-1),256 |
| DATA_SOURCE | 0 | dev | $0 |
| PARAM_COMPARE | 1 | expires | > $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | expires | unit_array_size |
kernel/time/tick-common.c tick_setup_periodic() -> clockevents_program_event()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->event_handler | 2846741203247124480,3727780782028185600 |
| PARAM_VALUE | 2 | force | 0 |
| BUF_SIZE | 0 | dev->cpumask | (-1),1024 |
| BUF_SIZE | 0 | dev->name | s32min,(-10),(-1),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev->name | (-1),3,5,7,13-15,18-19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &clockevents_lock | ||
| HALF_LOCKED2 | global &tick_broadcast_lock |