sys/src/mbdriver.c File Reference

#include <linux/init.h>
#include <linux/sched.h>
#include <linux/vmalloc.h>
#include <ccbdef.h>
#include <crbdef.h>
#include <dcdef.h>
#include <ddbdef.h>
#include <ddtdef.h>
#include <devdef.h>
#include <dptdef.h>
#include <dyndef.h>
#include <fdtdef.h>
#include <internals.h>
#include <iodef.h>
#include <ipldef.h>
#include <irpdef.h>
#include <rsndef.h>
#include <ssdef.h>
#include <system_data_cells.h>
#include <ucbdef.h>
#include <descrip.h>
#include <vms_drivers.h>
#include <iosbdef.h>
#include <com_routines.h>
#include <queue.h>
#include <exe_routines.h>
#include <ioc_routines.h>
#include <misc_routines.h>
#include <sch_routines.h>
#include <linux/slab.h>

Go to the source code of this file.

Classes

struct  __mmb
struct  __srb

Defines

#define irp_l_nopartnerqfl   irp$l_fqfl
#define irp_l_nopartnerqbl   irp$l_fqbl

Enumerations

enum  { read_equal, read_less, read_more }

Functions

void mb_finishread (struct _ucb *u)
int mb_fdt_setmode (struct _irp *i, struct _pcb *p, struct _ucb *u, struct _ccb *c)
int mb_fdt_sensemode (struct _irp *i, struct _pcb *p, struct _ucb *u, struct _ccb *c)
int mb_fdt_write (struct _irp *i, struct _pcb *p, struct _ucb *u, struct _ccb *c)
int mb_fdt_read (struct _irp *i, struct _pcb *p, struct _ucb *u, struct _ccb *c)
 create_fork_thread ()
void mb_cancel (struct _irp *i, struct _pcb *p, struct _ucb *u, struct _ccb *c)
void mb_aux_routine (struct _irp *i, struct _pcb *p, struct _ucb *u, struct _ccb *c)
void ini_fdt_act (struct _fdt *f, unsigned long long mask, void *fn, unsigned long type)
void mb_struc_init (struct _crb *crb, struct _ddb *ddb, struct _idb *idb, struct _orb *orb, struct _ucb *ucb)
void mb_struc_reinit (struct _crb *crb, struct _ddb *ddb, struct _idb *idb, struct _orb *orb, struct _ucb *ucb)
int mb_unit_init (struct _idb *idb, struct _ucb *ucb)
int mb_init_tables ()
long mb_iodb_vmsinit (void)
int mb_vmsinit (void)
int exe_std_wrtmailbox (struct _mb_ucb *mb_ucb, int msgsiz, void *msg,...)
int exe_std_sndevmsg (struct _mb_ucb *mb_ucb, int msgtyp, struct _ucb *ucb)
int mb_chanunwait (struct _ucb *u, struct _ccb *c)

Variables

struct _dpt mb_dpt = { }
struct _ucbmbucb0
struct _ddb mb_ddb
struct _mb_ucb mb_ucb
struct _crb mb_crb


Define Documentation

#define irp_l_nopartnerqbl   irp$l_fqbl

Definition at line 39 of file mbdriver.c.

#define irp_l_nopartnerqfl   irp$l_fqfl

Definition at line 38 of file mbdriver.c.


Enumeration Type Documentation

anonymous enum

Enumerator:
read_equal 
read_less 
read_more 

Definition at line 329 of file mbdriver.c.


Function Documentation

create_fork_thread (  ) 

Definition at line 325 of file mbdriver.c.

References sch_std_ravail().

Referenced by mb_finishread().

int exe_std_sndevmsg ( struct _mb_ucb mb_ucb,
int  msgtyp,
struct _ucb ucb 
)

int exe_std_wrtmailbox ( struct _mb_ucb mb_ucb,
int  msgsiz,
void *  msg,
  ... 
)

void ini_fdt_act ( struct _fdt f,
unsigned long long  mask,
void *  fn,
unsigned long  type 
)

Referenced by mb_init_tables().

void mb_aux_routine ( struct _irp i,
struct _pcb *  p,
struct _ucb u,
struct _ccb c 
)

Definition at line 548 of file mbdriver.c.

References _irp::irp_l_func.

void mb_cancel ( struct _irp i,
struct _pcb *  p,
struct _ucb u,
struct _ccb c 
)

Definition at line 543 of file mbdriver.c.

References _irp::irp_l_func.

int mb_chanunwait ( struct _ucb u,
struct _ccb c 
)

int mb_fdt_read ( struct _irp i,
struct _pcb *  p,
struct _ucb u,
struct _ccb c 
)

int mb_fdt_sensemode ( struct _irp i,
struct _pcb *  p,
struct _ucb u,
struct _ccb c 
)

int mb_fdt_setmode ( struct _irp i,
struct _pcb *  p,
struct _ucb u,
struct _ccb c 
)

int mb_fdt_write ( struct _irp i,
struct _pcb *  p,
struct _ucb u,
struct _ccb c 
)

void mb_finishread ( struct _ucb u  ) 

int mb_init_tables (  ) 

long mb_iodb_vmsinit ( void   ) 

void mb_struc_init ( struct _crb crb,
struct _ddb ddb,
struct _idb idb,
struct _orb orb,
struct _ucb ucb 
)

void mb_struc_reinit ( struct _crb crb,
struct _ddb ddb,
struct _idb idb,
struct _orb orb,
struct _ucb ucb 
)

Definition at line 618 of file mbdriver.c.

References _ddb::ddb_ps_ddt.

Referenced by mb_iodb_vmsinit().

int mb_unit_init ( struct _idb idb,
struct _ucb ucb 
)

Definition at line 626 of file mbdriver.c.

References SS__NORMAL, _ucb::ucb_v_online, and _ucb::ucb_w_size.

Referenced by mb_iodb_vmsinit().

int mb_vmsinit ( void   ) 

Definition at line 734 of file mbdriver.c.

References mb_iodb_vmsinit().


Variable Documentation

struct _crb mb_crb

Definition at line 649 of file mbdriver.c.

Referenced by mb_iodb_vmsinit().

struct _ddb mb_ddb

Definition at line 647 of file mbdriver.c.

Referenced by mb_iodb_vmsinit().

struct _dpt mb_dpt = { } [read]

Definition at line 43 of file mbdriver.c.

struct _mb_ucb mb_ucb

Definition at line 648 of file mbdriver.c.

Referenced by mb_iodb_vmsinit().

struct _ucb* mbucb0

Definition at line 624 of file mbdriver.c.

Referenced by clone_init_ucb().


Generated on Fri Oct 9 10:26:01 2009 for FreeVMS by  doxygen 1.5.5