| /include/linux/ |
| A D | pid_namespace.h | 41 struct ns_common ns; member 57 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 65 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns) in pidns_memfd_noexec_scope() 75 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns) in pidns_memfd_noexec_scope() 90 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 95 static inline int pidns_memfd_noexec_scope(struct pid_namespace *ns) in pidns_memfd_noexec_scope() 101 struct user_namespace *user_ns, struct pid_namespace *ns) in copy_pid_ns() 108 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() 112 static inline void zap_pid_ns_processes(struct pid_namespace *ns) in zap_pid_ns_processes()
|
| A 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() 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() 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() 189 static inline bool setup_mq_sysctls(struct ipc_namespace *ns) in setup_mq_sysctls() 203 static inline void retire_ipc_sysctls(struct ipc_namespace *ns) in retire_ipc_sysctls() [all …]
|
| A 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, "", ns) argument 92 #define EXPORT_SYMBOL_NS_GPL(sym, ns) __EXPORT_SYMBOL(sym, "GPL", ns) argument
|
| A D | time_namespace.h | 26 struct ns_common ns; member 40 static inline struct time_namespace *get_time_ns(struct time_namespace *ns) in get_time_ns() 53 static inline void put_time_ns(struct time_namespace *ns) in put_time_ns() 102 struct time_namespace *ns = current->nsproxy->time_ns; in timens_ktime_to_host() local 112 struct time_namespace *ns) in vdso_join_timens() 118 struct time_namespace *ns) in timens_commit() 122 static inline struct time_namespace *get_time_ns(struct time_namespace *ns) in get_time_ns() 127 static inline void put_time_ns(struct time_namespace *ns) in put_time_ns()
|
| A 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()
|
| A D | user_namespace.h | 84 struct ns_common ns; member 121 struct user_namespace *ns; member 158 static inline long get_userns_rlimit_max(struct user_namespace *ns, enum rlimit_type type) in get_userns_rlimit_max() 163 static inline void set_userns_rlimit_max(struct user_namespace *ns, in set_userns_rlimit_max() 171 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 182 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns() 204 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 222 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns() 226 static inline bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups() 242 static inline struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner()
|
| A D | pid.h | 54 struct pid_namespace *ns; member 151 struct pid_namespace *ns = NULL; in ns_of_pid() local 239 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns() 270 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns() 281 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns() 291 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns() 301 static inline pid_t task_ppid_nr_ns(const struct task_struct *tsk, struct pid_namespace *ns) in task_ppid_nr_ns()
|
| A D | capability.h | 153 struct user_namespace *ns, int cap) in has_ns_capability() 162 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 170 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 174 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 178 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() 200 static inline bool checkpoint_restore_ns_capable(struct user_namespace *ns) in checkpoint_restore_ns_capable()
|
| A 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
|
| A 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() 175 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() 180 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
|
| A D | pm.h | 378 #define _EXPORT_PM_OPS(name, license, ns) \ argument 383 #define _DISCARD_PM_OPS(name, license, ns) \ argument 387 #define _EXPORT_DEV_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) argument 389 #define _EXPORT_DEV_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns) argument 393 #define _EXPORT_DEV_SLEEP_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns) argument 395 #define _EXPORT_DEV_SLEEP_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns) argument 400 #define EXPORT_NS_DEV_PM_OPS(name, ns) _EXPORT_DEV_PM_OPS(name, "", #ns) argument 401 #define EXPORT_NS_GPL_DEV_PM_OPS(name, ns) _EXPORT_DEV_PM_OPS(name, "GPL", #ns) argument 405 #define EXPORT_NS_DEV_SLEEP_PM_OPS(name, ns) _EXPORT_DEV_SLEEP_PM_OPS(name, "", #ns) argument 426 #define EXPORT_NS_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn, ns) \ argument [all …]
|
| A 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()
|
| A 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()
|
| A D | proc_ns.h | 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
|
| A D | cgroup.h | 787 struct ns_common ns; member 806 static inline void get_cgroup_ns(struct cgroup_namespace *ns) in get_cgroup_ns() 811 static inline void put_cgroup_ns(struct cgroup_namespace *ns) in put_cgroup_ns() 819 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns() 827 static inline void get_cgroup_ns(struct cgroup_namespace *ns) { } in get_cgroup_ns() 828 static inline void put_cgroup_ns(struct cgroup_namespace *ns) { } in put_cgroup_ns()
|
| A 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()
|
| A D | acct.h | 30 #define acct_exit_ns(ns) do { } while (0) argument
|
| A D | kernfs.h | 212 const void *ns; /* namespace tag */ member 497 const void *ns) in kernfs_find_and_get_ns() 501 const void *ns) in kernfs_walk_and_get_ns() 529 void *priv, const void *ns) in kernfs_create_dir_ns() 536 void *priv, const void *ns, struct lock_class_key *key) in __kernfs_create_file() 552 const char *name, const void *ns) in kernfs_remove_by_name_ns()
|
| A D | fsnotify.h | 511 static inline void fsnotify_mnt_attach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_attach() 516 static inline void fsnotify_mnt_detach(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_detach() 521 static inline void fsnotify_mnt_move(struct mnt_namespace *ns, struct vfsmount *mnt) in fsnotify_mnt_move()
|
| A D | timecounter.h | 75 u64 ns = (u64) cycles; in cyclecounter_cyc2ns() local
|
| /include/linux/irqchip/ |
| A D | arm-gic-v3-prio.h | 37 #define __gicv3_ns_to_prio(ns) (0x80 | ((ns) >> 1)) argument
|
| /include/linux/regulator/ |
| A D | fixed.h | 57 #define regulator_register_fixed(id, s, ns) regulator_register_always_on(id, \ argument
|
| /include/linux/dsa/ |
| A 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/ |
| A D | cputime.h | 162 unsigned long long ns) in account_group_exec_runtime()
|
| /include/net/ |
| A D | ioam6.h | 33 struct ioam6_namespace __rcu *ns; member
|