Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
xpc_partition.c File Reference
#include <linux/device.h>
#include <linux/hardirq.h>
#include <linux/slab.h>
#include "xpc.h"
#include <asm/uv/uv_hub.h>

Go to the source code of this file.

Functions

voidxpc_kmalloc_cacheline_aligned (size_t size, gfp_t flags, void **base)
 
int xpc_setup_rsvd_page (void)
 
void xpc_teardown_rsvd_page (void)
 
enum xp_retval xpc_get_remote_rp (int nasid, unsigned long *discovered_nasids, struct xpc_rsvd_page *remote_rp, unsigned long *remote_rp_pa)
 
int xpc_partition_disengaged (struct xpc_partition *part)
 
enum xp_retval xpc_mark_partition_active (struct xpc_partition *part)
 
void xpc_deactivate_partition (const int line, struct xpc_partition *part, enum xp_retval reason)
 
void xpc_mark_partition_inactive (struct xpc_partition *part)
 
void xpc_discovery (void)
 
enum xp_retval xpc_initiate_partid_to_nasids (short partid, void *nasid_mask)
 

Variables

int xpc_exiting
 
struct xpc_rsvd_pagexpc_rsvd_page
 
unsigned longxpc_mach_nasids
 
int xpc_nasid_mask_nlongs
 
struct xpc_partitionxpc_partitions
 

Function Documentation

void xpc_deactivate_partition ( const int  line,
struct xpc_partition part,
enum xp_retval  reason 
)

Definition at line 338 of file xpc_partition.c.

void xpc_discovery ( void  )

Definition at line 409 of file xpc_partition.c.

enum xp_retval xpc_get_remote_rp ( int  nasid,
unsigned long discovered_nasids,
struct xpc_rsvd_page remote_rp,
unsigned long remote_rp_pa 
)

Definition at line 216 of file xpc_partition.c.

enum xp_retval xpc_initiate_partid_to_nasids ( short  partid,
void nasid_mask 
)

Definition at line 526 of file xpc_partition.c.

void* xpc_kmalloc_cacheline_aligned ( size_t  size,
gfp_t  flags,
void **  base 
)

Definition at line 41 of file xpc_partition.c.

enum xp_retval xpc_mark_partition_active ( struct xpc_partition part)

Definition at line 314 of file xpc_partition.c.

void xpc_mark_partition_inactive ( struct xpc_partition part)

Definition at line 386 of file xpc_partition.c.

int xpc_partition_disengaged ( struct xpc_partition part)

Definition at line 270 of file xpc_partition.c.

int xpc_setup_rsvd_page ( void  )

Definition at line 136 of file xpc_partition.c.

void xpc_teardown_rsvd_page ( void  )

Definition at line 202 of file xpc_partition.c.

Variable Documentation

int xpc_exiting

Definition at line 25 of file xpc_partition.c.

unsigned long* xpc_mach_nasids

Definition at line 30 of file xpc_partition.c.

int xpc_nasid_mask_nlongs

Definition at line 33 of file xpc_partition.c.

struct xpc_partition* xpc_partitions

Definition at line 35 of file xpc_partition.c.

Definition at line 28 of file xpc_partition.c.