Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/timerfd.c do_timerfd_gettime() -> timerfd_get_remaining()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->wqh.lock.rlock.dep_map->name 0-255
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
LOCK2 irq
LOCK2 0 &ctx->wqh.lock
TYPE_LOCK (struct wait_queue_head)->lock

fs/timerfd.c do_timerfd_settime() -> timerfd_get_remaining()

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->cancel_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 ctx->clist.next 4096-ptr_max
PARAM_VALUE 0 ctx->clist.next->prev 4096-ptr_max
PARAM_VALUE 0 ctx->clist.prev 8231391484007854080
PARAM_VALUE 0 ctx->clist.prev->prev 8231391484007854080
PARAM_VALUE 0 ctx->t.tmr.is_queued 0
PARAM_VALUE 0 ctx->wqh.lock.rlock.dep_map->name 0-255
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
LOCK2 irq
LOCK2 0 &ctx->wqh.lock
TYPE_LOCK (struct wait_queue_head)->lock

fs/timerfd.c timerfd_show() -> timerfd_get_remaining()

Type Parameter Key Value
PARAM_VALUE 0 ctx->wqh.lock.rlock.dep_map->name 0-255
BUF_SIZE 0 ctx s32min-(-2),1-s32max
BUF_SIZE 0 ctx s32min-(-2),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
LOCK2 irq
LOCK2 0 &ctx->wqh.lock
TYPE_LOCK (struct seq_file)->lock
TYPE_LOCK (struct wait_queue_head)->lock