|
|
|
|
/home/brennan/n-sim/OrbisQuartus/server/xen/backend/oq_kmod.h File Reference#include <linux/cdev.h>
#include <linux/list.h>
#include <orbisquartus.h>
Go to the source code of this file.
|
Classes |
struct | oq_log_item |
struct | oq_dev |
struct | arriving_pkt |
Defines |
#define | OQ_LOG_ITEM_SIZE 4000 |
#define | OQ_LOG_SIZE 1000 |
Functions |
loff_t | oq_llseek (struct file *filp, loff_t pos, int where) |
ssize_t | oq_read (struct file *filp, char __user *buf, size_t count, loff_t *f_pos) |
ssize_t | oq_write (struct file *filp, const char __user *buf, size_t count, loff_t *f_pos) |
int | oq_ioctl (struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) |
int | oq_open (struct inode *inode, struct file *filp) |
int | oq_release (struct inode *inode, struct file *filp) |
int | OQ_LOG (const char *fmt,...) |
int | init_simulator_iface (int test) |
void | shutdown_simulator_iface (void) |
Define Documentation
#define OQ_LOG_ITEM_SIZE 4000 |
|
Function Documentation
int init_simulator_iface |
( |
int |
test |
) |
|
|
|
Definition at line 681 of file sim_if.c.
References add_entry(), ADD_HOST, khosts, khost::list, metadata, oq_dir, oq_hosts, oq_sensors, req_resp_lists, RM_HOST, SIM_ID, simulation_on, and TIME. |
int oq_ioctl |
( |
struct inode * |
inode, |
|
|
struct file * |
filp, |
|
|
unsigned int |
cmd, |
|
|
unsigned long |
arg |
|
) |
|
|
loff_t oq_llseek |
( |
struct file * |
filp, |
|
|
loff_t |
pos, |
|
|
int |
where |
|
) |
|
|
int OQ_LOG |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
|
|
int oq_open |
( |
struct inode * |
inode, |
|
|
struct file * |
filp |
|
) |
|
|
ssize_t oq_read |
( |
struct file * |
filp, |
|
|
char __user * |
buf, |
|
|
size_t |
count, |
|
|
loff_t * |
f_pos |
|
) |
|
|
int oq_release |
( |
struct inode * |
inode, |
|
|
struct file * |
filp |
|
) |
|
|
ssize_t oq_write |
( |
struct file * |
filp, |
|
|
const char __user * |
buf, |
|
|
size_t |
count, |
|
|
loff_t * |
f_pos |
|
) |
|
|
void shutdown_simulator_iface |
( |
void |
|
) |
|
|
|
Definition at line 811 of file sim_if.c.
References avl_find_min(), avlnode::element, khosts, ksensors, khost::list, khost::name, oq_dir, oq_hosts, remove_node(), remove_sensor_entry(), and simulation_on. |
|