Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/time/namespace.c proc_timens_set_offset() -> to_time_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | 256 |
| DATA_SOURCE | 0 | ns | r timens_for_children_get |
kernel/time/namespace.c proc_timens_show_offsets() -> to_time_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | 256 |
| DATA_SOURCE | 0 | ns | r timens_for_children_get |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &m->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
kernel/time/namespace.c timens_install() -> to_time_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | $1 |
kernel/time/namespace.c timens_on_fork() -> to_time_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | 256 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
kernel/time/namespace.c timens_owner() -> to_time_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ns | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | ns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &ns_tree_lock.lock |
kernel/time/namespace.c timens_put() -> to_time_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| BUF_SIZE | 0 | ns | s32min-s32max |
| DATA_SOURCE | 0 | ns | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &task->signal->exec_update_lock |
fs/nsfs.c is_current_namespace() -> to_time_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | $0 |
| LOCK2 | rcu_read |
fs/nsfs.c nsfs_fh_to_dentry() -> to_time_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | r ns_tree_lookup_rcu |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nsfs.c nsfs_fh_to_dentry() -> to_time_ns()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ns | 4096-ptr_max |
| DATA_SOURCE | 0 | ns | r ns_tree_lookup_rcu |
| RX_PATH | |||
| TASK_NOT_RUNNING |