| /include/linux/ |
| 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() 47 static inline void get_uts_ns(struct uts_namespace *ns) in get_uts_ns() 51 static inline void put_uts_ns(struct uts_namespace *ns) in put_uts_ns()
|
| D | user_namespace.h | 47 struct ns_common ns; member 66 struct user_namespace *ns; member 81 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 92 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns() 113 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns() 131 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns() 135 static inline bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups() 145 static inline struct ns_common *ns_get_owner(struct ns_common *ns) in ns_get_owner()
|
| D | pid_namespace.h | 48 struct ns_common ns; member 56 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 72 static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns) in get_pid_ns() 78 struct user_namespace *user_ns, struct pid_namespace *ns) in copy_pid_ns() 85 static inline void put_pid_ns(struct pid_namespace *ns) in put_pid_ns() 89 static inline void zap_pid_ns_processes(struct pid_namespace *ns) in zap_pid_ns_processes()
|
| D | ipc_namespace.h | 63 struct ns_common ns; member 72 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned() 111 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns() 118 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() 128 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs() 136 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns() 141 static inline void put_ipc_ns(struct ipc_namespace *ns) in put_ipc_ns()
|
| D | proc_ns.h | 54 static inline int pid_ns_prepare_proc(struct pid_namespace *ns) { return 0; } in pid_ns_prepare_proc() 55 static inline void pid_ns_release_proc(struct pid_namespace *ns) {} in pid_ns_release_proc() 66 static inline int ns_alloc_inum(struct ns_common *ns) in ns_alloc_inum() 72 #define ns_free_inum(ns) proc_free_inum((ns)->inum) argument
|
| D | nsproxy.h | 75 static inline void put_nsproxy(struct nsproxy *ns) in put_nsproxy() 82 static inline void get_nsproxy(struct nsproxy *ns) in get_nsproxy()
|
| D | uidgid.h | 130 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() 135 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping() 178 static inline bool kuid_has_mapping(struct user_namespace *ns, kuid_t uid) in kuid_has_mapping() 183 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping()
|
| D | capability.h | 217 struct user_namespace *ns, int cap) in has_ns_capability() 226 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 234 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 238 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit()
|
| D | projid.h | 57 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) in kprojid_has_mapping() 82 static inline bool kprojid_has_mapping(struct user_namespace *ns, kprojid_t projid) in kprojid_has_mapping()
|
| D | kernfs.h | 123 const void *ns; /* namespace tag */ member 355 const void *ns) in kernfs_find_and_get_ns() 359 const void *ns) in kernfs_walk_and_get_ns() 384 umode_t mode, void *priv, const void *ns) in kernfs_create_dir_ns() 390 void *priv, const void *ns, struct lock_class_key *key) in __kernfs_create_file() 406 const char *name, const void *ns) in kernfs_remove_by_name_ns() 426 bool *new_sb_created, const void *ns) in kernfs_mount_ns() 473 void *priv, const void *ns) in kernfs_create_file_ns()
|
| D | pid.h | 55 struct pid_namespace *ns; member 138 struct pid_namespace *ns = NULL; in ns_of_pid() local
|
| D | cgroup.h | 685 struct ns_common ns; member 706 static inline void free_cgroup_ns(struct cgroup_namespace *ns) { } in free_cgroup_ns() 716 static inline void get_cgroup_ns(struct cgroup_namespace *ns) in get_cgroup_ns() 722 static inline void put_cgroup_ns(struct cgroup_namespace *ns) in put_cgroup_ns()
|
| D | acct.h | 33 #define acct_exit_ns(ns) do { } while (0) argument
|
| D | ktime.h | 185 s64 ns = kt.tv64; in ktime_divns() local 295 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime()
|
| D | timecounter.h | 82 u64 ns = (u64) cycles; in cyclecounter_cyc2ns() local
|
| D | sysfs.h | 302 static inline int sysfs_create_dir_ns(struct kobject *kobj, const void *ns) in sysfs_create_dir_ns() 337 const void *ns) in sysfs_create_file_ns() 356 const void *ns) in sysfs_remove_file_ns() 401 const char *new_name, const void *ns) in sysfs_rename_link_ns()
|
| D | time.h | 272 static __always_inline void timespec_add_ns(struct timespec *a, u64 ns) in timespec_add_ns()
|
| D | time64.h | 210 static __always_inline void timespec64_add_ns(struct timespec64 *a, u64 ns) in timespec64_add_ns()
|
| D | ptrace.h | 178 struct pid_namespace *ns; in ptrace_event_pid() local
|
| D | hrtimer.h | 241 static inline void hrtimer_add_expires_ns(struct hrtimer *timer, u64 ns) in hrtimer_add_expires_ns()
|
| /include/trace/events/ |
| D | gpu.h | 10 #define show_secs_from_ns(ns) \ argument 17 #define show_usecs_from_ns(ns) \ argument
|
| /include/linux/regulator/ |
| D | fixed.h | 73 #define regulator_register_fixed(id, s, ns) regulator_register_always_on(id, \ argument
|
| /include/net/ |
| D | codel.h | 69 u64 ns = ktime_get_ns(); in codel_get_time() local
|
| D | lapb.h | 72 unsigned short nr, ns; /* N(R), N(S) */ member
|
| /include/linux/ssb/ |
| D | ssb_driver_extif.h | 211 void ssb_extif_timing_init(struct ssb_extif *extif, unsigned long ns) in ssb_extif_timing_init()
|