#include <linux/module.h>
#include <linux/slab.h>
#include <linux/sysctl.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/reboot.h>
#include <linux/kdebug.h>
#include <linux/kthread.h>
#include "xpc.h"
Go to the source code of this file.
|
| DEFINE_SPINLOCK (xpc_activate_IRQ_rcvd_lock) |
|
| DECLARE_WAIT_QUEUE_HEAD (xpc_activate_IRQ_wq) |
|
void * | xpc_kzalloc_cacheline_aligned (size_t size, gfp_t flags, void **base) |
|
void | xpc_activate_partition (struct xpc_partition *part) |
|
void | xpc_activate_kthreads (struct xpc_channel *ch, int needed) |
|
void | xpc_create_kthreads (struct xpc_channel *ch, int needed, int ignore_disconnecting) |
|
void | xpc_disconnect_wait (int ch_number) |
|
int __init | xpc_init (void) |
|
| module_init (xpc_init) |
|
void __exit | xpc_exit (void) |
|
| module_exit (xpc_exit) |
|
| MODULE_AUTHOR ("Silicon Graphics, Inc.") |
|
| MODULE_DESCRIPTION ("Cross Partition Communication (XPC) support") |
|
| MODULE_LICENSE ("GPL") |
|
| module_param (xpc_hb_interval, int, 0) |
|
| MODULE_PARM_DESC (xpc_hb_interval,"Number of seconds between ""heartbeat increments.") |
|
| module_param (xpc_hb_check_interval, int, 0) |
|
| MODULE_PARM_DESC (xpc_hb_check_interval,"Number of seconds between ""heartbeat checks.") |
|
| module_param (xpc_disengage_timelimit, int, 0) |
|
| MODULE_PARM_DESC (xpc_disengage_timelimit,"Number of seconds to wait ""for disengage to complete.") |
|
| module_param (xpc_kdebug_ignore, int, 0) |
|
| MODULE_PARM_DESC (xpc_kdebug_ignore,"Should lack of heartbeat be ignored by ""other partitions when dropping into kdebug.") |
|
MODULE_AUTHOR |
( |
"Silicon |
Graphics, |
|
|
Inc." |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"Cross Partition Communication (XPC) support" |
| ) |
|
module_param |
( |
xpc_hb_interval |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
xpc_hb_check_interval |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
xpc_kdebug_ignore |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
xpc_hb_interval |
, |
|
|
"Number of seconds between ""heartbeat increments." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
xpc_hb_check_interval |
, |
|
|
"Number of seconds between ""heartbeat checks." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
xpc_kdebug_ignore |
, |
|
|
"Should lack of heartbeat be ignored by ""other partitions when dropping into kdebug." |
|
|
) |
| |
void xpc_disconnect_wait |
( |
int |
ch_number | ) |
|
int xpc_activate_IRQ_rcvd |
int xpc_disengage_timedout |