sys/src/sysenqdeq.c File Reference

#include <linux/linkage.h>
#include <asm/current.h>
#include <system_data_cells.h>
#include <ipl.h>
#include <lckdef.h>
#include <lckctxdef.h>
#include <lksbdef.h>
#include <misc.h>
#include <ssdef.h>
#include <starlet.h>
#include <acbdef.h>
#include <ipldef.h>
#include <rsbdef.h>
#include <lkbdef.h>
#include <pridef.h>
#include <descrip.h>
#include <cdrpdef.h>
#include <queue.h>
#include <exe_routines.h>
#include <misc_routines.h>
#include <scs_routines.h>
#include <sch_routines.h>
#include <linux/slab.h>
#include <internals.h>

Go to the source code of this file.

Functions

void dlmmyerr ()
void dlmlisten ()
int dlminit (void)
 dlm_msg ()
 dlm_dg ()
 dlm_err ()
void lck_snd_granted (struct _lkb *lck)
int reshash (struct dsc_descriptor *d)
struct _rsbfind_reshashtbl (struct dsc_descriptor *d)
void insert_reshashtbl (struct _rsb *res)
int insert_lck (struct _lkb *lck)
asmlinkage int exe_enq (unsigned int efn, unsigned int lkmode, struct _lksb *lksb, unsigned int flags, void *resnam, unsigned int parid, void(*astadr)(), unsigned long astprm, void(*blkastadr)(), unsigned int acmode, unsigned int rsdm_id)
int lck_deqlock (struct _lkb *lck, int flags, unsigned int lkid)
asmlinkage int exe_deq (unsigned int lkid, void *valblk, unsigned int acmode, unsigned int flags)
void lock_iosb_kast (int par)
int lck_grant_lock (struct _lkb *lck, struct _rsb *res, signed int curmode, signed int nextmode, int flags, int efn, signed int ggmode)
int maybe_blkast (struct _rsb *res, struct _lkb *lck)
int find_highest (struct _lkb *lck, struct _rsb *res)
int grant_queued (struct _rsb *res, int ggmode_not, int docvt, int dowt)
asmlinkage int exe_enqw (unsigned int efn, unsigned int lkmode, struct _lksb *lksb, unsigned int flags, void *resnam, unsigned int parid, void(*astadr)(), unsigned long astprm, void(*blkastadr)(), unsigned int acmode, unsigned int rsdm_id)
asmlinkage int exe_enqw_wrap (struct struct_args *s)
asmlinkage int exe_enq_wrap (struct struct_args *s)

Variables

unsigned char lck_ar_compat_tbl [6] = {0x3f,0x1f,0x7,0xb,3,1}
unsigned char lck_synccvt_tbl [6] = {1,3,7,0xb,0x1f,0x3f}
unsigned char lck_quecvt_tbl [6] = {0x3e,0x3c,0x38,0x34,0x20,0}
unsigned char lck_ggmax_tbl [6] = {0,0,8,4,0,0}
unsigned char lck_ggred_tbl [6] = {0,0,0,0,0xc,0}
unsigned char lck_valblk_tbl [6] = {0,0,0,0,0x1f,0x3f}
unsigned char lck_al_dwncvt_tbl [6] = {0,1,3,3,0xf,0x1f}
struct _rsbreshashtbl []
unsigned long lockidtbl []


Function Documentation

dlm_dg (  ) 

Definition at line 78 of file sysenqdeq.c.

dlm_err (  ) 

Definition at line 80 of file sysenqdeq.c.

dlm_msg (  ) 

Definition at line 76 of file sysenqdeq.c.

int dlminit ( void   ) 

Definition at line 63 of file sysenqdeq.c.

References dlmlisten(), dlmmyerr(), and scs_std_listen().

void dlmlisten (  ) 

Definition at line 61 of file sysenqdeq.c.

Referenced by dlminit().

void dlmmyerr (  ) 

Definition at line 59 of file sysenqdeq.c.

Referenced by dlminit().

asmlinkage int exe_deq ( unsigned int  lkid,
void *  valblk,
unsigned int  acmode,
unsigned int  flags 
)

asmlinkage int exe_enq ( unsigned int  efn,
unsigned int  lkmode,
struct _lksb lksb,
unsigned int  flags,
void *  resnam,
unsigned int  parid,
void(*)()  astadr,
unsigned long  astprm,
void(*)()  blkastadr,
unsigned int  acmode,
unsigned int  rsdm_id 
)

asmlinkage int exe_enq_wrap ( struct struct_args s  ) 

asmlinkage int exe_enqw ( unsigned int  efn,
unsigned int  lkmode,
struct _lksb lksb,
unsigned int  flags,
void *  resnam,
unsigned int  parid,
void(*)()  astadr,
unsigned long  astprm,
void(*)()  blkastadr,
unsigned int  acmode,
unsigned int  rsdm_id 
)

Definition at line 659 of file sysenqdeq.c.

References exe_enq(), and exe_synch().

Referenced by exe_enqw_wrap().

asmlinkage int exe_enqw_wrap ( struct struct_args s  ) 

int find_highest ( struct _lkb lck,
struct _rsb res 
)

struct _rsb* find_reshashtbl ( struct dsc_descriptor *  d  )  [read]

Definition at line 108 of file sysenqdeq.c.

References reshash(), _rsb::rsb_l_hshchn, and _rsb::rsb_t_resnam.

Referenced by exe_enq().

int grant_queued ( struct _rsb res,
int  ggmode_not,
int  docvt,
int  dowt 
)

int insert_lck ( struct _lkb lck  ) 

Definition at line 127 of file sysenqdeq.c.

References lockidtbl, and LOCKIDTBL.

Referenced by exe_enq().

void insert_reshashtbl ( struct _rsb res  ) 

Definition at line 120 of file sysenqdeq.c.

References reshash().

Referenced by exe_enq().

int lck_deqlock ( struct _lkb lck,
int  flags,
unsigned int  lkid 
)

int lck_grant_lock ( struct _lkb lck,
struct _rsb res,
signed int  curmode,
signed int  nextmode,
int  flags,
int  efn,
signed int  ggmode 
)

void lck_snd_granted ( struct _lkb lck  ) 

Definition at line 82 of file sysenqdeq.c.

References _cdrp::cdrp_l_val1, _cdrp::cdrp_l_val2, kmalloc(), lockidtbl, and scs_std_senddg().

Referenced by exe_enq().

void lock_iosb_kast ( int  par  ) 

int maybe_blkast ( struct _rsb res,
struct _lkb lck 
)

int reshash ( struct dsc_descriptor *  d  ) 

Definition at line 104 of file sysenqdeq.c.

Referenced by find_reshashtbl(), and insert_reshashtbl().


Variable Documentation

unsigned char lck_al_dwncvt_tbl[6] = {0,1,3,3,0xf,0x1f}

Definition at line 57 of file sysenqdeq.c.

unsigned char lck_ar_compat_tbl[6] = {0x3f,0x1f,0x7,0xb,3,1}

Definition at line 35 of file sysenqdeq.c.

Referenced by exe_enq(), and lck_grant_lock().

unsigned char lck_ggmax_tbl[6] = {0,0,8,4,0,0}

Definition at line 51 of file sysenqdeq.c.

unsigned char lck_ggred_tbl[6] = {0,0,0,0,0xc,0}

Definition at line 53 of file sysenqdeq.c.

unsigned char lck_quecvt_tbl[6] = {0x3e,0x3c,0x38,0x34,0x20,0}

Definition at line 49 of file sysenqdeq.c.

unsigned char lck_synccvt_tbl[6] = {1,3,7,0xb,0x1f,0x3f}

Definition at line 47 of file sysenqdeq.c.

unsigned char lck_valblk_tbl[6] = {0,0,0,0,0x1f,0x3f}

Definition at line 55 of file sysenqdeq.c.

unsigned long lockidtbl[]

struct _rsb* reshashtbl[]

Definition at line 1964 of file system_data_cells.c.


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