Lines Matching refs:ns
79 struct pid_namespace *ns, struct file *);
90 struct pid_namespace *ns; member
167 struct pid_namespace *ns) in acct_file_reopen() argument
174 old_ns = acct->ns; in acct_file_reopen()
177 acct->ns = NULL; in acct_file_reopen()
182 acct->ns = ns; in acct_file_reopen()
200 struct pid_namespace *ns; in acct_on() local
218 ns = task_active_pid_ns(current); in acct_on()
219 if (ns->bacct == NULL) { in acct_on()
228 if (ns->bacct == NULL) { in acct_on()
229 ns->bacct = acct; in acct_on()
235 acct_file_reopen(ns->bacct, file, ns); in acct_on()
325 void acct_exit_ns(struct pid_namespace *ns) in acct_exit_ns() argument
327 struct bsd_acct_struct *acct = ns->bacct; in acct_exit_ns()
455 struct pid_namespace *ns, struct file *file) in do_acct_process() argument
521 ac.ac_pid = task_tgid_nr_ns(current, ns); in do_acct_process()
523 ac.ac_ppid = task_tgid_nr_ns(rcu_dereference(current->real_parent), ns); in do_acct_process()
612 static void acct_process_in_ns(struct pid_namespace *ns) in acct_process_in_ns() argument
617 acct = ns->bacct; in acct_process_in_ns()
633 do_acct_process(acct, ns, file); in acct_process_in_ns()
645 struct pid_namespace *ns; in acct_process() local
652 for (ns = task_active_pid_ns(current); ns != NULL; ns = ns->parent) in acct_process()
653 acct_process_in_ns(ns); in acct_process()