Documented in 1 files:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
kernel/time/timekeeping.c aux_clock_enable() -> tk_setup_internals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tk | 4096-ptr_max |
| BUF_SIZE | 0 | tk | 320 |
| CAPABLE | 0 | 25 | |
| MEM_ZERO | 0 | tk | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/time/timekeeping.c change_clocksource() -> tk_setup_internals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tk | 7993997016906715520 |
| PARAM_VALUE | 0 | tk->tkr_mono.clock | 4096-ptr_max |
| PARAM_VALUE | 0 | tk->tkr_mono.xtime_nsec | 0-18446744073709551614 |
| PARAM_VALUE | 0 | tk->tkr_raw.xtime_nsec | 0-18446744073709551614 |
| PARAM_VALUE | 1 | clock | 4096-ptr_max |
| PARAM_VALUE | 1 | clock->owner | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clock->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 1 | clock->owner->state | 0-1,3-u32max |
| BUF_SIZE | 0 | tk | 320 |
| BUF_SIZE | 1 | clock | (-1),4,8,24,32,4096 |
| BUF_SIZE | 1 | clock | (-1),4,8,24,32,4096 |
| DATA_SOURCE | 1 | clock | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | flags |
kernel/time/timekeeping.c timekeeping_init() -> tk_setup_internals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tk | 7993997016906715520 |
| PARAM_VALUE | 1 | clock | 6128933025919262720 |
| PARAM_VALUE | 1 | clock->enable | 0 |
| PARAM_VALUE | 1 | clock->id | 0-6 |
| PARAM_VALUE | 1 | clock->list.prev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | clock->max_idle_ns | 0-9223372036854775807 |
| PARAM_VALUE | 1 | clock->max_raw_delta | 0-16140901064495857661 |
| PARAM_VALUE | 1 | clock->shift | 8 |
| PARAM_VALUE | 1 | clock->vdso_clock_mode | 0-3 |
| BUF_SIZE | 0 | tk | 320 |
| BUF_SIZE | 1 | clock | 216 |
| DATA_SOURCE | 1 | clock | r clocksource_default_clock |
| NOCHECK_CALL | |||
| LOCK2 | irq |
kernel/time/timekeeping.c tk_aux_update_clocksource() -> tk_setup_internals()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tk | 4096-ptr_max |
| PARAM_VALUE | 0 | tk->clock_valid | 1-255 |
| PARAM_VALUE | 0 | tk->tkr_mono.clock | 4096-ptr_max |
| PARAM_VALUE | 0 | tk->tkr_mono.xtime_nsec | 0-18446744073709551614 |
| PARAM_VALUE | 0 | tk->tkr_raw.xtime_nsec | 0-18446744073709551614 |
| BUF_SIZE | 0 | tk | 320 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &tkd->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct tk_data)->lock |