Home
last modified time | relevance | path

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

1234

/linux-4.19.296/fs/
Dnsfs.c35 struct ns_common *ns = inode->i_private; in ns_prune_dentry() local
49 struct ns_common *ns = inode->i_private; in nsfs_evict() local
54 static void *__ns_get_path(struct path *path, struct ns_common *ns) in __ns_get_path()
108 struct ns_common *ns; in ns_get_path_cb() local
145 int open_related_ns(struct ns_common *ns, in open_related_ns()
146 struct ns_common *(*get_ns)(struct ns_common *ns)) in open_related_ns()
192 struct ns_common *ns = get_proc_ns(file_inode(filp)); in ns_ioctl() local
220 struct ns_common *ns; in ns_get_name() local
Dnamespace.c673 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint() local
776 static void touch_mnt_namespace(struct mnt_namespace *ns) in touch_mnt_namespace()
787 static void __touch_mnt_namespace(struct mnt_namespace *ns) in __touch_mnt_namespace()
1436 struct mnt_namespace *ns; in umount_tree() local
1702 struct mnt_namespace *to_mnt_ns(struct ns_common *ns) in to_mnt_ns()
1905 int count_mounts(struct mnt_namespace *ns, struct mount *mnt) in count_mounts()
1996 struct mnt_namespace *ns = dest_mnt->mnt_ns; in attach_recursive_mnt() local
2832 static struct ucounts *inc_mnt_namespaces(struct user_namespace *ns) in inc_mnt_namespaces()
2842 static void free_mnt_ns(struct mnt_namespace *ns) in free_mnt_ns()
2895 struct mnt_namespace *copy_mnt_ns(unsigned long flags, struct mnt_namespace *ns, in copy_mnt_ns()
[all …]
/linux-4.19.296/include/linux/
Dipc_namespace.h70 struct ns_common ns; member
79 static inline void shm_destroy_orphaned(struct ipc_namespace *ns) {} in shm_destroy_orphaned()
118 static inline int mq_init_ns(struct ipc_namespace *ns) { return 0; } in mq_init_ns()
125 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
132 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero()
145 struct user_namespace *user_ns, struct ipc_namespace *ns) in copy_ipcs()
153 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) in get_ipc_ns()
158 static inline struct ipc_namespace *get_ipc_ns_not_zero(struct ipc_namespace *ns) in get_ipc_ns_not_zero()
163 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()
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.h64 struct ns_common ns; member
83 struct user_namespace *ns; member
98 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
109 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
131 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) in get_user_ns()
149 static inline void put_user_ns(struct user_namespace *ns) in put_user_ns()
153 static inline bool userns_may_setgroups(const struct user_namespace *ns) in userns_may_setgroups()
169 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()
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()
Dpid.h54 struct pid_namespace *ns; member
130 struct pid_namespace *ns = NULL; in ns_of_pid() local
/linux-4.19.296/drivers/clk/qcom/
Dclk-rcg.c26 static u32 ns_to_src(struct src_sel *s, u32 ns) in ns_to_src()
33 static u32 src_to_ns(struct src_sel *s, u8 src, u32 ns) in src_to_ns()
49 u32 ns; in clk_rcg_get_parent() local
76 u32 ns, reg; in clk_dyn_rcg_get_parent() local
105 u32 ns; in clk_rcg_set_parent() local
121 static u32 ns_to_pre_div(struct pre_div *p, u32 ns) in ns_to_pre_div()
128 static u32 pre_div_to_ns(struct pre_div *p, u8 pre_div, u32 ns) in pre_div_to_ns()
157 static u32 ns_m_to_n(struct mn *mn, u32 ns, u32 m) in ns_m_to_n()
171 static u32 mn_to_ns(struct mn *mn, u32 m, u32 n, u32 ns) in mn_to_ns()
208 u32 ns, md, reg; in configure_bank() local
[all …]
/linux-4.19.296/fs/proc/
Droot.c92 struct pid_namespace *ns; in proc_mount() local
106 struct pid_namespace *ns; in proc_kill_sb() local
210 int pid_ns_prepare_proc(struct pid_namespace *ns) in pid_ns_prepare_proc()
222 void pid_ns_release_proc(struct pid_namespace *ns) in pid_ns_release_proc()
Dself.c15 struct pid_namespace *ns = proc_pid_ns(inode); in proc_self_get_link() local
46 struct pid_namespace *ns = proc_pid_ns(root_inode); in proc_setup_self() local
Dthread_self.c15 struct pid_namespace *ns = proc_pid_ns(inode); in proc_thread_self_get_link() local
39 struct pid_namespace *ns = proc_pid_ns(root_inode); in proc_setup_thread_self() local
Darray.c152 static inline void task_state(struct seq_file *m, struct pid_namespace *ns, in task_state()
395 int proc_pid_status(struct seq_file *m, struct pid_namespace *ns, in proc_pid_status()
420 static int do_task_stat(struct seq_file *m, struct pid_namespace *ns, in do_task_stat()
613 int proc_tid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tid_stat()
619 int proc_tgid_stat(struct seq_file *m, struct pid_namespace *ns, in proc_tgid_stat()
625 int proc_pid_statm(struct seq_file *m, struct pid_namespace *ns, in proc_pid_statm()
Dbase.c379 static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns, in proc_pid_wchan()
421 static int proc_pid_stack(struct seq_file *m, struct pid_namespace *ns, in proc_pid_stack()
473 static int proc_pid_schedstat(struct seq_file *m, struct pid_namespace *ns, in proc_pid_schedstat()
548 static int proc_oom_score(struct seq_file *m, struct pid_namespace *ns, in proc_oom_score()
586 static int proc_pid_limits(struct seq_file *m, struct pid_namespace *ns, in proc_pid_limits()
628 static int proc_pid_syscall(struct seq_file *m, struct pid_namespace *ns, in proc_pid_syscall()
746 struct pid_namespace *ns = proc_pid_ns(inode); in proc_single_show() local
1414 struct pid_namespace *ns = proc_pid_ns(inode); in sched_show() local
2275 struct pid_namespace *ns; member
2790 static int proc_tid_io_accounting(struct seq_file *m, struct pid_namespace *ns, in proc_tid_io_accounting()
[all …]
/linux-4.19.296/drivers/ptp/
Dptp_qoriq.c44 u64 ns; in tmr_cnt_read() local
55 static void tmr_cnt_write(struct qoriq_ptp *qoriq_ptp, u64 ns) in tmr_cnt_write()
69 u64 ns; in set_alarm() local
100 u64 ns; in isr() local
223 u64 ns; in ptp_qoriq_gettime() local
241 u64 ns; in ptp_qoriq_settime() local
Dptp_ixp46x.c56 u64 ns; in ixp_systime_read() local
69 static void ixp_systime_write(struct ixp46x_ts_regs *regs, u64 ns) in ixp_systime_write()
180 u64 ns; in ptp_ixp_gettime() local
198 u64 ns; in ptp_ixp_settime() local
Dptp_dte.c62 static void dte_write_nco(void __iomem *regs, s64 ns) in dte_write_nco()
83 s64 ns; in dte_read_nco() local
99 s64 ns; in dte_write_nco_delta() local
128 s64 ns = 0; in dte_read_nco_with_ovf() local
/linux-4.19.296/fs/kernfs/
Ddir.c306 static unsigned int kernfs_name_hash(const char *name, const void *ns) in kernfs_name_hash()
323 const void *ns, const struct kernfs_node *kn) in kernfs_name_compare()
838 const void *ns) in kernfs_find_ns()
871 const void *ns) in kernfs_walk_ns()
911 const char *name, const void *ns) in kernfs_find_and_get_ns()
935 const char *path, const void *ns) in kernfs_walk_and_get_ns()
1020 void *priv, const void *ns) in kernfs_create_dir_ns()
1085 const void *ns = NULL; in kernfs_iop_lookup() local
1503 const void *ns) in kernfs_remove_by_name_ns()
1618 static struct kernfs_node *kernfs_dir_pos(const void *ns, in kernfs_dir_pos()
[all …]
/linux-4.19.296/fs/sysfs/
Dmount.c27 void *ns; in sysfs_mount() local
48 void *ns = (void *)kernfs_super_ns(sb); in sysfs_kill_sb() local
/linux-4.19.296/drivers/of/
Dfdt_address.c22 #define OF_CHECK_COUNTS(na, ns) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS && \ argument
71 int na, int ns, int pna) in fdt_bus_default_map()
112 int na, int ns, int pna, const char *rprop) in fdt_translate_one()
169 int na, ns, pna, pns; in fdt_translate_address() local
Daddress.c20 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && (ns) > 0) argument
67 int na, int ns, int pna) in of_bus_default_map()
145 static u64 of_bus_pci_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_pci_map()
184 int onesize, i, na, ns; in of_get_pci_address() local
238 const int na = 3, ns = 2; in parser_init() local
271 const int na = 3, ns = 2; in of_pci_range_parser_one() local
386 static u64 of_bus_isa_map(__be32 *addr, const __be32 *range, int na, int ns, in of_bus_isa_map()
498 int na, int ns, int pna, const char *rprop) in of_translate_one()
578 int na, ns, pna, pns; in __of_translate_address() local
701 int onesize, i, na, ns; in of_get_address() local

1234