Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/timerfd.c, line 211
- include/linux/hrtimer.h, line 247
- kernel/time/alarmtimer.c, line 359
- kernel/time/hrtimer.c, line 1624
Smatch caller information:
kernel/time/hrtimer.c hrtimer_start_expires_user() -> hrtimer_start_range_ns_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 4096-ptr_max |
| PARAM_VALUE | 0 | timer->node.node.next | 0 |
| PARAM_VALUE | 0 | timer->node.node.node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | timer->node.node.prev | 0 |
| PARAM_VALUE | 3 | mode | 0-1,9 |
| DATA_SOURCE | 0 | timer | $0 |
| DATA_SOURCE | 3 | mode | $1 |
| FUZZY_MAX | 3 | mode | 1 |
| PARAM_COMPARE | 1 | tim | == $0->_softexpires |
| PARAM_COMPARE | 1 | tim | == $0->_softexpires |
| BIT_INFO | 2 | delta_ns | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | delta_ns | 0x0,0x7fffffffffffffff |
| HARD_MAX | 3 | mode | 9 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | timer->_softexpires | s64min-(-2),0-s64max |
| USER_DATA | 0 | timer->node.expires | 0-9223372035999999999[c] |
| USER_DATA | 1 | tim | s64min-(-2),0-s64max |
| USER_DATA | 2 | delta_ns | 0-u64max |
| UNITS | 1 | tim | unit_array_size |
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | &hb->lock |
kernel/time/posix-timers.c hrtimer_start_expires_user() -> hrtimer_start_range_ns_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 4096-ptr_max |
| PARAM_VALUE | 3 | mode | 0 |
| BUF_SIZE | 0 | timer | 80 |
| DATA_SOURCE | 0 | timer | $0 |
| DATA_SOURCE | 3 | mode | $1 |
| PARAM_COMPARE | 1 | tim | == $0->_softexpires |
| PARAM_COMPARE | 1 | tim | == $0->_softexpires |
| BIT_INFO | 2 | delta_ns | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | delta_ns | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | tim | unit_array_size |
| HALF_LOCKED2 | &timr->it_lock | ||
| HALF_LOCKED2 | irq |
fs/timerfd.c timerfd_hrtimer_start() -> hrtimer_start_range_ns_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer->base | 0,4096-ptr_max |
| PARAM_VALUE | 0 | timer->node.expires | (-9223372036854775807)-s64max |
| PARAM_VALUE | 2 | delta_ns | 0 |
| PARAM_VALUE | 3 | mode | 0-1 |
| DATA_SOURCE | 1 | tim | $1 |
| DATA_SOURCE | 3 | mode | $2 |
| FUZZY_MAX | 3 | mode | 1 |
| HARD_MAX | 3 | mode | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ctx->wqh.lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct wait_queue_head)->lock |
kernel/time/alarmtimer.c alarm_start_timer() -> hrtimer_start_range_ns_user()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | timer | 4096-ptr_max |
| PARAM_VALUE | 2 | delta_ns | 0 |
| PARAM_VALUE | 3 | mode | 0 |
| DATA_SOURCE | 1 | tim | $1 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | tim | 0-9223372035999999999[c] |
| UNITS | 1 | tim | unit_array_size |
| LOCK2 | &base->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &ctx->wqh.lock | ||
| HALF_LOCKED2 | &timr->it_lock | ||
| TYPE_LOCK | (struct alarm_base)->lock |