Home
last modified time | relevance | path

Searched defs:ns (Results 1 – 25 of 35) sorted by relevance

12

/include/linux/
Dutsname.h29 struct ns_common ns; member
34 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns()
43 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns()
48 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns()
52 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns()
Duser_namespace.h55 struct ns_common ns; member
74 struct user_namespace *ns; member
89 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
100 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
122 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
140 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
144 static inline bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups()
160 static inline struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner()
Dpid_namespace.h55 struct ns_common ns; member
63 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns()
79 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns()
85 struct user_namespace *user_ns, struct pid_namespace *ns) in copy_pid_ns()
92 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns()
96 static inline void zap_pid_ns_processes(struct pid_namespace *ns) in zap_pid_ns_processes()
Dipc_namespace.h68 struct ns_common ns; member
77 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned()
116 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns()
123 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
133 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
141 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
146 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
Dproc_ns.h57 static inline int pid_ns_prepare_proc(struct pid_namespace *ns) { return 0; } in pid_ns_prepare_proc()
58 static inline void pid_ns_release_proc(struct pid_namespace *ns) {} in pid_ns_release_proc()
69 static inline int ns_alloc_inum(struct ns_common *ns) in ns_alloc_inum()
75 #define ns_free_inum(ns) proc_free_inum((ns)->inum) argument
Dnsproxy.h76 static inline void put_nsproxy(struct nsproxy *ns) in put_nsproxy()
83 static inline void get_nsproxy(struct nsproxy *ns) in get_nsproxy()
Duidgid.h131 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
136 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
179 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping()
184 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
Dcapability.h218 struct user_namespace *ns, int cap) in has_ns_capability()
227 struct user_namespace *ns, int cap) in has_ns_capability_noaudit()
235 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable()
239 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit()
Dprojid.h58 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) in kprojid_has_mapping()
83 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) in kprojid_has_mapping()
Dkernfs.h146 const void *ns; /* namespace tag */ member
396 const void *ns) in kernfs_find_and_get_ns()
400 const void *ns) in kernfs_walk_and_get_ns()
425 umode_t mode, void *priv, const void *ns) in kernfs_create_dir_ns()
431 void *priv, const void *ns, struct lock_class_key *key) in __kernfs_create_file()
447 const char *name, const void *ns) in kernfs_remove_by_name_ns()
467 bool *new_sb_created, const void *ns) in kernfs_mount_ns()
514 void *priv, const void *ns) in kernfs_create_file_ns()
Dpid.h56 struct pid_namespace *ns; member
139 struct pid_namespace *ns = NULL; in ns_of_pid() local
Dacct.h34 #define acct_exit_ns(ns) do { } while (0) argument
Dktime.h152 s64 ns = kt; in ktime_divns() local
262 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime()
Dcgroup.h763 struct ns_common ns; member
784 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns()
794 static inline void get_cgroup_ns(struct cgroup_namespace *ns) in get_cgroup_ns()
800 static inline void put_cgroup_ns(struct cgroup_namespace *ns) in put_cgroup_ns()
Dtimecounter.h82 u64 ns = (u64) cycles; in cyclecounter_cyc2ns() local
Dsysfs.h306 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
341 const void *ns) in sysfs_create_file_ns()
371 const void *ns) in sysfs_remove_file_ns()
416 const char *new_name, const void *ns) in sysfs_rename_link_ns()
Dptrace.h180 struct pid_namespace *ns; in ptrace_event_pid() local
Dtime.h274 static __always_inline void timespec_add_ns(struct timespec *a, u64 ns) in timespec_add_ns()
Dtime64.h211 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) in timespec64_add_ns()
/include/trace/events/
Dgpu.h10 #define show_secs_from_ns(ns) \ argument
17 #define show_usecs_from_ns(ns) \ argument
/include/linux/regulator/
Dfixed.h73 #define regulator_register_fixed(id, s, ns) regulator_register_always_on(id, \ argument
/include/linux/sched/
Dcputime.h167 unsigned long long ns) in account_group_exec_runtime()
/include/net/
Dcodel.h69 u64 ns = ktime_get_ns(); in codel_get_time() local
Dlapb.h74 unsigned short nr, ns; /* N(R), N(S) */ member
/include/linux/ssb/
Dssb_driver_extif.h211 void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) in ssb_extif_timing_init()

12