Release 4.18 arch/ia64/sn/kernel/sn2/sn_proc_fs.c
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2000-2005 Silicon Graphics, Inc. All rights reserved.
*/
#ifdef CONFIG_PROC_FS
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/uaccess.h>
#include <asm/sn/sn_sal.h>
static int partition_id_show(struct seq_file *s, void *p)
{
seq_printf(s, "%d\n", sn_partition_id);
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jesse Barnes | 16 | 59.26% | 1 | 33.33% |
Mark Goodwin | 10 | 37.04% | 1 | 33.33% |
Russ Anderson | 1 | 3.70% | 1 | 33.33% |
Total | 27 | 100.00% | 3 | 100.00% |
static int system_serial_number_show(struct seq_file *s, void *p)
{
seq_printf(s, "%s\n", sn_system_serial_number());
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jesse Barnes | 18 | 64.29% | 1 | 50.00% |
Mark Goodwin | 10 | 35.71% | 1 | 50.00% |
Total | 28 | 100.00% | 2 | 100.00% |
static int licenseID_show(struct seq_file *s, void *p)
{
seq_printf(s, "0x%llx\n", sn_partition_serial_number_val());
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jesse Barnes | 15 | 53.57% | 1 | 33.33% |
Mark Goodwin | 12 | 42.86% | 1 | 33.33% |
Matthew Wilcox | 1 | 3.57% | 1 | 33.33% |
Total | 28 | 100.00% | 3 | 100.00% |
static int coherence_id_show(struct seq_file *s, void *p)
{
seq_printf(s, "%d\n", partition_coherence_id());
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Dean Roe | 17 | 60.71% | 1 | 33.33% |
Mark Goodwin | 10 | 35.71% | 1 | 33.33% |
Jack Steiner | 1 | 3.57% | 1 | 33.33% |
Total | 28 | 100.00% | 3 | 100.00% |
/* /proc/sgi_sn/sn_topology uses seq_file, see sn_hwperf.c */
extern int sn_topology_open(struct inode *, struct file *);
extern int sn_topology_release(struct inode *, struct file *);
static const struct file_operations proc_sn_topo_fops = {
.open = sn_topology_open,
.read = seq_read,
.llseek = seq_lseek,
.release = sn_topology_release,
};
void register_sn_procfs(void)
{
static struct proc_dir_entry *sgi_proc_dir = NULL;
BUG_ON(sgi_proc_dir != NULL);
if (!(sgi_proc_dir = proc_mkdir("sgi_sn", NULL)))
return;
proc_create_single("partition_id", 0444, sgi_proc_dir,
partition_id_show);
proc_create_single("system_serial_number", 0444, sgi_proc_dir,
system_serial_number_show);
proc_create_single("licenseID", 0444, sgi_proc_dir, licenseID_show);
proc_create_single("coherence_id", 0444, sgi_proc_dir,
coherence_id_show);
proc_create("sn_topology", 0444, sgi_proc_dir, &proc_sn_topo_fops);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Mark Goodwin | 44 | 47.31% | 2 | 25.00% |
Alexey Dobriyan | 17 | 18.28% | 1 | 12.50% |
Denis V. Lunev | 11 | 11.83% | 1 | 12.50% |
Christoph Hellwig | 8 | 8.60% | 1 | 12.50% |
Jesse Barnes | 8 | 8.60% | 2 | 25.00% |
Andrew Morton | 5 | 5.38% | 1 | 12.50% |
Total | 93 | 100.00% | 8 | 100.00% |
#endif /* CONFIG_PROC_FS */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Mark Goodwin | 110 | 39.57% | 2 | 14.29% |
Jesse Barnes | 69 | 24.82% | 2 | 14.29% |
Alexey Dobriyan | 51 | 18.35% | 1 | 7.14% |
Dean Roe | 17 | 6.12% | 1 | 7.14% |
Denis V. Lunev | 11 | 3.96% | 1 | 7.14% |
Christoph Hellwig | 8 | 2.88% | 1 | 7.14% |
Andrew Morton | 5 | 1.80% | 1 | 7.14% |
Russ Anderson | 2 | 0.72% | 1 | 7.14% |
Jes Sorensen | 2 | 0.72% | 1 | 7.14% |
Linus Torvalds | 1 | 0.36% | 1 | 7.14% |
Jack Steiner | 1 | 0.36% | 1 | 7.14% |
Matthew Wilcox | 1 | 0.36% | 1 | 7.14% |
Total | 278 | 100.00% | 14 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.