| /kernel/time/ |
| A D | namespace.c | 81 struct time_namespace *ns; in clone_time_ns() local 180 struct time_namespace *ns) in timens_setup_vdso_clock_data() 220 struct time_namespace *ns) in timens_set_vvar_page() 254 void free_time_ns(struct time_namespace *ns) in free_time_ns() 270 struct time_namespace *ns = NULL; in timens_get() local 286 struct time_namespace *ns = NULL; in timens_for_children_get() local 300 static void timens_put(struct ns_common *ns) in timens_put() 314 struct time_namespace *ns = to_time_ns(new); in timens_install() local 336 struct time_namespace *ns = to_time_ns(nsc); in timens_on_fork() local 374 struct ns_common *ns; in proc_timens_show_offsets() local [all …]
|
| A D | sched_clock.c | 108 unsigned long long ns; in sched_clock() local 155 u64 ns; in update_sched_clock() local 180 u64 res, wrap, new_mask, new_epoch, cyc, ns; in sched_clock_register() local
|
| A D | timecounter.c | 72 u64 ns = (u64) cycles; in cc_cyc2ns_backwards() local
|
| /kernel/ |
| A D | pid_namespace.c | 63 static struct ucounts *inc_pid_namespaces(struct user_namespace *ns) in inc_pid_namespaces() 78 struct pid_namespace *ns; in create_pid_namespace() local 150 static void destroy_pid_namespace(struct pid_namespace *ns) in destroy_pid_namespace() 162 struct pid_namespace *ns = in destroy_pid_namespace_work() local 184 void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() 347 static inline struct pid_namespace *to_pid_ns(struct ns_common *ns) in to_pid_ns() 354 struct pid_namespace *ns; in pidns_get() local 367 struct pid_namespace *ns = NULL; in pidns_for_children_get() local 388 static void pidns_put(struct ns_common *ns) in pidns_put() 425 static struct ns_common *pidns_get_parent(struct ns_common *ns) in pidns_get_parent() [all …]
|
| A D | utsname.c | 20 static struct ucounts *inc_uts_namespaces(struct user_namespace *ns) in inc_uts_namespaces() 48 struct uts_namespace *ns; in clone_uts_ns() local 106 void free_uts_ns(struct uts_namespace *ns) in free_uts_ns() 114 static inline struct uts_namespace *to_uts_ns(struct ns_common *ns) in to_uts_ns() 121 struct uts_namespace *ns = NULL; in utsns_get() local 135 static void utsns_put(struct ns_common *ns) in utsns_put() 143 struct uts_namespace *ns = to_uts_ns(new); in utsns_install() local 155 static struct user_namespace *utsns_owner(struct ns_common *ns) in utsns_owner()
|
| A D | user_namespace.c | 198 struct user_namespace *parent, *ns = in free_user_ns() local 612 struct user_namespace *ns = seq->private; in uid_m_show() local 633 struct user_namespace *ns = seq->private; in gid_m_show() local 654 struct user_namespace *ns = seq->private; in projid_m_show() local 691 struct user_namespace *ns = seq->private; in uid_m_start() local 698 struct user_namespace *ns = seq->private; in gid_m_start() local 705 struct user_namespace *ns = seq->private; in projid_m_start() local 1122 struct user_namespace *ns = seq->private; in proc_uid_map_write() local 1139 struct user_namespace *ns = seq->private; in proc_gid_map_write() local 1156 struct user_namespace *ns = seq->private; in proc_projid_map_write() local [all …]
|
| A D | capability.c | 277 struct user_namespace *ns, int cap) in has_ns_capability() 302 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 331 static bool ns_capable_common(struct user_namespace *ns, in ns_capable_common() 361 bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 379 bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 398 bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() 433 bool file_ns_capable(const struct file *file, struct user_namespace *ns, in file_ns_capable() 455 bool privileged_wrt_inode_uidgid(struct user_namespace *ns, in privileged_wrt_inode_uidgid() 476 struct user_namespace *ns = current_user_ns(); in capable_wrt_inode_uidgid() local 491 bool ptracer_capable(struct task_struct *tsk, struct user_namespace *ns) in ptracer_capable()
|
| A D | ucount.c | 24 #define ucounts_hashfn(ns, uid) \ argument 27 #define ucounts_hashentry(ns, uid) \ argument 95 bool setup_userns_sysctls(struct user_namespace *ns) in setup_userns_sysctls() 120 void retire_userns_sysctls(struct user_namespace *ns) in retire_userns_sysctls() 132 static struct ucounts *find_ucounts(struct user_namespace *ns, kuid_t uid, in find_ucounts() 157 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid) in alloc_ucounts() 214 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, in inc_ucount()
|
| A D | acct.c | 110 struct pid_namespace *ns; member 164 static struct bsd_acct_struct *acct_get(struct pid_namespace *ns) in acct_get() 224 struct pid_namespace *ns = task_active_pid_ns(current); in acct_on() local 338 void acct_exit_ns(struct pid_namespace *ns) in acct_exit_ns() 534 struct pid_namespace *ns = acct->ns; in fill_ac() local 626 static void slow_acct_process(struct pid_namespace *ns) in slow_acct_process() 643 struct pid_namespace *ns; in acct_process() local
|
| A D | pid.c | 96 struct pid_namespace *ns; in put_pid() local 125 struct pid_namespace *ns = upid->ns; in free_pid() local 162 struct pid *alloc_pid(struct pid_namespace *ns, pid_t *set_tid, in alloc_pid() 310 void disable_pid_allocation(struct pid_namespace *ns) in disable_pid_allocation() 317 struct pid *find_pid_ns(int nr, struct pid_namespace *ns) in find_pid_ns() 430 struct task_struct *find_task_by_pid_ns(pid_t nr, struct pid_namespace *ns) in find_task_by_pid_ns() 489 pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns) in pid_nr_ns() 510 struct pid_namespace *ns) in __task_pid_nr_ns() 535 struct pid *find_ge_pid(int nr, struct pid_namespace *ns) in find_ge_pid()
|
| A D | nsproxy.c | 186 void free_nsproxy(struct nsproxy *ns) in free_nsproxy() 231 struct nsproxy *ns; in switch_task_namespaces() local 353 static inline int validate_ns(struct nsset *nsset, struct ns_common *ns) in validate_ns() 539 struct ns_common *ns = NULL; in SYSCALL_DEFINE2() local
|
| A D | pid_sysctl.h | 11 struct pid_namespace *ns = task_active_pid_ns(current); in pid_mfd_noexec_dointvec_minmax() local
|
| A D | sys.c | 415 struct user_namespace *ns = current_user_ns(); in __sys_setregid() local 481 struct user_namespace *ns = current_user_ns(); in __sys_setgid() local 572 struct user_namespace *ns = current_user_ns(); in __sys_setreuid() local 653 struct user_namespace *ns = current_user_ns(); in __sys_setuid() local 710 struct user_namespace *ns = current_user_ns(); in __sys_setresuid() local 812 struct user_namespace *ns = current_user_ns(); in __sys_setresgid() local
|
| A D | delayacct.c | 109 s64 ns = local_clock() - *start; in delayacct_end() local
|
| A D | ptrace.c | 268 static bool ptrace_has_cap(struct user_namespace *ns, unsigned int mode) in ptrace_has_cap()
|
| /kernel/cgroup/ |
| A D | namespace.c | 12 static struct ucounts *inc_cgroup_namespaces(struct user_namespace *ns) in inc_cgroup_namespaces() 40 void free_cgroup_ns(struct cgroup_namespace *ns) in free_cgroup_ns() 93 static inline struct cgroup_namespace *to_cg_ns(struct ns_common *ns) in to_cg_ns() 98 static int cgroupns_install(struct nsset *nsset, struct ns_common *ns) in cgroupns_install() 120 struct cgroup_namespace *ns = NULL; in cgroupns_get() local 134 static void cgroupns_put(struct ns_common *ns) in cgroupns_put() 139 static struct user_namespace *cgroupns_owner(struct ns_common *ns) in cgroupns_owner()
|
| A D | cgroup-internal.h | 48 struct cgroup_namespace *ns; member 70 struct cgroup_namespace *ns; member
|
| A D | cpuset-v1.c | 384 int proc_cpuset_show(struct seq_file *m, struct pid_namespace *ns, in proc_cpuset_show()
|
| A D | cgroup-v1.c | 188 struct { enum cgroup_filetype type; struct pid_namespace *ns; } key; member 291 struct pid_namespace *ns = task_active_pid_ns(current); in cgroup_pidlist_find() local
|
| A D | cgroup.c | 2436 struct cgroup_namespace *ns) in cgroup_path_ns_locked() 2444 struct cgroup_namespace *ns) in cgroup_path_ns() 5187 struct cgroup_namespace *ns) in cgroup_procs_write_permission() 5218 struct cgroup_namespace *ns) in cgroup_attach_permissions() 6392 int proc_cgroup_show(struct seq_file *m, struct pid_namespace *ns, in proc_cgroup_show()
|
| /kernel/bpf/ |
| A D | token.c | 11 static bool bpf_ns_capable(struct user_namespace *ns, int cap) in bpf_ns_capable()
|
| A D | offload.c | 440 struct ns_common *ns; in bpf_prog_offload_info_fill_ns() local 652 struct ns_common *ns; in bpf_map_offload_info_fill_ns() local
|
| A D | task_iter.c | 21 struct pid_namespace *ns; member
|
| /kernel/sched/ |
| A D | cputime.c | 297 u64 ns; in read_sum_exec_runtime() local
|
| /kernel/rcu/ |
| A D | rcuscale.c | 968 u32 ns; in rcu_scale_cleanup() local
|