Home
last modified time | relevance | path

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

12

/include/linux/
Dipc_namespace.h71 struct ns_common ns; member
80 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned()
119 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns()
126 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
133 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero()
146 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
154 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
159 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero()
164 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
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()
50 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns()
54 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns()
Dexport.h97 #define ___EXPORT_SYMBOL_NS(sym,sec,ns) __GENKSYMS_EXPORT_SYMBOL(sym) argument
109 #define ___EXPORT_SYMBOL_NS(sym, sec, ns) \ argument
129 #define __EXPORT_SYMBOL_NS(sym, sec, ns) argument
156 #define __EXPORT_SYMBOL_NS(sym, sec, ns) \ argument
159 #define __cond_export_ns_sym(sym, sec, ns, conf) \ argument
161 #define ___cond_export_ns_sym(sym, sec, ns, enabled) \ argument
163 #define __cond_export_ns_sym_1(sym, sec, ns) ___EXPORT_SYMBOL_NS(sym, sec, ns) argument
164 #define __cond_export_ns_sym_0(sym, sec, ns) /* nothing */ argument
168 #define __EXPORT_SYMBOL_NS(sym,sec,ns) ___EXPORT_SYMBOL_NS(sym,sec,ns) argument
182 #define EXPORT_SYMBOL_NS(sym, ns) __EXPORT_SYMBOL_NS(sym, "", ns) argument
[all …]
Dpid_namespace.h47 struct ns_common ns; member
55 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns()
71 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns()
77 struct user_namespace *user_ns, struct pid_namespace *ns) in copy_pid_ns()
84 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns()
88 static inline void zap_pid_ns_processes(struct pid_namespace *ns) in zap_pid_ns_processes()
Duser_namespace.h65 struct ns_common ns; member
97 struct user_namespace *ns; member
112 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
123 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
145 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
163 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
167 static inline bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups()
183 static inline struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner()
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()
Dcapability.h220 struct user_namespace *ns, int cap) in has_ns_capability()
229 struct user_namespace *ns, int cap) in has_ns_capability_noaudit()
237 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable()
241 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit()
245 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid()
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()
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()
Dpid.h56 struct pid_namespace *ns; member
139 struct pid_namespace *ns = NULL; in ns_of_pid() local
Dkernfs.h149 const void *ns; /* namespace tag */ member
423 const void *ns) in kernfs_find_and_get_ns()
427 const void *ns) in kernfs_walk_and_get_ns()
453 void *priv, const void *ns) in kernfs_create_dir_ns()
460 void *priv, const void *ns, struct lock_class_key *key) in __kernfs_create_file()
476 const char *name, const void *ns) in kernfs_remove_by_name_ns()
554 void *priv, const void *ns) in kernfs_create_file_ns()
Dacct.h31 #define acct_exit_ns(ns) do { } while (0) argument
Dktime.h155 s64 ns = kt; in ktime_divns() local
258 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime()
Dtimecounter.h73 u64 ns = (u64) cycles; in cyclecounter_cyc2ns() local
Dsysfs.h320 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns()
355 const void *ns) in sysfs_create_file_ns()
385 const void *ns) in sysfs_remove_file_ns()
430 const char *new_name, const void *ns) in sysfs_rename_link_ns()
Dcgroup.h860 struct ns_common ns; member
881 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns()
891 static inline void get_cgroup_ns(struct cgroup_namespace *ns) in get_cgroup_ns()
897 static inline void put_cgroup_ns(struct cgroup_namespace *ns) in put_cgroup_ns()
Dtime64.h150 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) in timespec64_add_ns()
Dptrace.h180 struct pid_namespace *ns; in ptrace_event_pid() local
/include/linux/regulator/
Dfixed.h56 #define regulator_register_fixed(id, s, ns) regulator_register_always_on(id, \ argument
/include/linux/sched/
Dcputime.h170 unsigned long long ns) in account_group_exec_runtime()
/include/linux/mtd/
Drawnand.h627 #define NAND_OP_CMD(id, ns) \ argument
634 #define NAND_OP_ADDR(ncycles, cycles, ns) \ argument
644 #define NAND_OP_DATA_IN(l, b, ns) \ argument
655 #define NAND_OP_DATA_OUT(l, b, ns) \ argument
666 #define NAND_OP_8BIT_DATA_IN(l, b, ns) \ argument
677 #define NAND_OP_8BIT_DATA_OUT(l, b, ns) \ argument
688 #define NAND_OP_WAIT_RDY(tout_ms, ns) \ argument
/include/uapi/linux/
Duvcvideo.h92 __u64 ns; member
/include/net/
Dcodel.h69 u64 ns = ktime_get_ns(); in codel_get_time() local
Dnet_namespace.h90 struct ns_common ns; member
220 static inline struct ns_common *get_net_ns(struct ns_common *ns) in get_net_ns()

12