| /include/linux/ |
| D | pid_namespace.h | 40 struct ns_common ns; member 51 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 59 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns) in pidns_memfd_noexec_scope() 69 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns) in pidns_memfd_noexec_scope() 84 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 89 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns) in pidns_memfd_noexec_scope() 95 struct user_namespace *user_ns, struct pid_namespace *ns) in copy_pid_ns() 102 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() 106 static inline void zap_pid_ns_processes(struct pid_namespace *ns) in zap_pid_ns_processes()
|
| D | ipc_namespace.h | 80 struct ns_common ns; member 89 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned() 128 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns() 135 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() 142 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero() 155 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs() 163 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() 168 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero() 173 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns() 185 static inline void retire_mq_sysctls(struct ipc_namespace *ns) in retire_mq_sysctls() [all …]
|
| D | export.h | 33 #define ___EXPORT_SYMBOL(sym, license, ns...) \ argument 48 #define __EXPORT_SYMBOL(sym, license, ns) argument 52 #define __EXPORT_SYMBOL(sym, license, ns) __GENKSYMS_EXPORT_SYMBOL(sym) argument 56 #define __EXPORT_SYMBOL(sym, license, ns) \ argument 75 #define __EXPORT_SYMBOL(sym, license, ns) \ argument 91 #define EXPORT_SYMBOL_NS(sym, ns) __EXPORT_SYMBOL(sym, "", __stringify(ns)) argument 92 #define EXPORT_SYMBOL_NS_GPL(sym, ns) __EXPORT_SYMBOL(sym, "GPL", __stringify(ns)) argument
|
| D | time_namespace.h | 25 struct ns_common ns; member 39 static inline struct time_namespace *get_time_ns(struct time_namespace *ns) in get_time_ns() 52 static inline void put_time_ns(struct time_namespace *ns) in put_time_ns() 101 struct time_namespace *ns = current->nsproxy->time_ns; in timens_ktime_to_host() local 111 struct time_namespace *ns) in vdso_join_timens() 117 struct time_namespace *ns) in timens_commit() 121 static inline struct time_namespace *get_time_ns(struct time_namespace *ns) in get_time_ns() 126 static inline void put_time_ns(struct time_namespace *ns) in put_time_ns()
|
| D | utsname.h | 28 struct ns_common ns; member 33 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns() 42 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()
|
| D | user_namespace.h | 83 struct ns_common ns; member 122 struct user_namespace *ns; member 152 static inline long get_userns_rlimit_max(struct user_namespace *ns, enum rlimit_type type) in get_userns_rlimit_max() 157 static inline void set_userns_rlimit_max(struct user_namespace *ns, in set_userns_rlimit_max() 165 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 176 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns() 198 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 216 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns() 220 static inline bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups() 236 static inline struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner()
|
| D | pid.h | 52 struct pid_namespace *ns; member 147 struct pid_namespace *ns = NULL; in ns_of_pid() local 235 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns() 266 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns() 277 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns() 287 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns() 297 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns()
|
| D | capability.h | 158 struct user_namespace *ns, int cap) in has_ns_capability() 167 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 175 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 179 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 183 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() 205 static inline bool checkpoint_restore_ns_capable(struct user_namespace *ns) in checkpoint_restore_ns_capable()
|
| D | export-internal.h | 40 #define __KSYMTAB(name, sym, sec, ns) \ argument 62 #define KSYMTAB_FUNC(name, sec, ns) __KSYMTAB(name, KSYM_FUNC(name), sec, ns) argument 63 #define KSYMTAB_DATA(name, sec, ns) __KSYMTAB(name, name, sec, ns) argument
|
| D | uidgid.h | 123 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() 128 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping() 174 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() 179 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
|
| D | pm.h | 380 #define _EXPORT_PM_OPS(name, license, ns) \ argument 385 #define _DISCARD_PM_OPS(name, license, ns) \ argument 389 #define _EXPORT_DEV_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) argument 391 #define EXPORT_PM_FN_NS_GPL(name, ns) EXPORT_SYMBOL_NS_GPL(name, ns) argument 393 #define _EXPORT_DEV_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns) argument 395 #define EXPORT_PM_FN_NS_GPL(name, ns) argument 399 #define _EXPORT_DEV_SLEEP_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) argument 401 #define _EXPORT_DEV_SLEEP_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns) argument 406 #define EXPORT_NS_DEV_PM_OPS(name, ns) _EXPORT_DEV_PM_OPS(name, "", #ns) argument 407 #define EXPORT_NS_GPL_DEV_PM_OPS(name, ns) _EXPORT_DEV_PM_OPS(name, "GPL", #ns) argument [all …]
|
| D | projid.h | 58 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()
|
| D | nsproxy.h | 115 static inline void put_nsproxy(struct nsproxy *ns) in put_nsproxy() 121 static inline void get_nsproxy(struct nsproxy *ns) in get_nsproxy()
|
| D | proc_ns.h | 67 static inline int ns_alloc_inum(struct ns_common *ns) in ns_alloc_inum() 73 #define ns_free_inum(ns) proc_free_inum((ns)->inum) argument
|
| D | ktime.h | 136 s64 ns = kt; in ktime_divns() local 220 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime()
|
| D | kernfs.h | 208 const void *ns; /* namespace tag */ member 503 const void *ns) in kernfs_find_and_get_ns() 507 const void *ns) in kernfs_walk_and_get_ns() 533 void *priv, const void *ns) in kernfs_create_dir_ns() 540 void *priv, const void *ns, struct lock_class_key *key) in __kernfs_create_file() 556 const char *name, const void *ns) in kernfs_remove_by_name_ns()
|
| D | acct.h | 30 #define acct_exit_ns(ns) do { } while (0) argument
|
| D | timecounter.h | 75 u64 ns = (u64) cycles; in cyclecounter_cyc2ns() local
|
| D | cgroup.h | 773 struct ns_common ns; member 794 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns() 804 static inline void get_cgroup_ns(struct cgroup_namespace *ns) in get_cgroup_ns() 810 static inline void put_cgroup_ns(struct cgroup_namespace *ns) in put_cgroup_ns()
|
| D | time64.h | 158 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) in timespec64_add_ns()
|
| /include/linux/irqchip/ |
| D | arm-gic-v3-prio.h | 37 #define __gicv3_ns_to_prio(ns) (0x80 | ((ns) >> 1)) argument
|
| /include/linux/regulator/ |
| D | fixed.h | 57 #define regulator_register_fixed(id, s, ns) regulator_register_always_on(id, \ argument
|
| /include/linux/dsa/ |
| D | ksz_common.h | 20 u64 ns = FIELD_GET(KSZ_TSTAMP_SEC_MASK, tstamp) * NSEC_PER_SEC + in ksz_decode_tstamp() local
|
| /include/linux/sched/ |
| D | cputime.h | 162 unsigned long long ns) in account_group_exec_runtime()
|
| /include/net/ |
| D | ioam6.h | 33 struct ioam6_namespace __rcu *ns; member
|