Lines Matching defs:nsproxy
28 * The nsproxy is shared by tasks which share all namespaces.
30 * nsproxy is copied.
32 struct nsproxy {
43 extern struct nsproxy init_nsproxy;
56 struct nsproxy *nsproxy;
72 * 1. only current task is allowed to change tsk->nsproxy pointer or
73 * any pointer on the nsproxy itself. Current must hold the task_lock
74 * when changing tsk->nsproxy.
81 * nsproxy = task->nsproxy;
82 * if (nsproxy != NULL) {
88 * * NULL task->nsproxy means that this task is
97 void switch_task_namespaces(struct task_struct *tsk, struct nsproxy *new);
99 void free_nsproxy(struct nsproxy *ns);
100 int unshare_nsproxy_namespaces(unsigned long, struct nsproxy **,
104 static inline void put_nsproxy(struct nsproxy *ns)
110 static inline void get_nsproxy(struct nsproxy *ns)