Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <linux/vmalloc.h>
#include <linux/seq_file.h>
#include <linux/miscdevice.h>
#include <linux/utsname.h>
#include <linux/cpumask.h>
#include <linux/nodemask.h>
#include <linux/smp.h>
#include <linux/mutex.h>
#include <asm/processor.h>
#include <asm/topology.h>
#include <asm/uaccess.h>
#include <asm/sal.h>
#include <asm/sn/io.h>
#include <asm/sn/sn_sal.h>
#include <asm/sn/module.h>
#include <asm/sn/geo.h>
#include <asm/sn/sn2/sn_hwperf.h>
#include <asm/sn/addrs.h>
Go to the source code of this file.
Data Structures | |
struct | sn_hwperf_op_info |
Macros | |
#define | cnode_possible(n) ((n) < num_cnodes) |
Functions | |
int | sn_topology_open (struct inode *inode, struct file *file) |
int | sn_topology_release (struct inode *inode, struct file *file) |
int | sn_hwperf_get_nearest_node (cnodeid_t node, cnodeid_t *near_mem_node, cnodeid_t *near_cpu_node) |
device_initcall (sn_hwperf_misc_register_init) | |
EXPORT_SYMBOL (sn_hwperf_get_nearest_node) | |
#define cnode_possible | ( | n | ) | ((n) < num_cnodes) |
Definition at line 55 of file sn_hwperf.c.
device_initcall | ( | sn_hwperf_misc_register_init | ) |
EXPORT_SYMBOL | ( | sn_hwperf_get_nearest_node | ) |
int sn_hwperf_get_nearest_node | ( | cnodeid_t | node, |
cnodeid_t * | near_mem_node, | ||
cnodeid_t * | near_cpu_node | ||
) |
Definition at line 964 of file sn_hwperf.c.
Definition at line 940 of file sn_hwperf.c.