• Home
  • Raw
  • Download

Lines Matching refs:seq

599 static int uid_m_show(struct seq_file *seq, void *v)  in uid_m_show()  argument
601 struct user_namespace *ns = seq->private; in uid_m_show()
606 lower_ns = seq_user_ns(seq); in uid_m_show()
612 seq_printf(seq, "%10u %10u %10u\n", in uid_m_show()
620 static int gid_m_show(struct seq_file *seq, void *v) in gid_m_show() argument
622 struct user_namespace *ns = seq->private; in gid_m_show()
627 lower_ns = seq_user_ns(seq); in gid_m_show()
633 seq_printf(seq, "%10u %10u %10u\n", in gid_m_show()
641 static int projid_m_show(struct seq_file *seq, void *v) in projid_m_show() argument
643 struct user_namespace *ns = seq->private; in projid_m_show()
648 lower_ns = seq_user_ns(seq); in projid_m_show()
654 seq_printf(seq, "%10u %10u %10u\n", in projid_m_show()
662 static void *m_start(struct seq_file *seq, loff_t *ppos, in m_start() argument
678 static void *uid_m_start(struct seq_file *seq, loff_t *ppos) in uid_m_start() argument
680 struct user_namespace *ns = seq->private; in uid_m_start()
682 return m_start(seq, ppos, &ns->uid_map); in uid_m_start()
685 static void *gid_m_start(struct seq_file *seq, loff_t *ppos) in gid_m_start() argument
687 struct user_namespace *ns = seq->private; in gid_m_start()
689 return m_start(seq, ppos, &ns->gid_map); in gid_m_start()
692 static void *projid_m_start(struct seq_file *seq, loff_t *ppos) in projid_m_start() argument
694 struct user_namespace *ns = seq->private; in projid_m_start()
696 return m_start(seq, ppos, &ns->projid_map); in projid_m_start()
699 static void *m_next(struct seq_file *seq, void *v, loff_t *pos) in m_next() argument
702 return seq->op->start(seq, pos); in m_next()
705 static void m_stop(struct seq_file *seq, void *v) in m_stop() argument
926 struct seq_file *seq = file->private_data; in map_write() local
927 struct user_namespace *map_ns = seq->private; in map_write()
1111 struct seq_file *seq = file->private_data; in proc_uid_map_write() local
1112 struct user_namespace *ns = seq->private; in proc_uid_map_write()
1113 struct user_namespace *seq_ns = seq_user_ns(seq); in proc_uid_map_write()
1128 struct seq_file *seq = file->private_data; in proc_gid_map_write() local
1129 struct user_namespace *ns = seq->private; in proc_gid_map_write()
1130 struct user_namespace *seq_ns = seq_user_ns(seq); in proc_gid_map_write()
1145 struct seq_file *seq = file->private_data; in proc_projid_map_write() local
1146 struct user_namespace *ns = seq->private; in proc_projid_map_write()
1147 struct user_namespace *seq_ns = seq_user_ns(seq); in proc_projid_map_write()
1202 int proc_setgroups_show(struct seq_file *seq, void *v) in proc_setgroups_show() argument
1204 struct user_namespace *ns = seq->private; in proc_setgroups_show()
1207 seq_printf(seq, "%s\n", in proc_setgroups_show()
1216 struct seq_file *seq = file->private_data; in proc_setgroups_write() local
1217 struct user_namespace *ns = seq->private; in proc_setgroups_write()