GnuCOBOL
2.0
A free COBOL compiler
|
#include "isinternal.h"
Go to the source code of this file.
Macros | |
#define | IVBBUFFERLEVEL 4 |
Functions | |
static int | ilockinsert (const int ihandle, const off_t trownumber) |
static int | ilockdelete (const int ihandle, const off_t trownumber) |
int | ivbenter (const int ihandle, const unsigned int imodifying, const unsigned int ispecial) |
int | ivbexit (const int ihandle) |
int | ivbfileopenlock (const int ihandle, const int imode) |
int | ivbdatalock (const int ihandle, const int imode, const off_t trownumber) |
Variables | |
int | ivbmaxusedhandle = -1 |
#define IVBBUFFERLEVEL 4 |
Definition at line 22 of file vblocking.c.
Referenced by ivbexit().
|
static |
Definition at line 97 of file vblocking.c.
References VBLOCK::ihandle, DICTINFO::iindexhandle, NULL, VBFILE::pslockhead, VBFILE::pslocktail, VBLOCK::psnext, psvbfile, svbfile, VBLOCK::trownumber, and vvblockfree().
Referenced by ivbdatalock().
|
static |
Definition at line 31 of file vblocking.c.
References VBLOCK::ihandle, DICTINFO::iindexhandle, NULL, VBFILE::pslockhead, VBFILE::pslocktail, VBLOCK::psnext, psvbfile, psvblockallocate(), svbfile, and VBLOCK::trownumber.
Referenced by ivbdatalock().
int ivbdatalock | ( | const int | ihandle, |
const int | imode, | ||
const off_t | trownumber | ||
) |
Definition at line 432 of file vblocking.c.
References VBLOCK::ihandle, DICTINFO::iindexhandle, DICTINFO::iisdatalocked, ilockdelete(), ilockinsert(), DICTINFO::iopenmode, ivblock(), ivbmaxusedhandle, VBFILE::pslockhead, VBLOCK::psnext, psvbfile, svbfile, VBLOCK::trownumber, unlikely, VB_OFFLEN_3F, VB_OFFLEN_40, and VBUNLOCK.
Referenced by idemotelocks(), iprocessdelete(), islock(), isread(), isrelcurr(), isrelease(), isrelrec(), isrewcurr(), isrewrec(), isrewrite(), istartrownumber(), isunlock(), and ivbwriterow().
int ivbenter | ( | const int | ihandle, |
const unsigned int | imodifying, | ||
const unsigned int | ispecial | ||
) |
Definition at line 178 of file vblocking.c.
References DICTNODE::ctransnumber, cvbnodetmp, DICTINFO::iindexchanged, DICTINFO::iindexhandle, DICTINFO::iisdictlocked, DICTINFO::iisopen, inl_ldquad(), DICTINFO::iopenmode, iserrno, ivbblockread(), ivbexit(), ivbintrans, ivblock(), ivbmaxusedhandle, MAXSUBS, NULL, DICTINFO::pskeycurr, DICTINFO::pstree, psvbfile, DICTINFO::sdictnode, VBKEY::trownode, DICTINFO::ttranslast, unlikely, VB_NODE_MAX, VB_OFFLEN_3F, VBCOMMIT, VBNOTRANS, VBRDLOCK, VBROLLBACK, VBWRLOCK, and vvbtreeallfree().
Referenced by ircvinsert(), isaddindex(), ischeck(), isdelcurr(), isdelete(), isdelindex(), isdelrec(), isindexinfo(), isopen(), isread(), isrewcurr(), isrewrec(), isrewrite(), issetunique(), isstart(), isuniqueid(), iswrcurr(), iswrite(), ivbrollmeback(), and ivbrollmeforward().
int ivbexit | ( | const int | ihandle | ) |
Definition at line 290 of file vblocking.c.
References DICTNODE::ctransnumber, cvbnodetmp, DICTINFO::iindexhandle, DICTINFO::iisdictlocked, DICTINFO::inkeys, inl_ldquad(), inl_stquad(), DICTINFO::iopenmode, iserrno, ivbblockwrite(), IVBBUFFERLEVEL, ivblock(), NULL, VBKEY::pschild, VBTREE::pskeycurr, DICTINFO::pskeycurr, VBTREE::pskeyfirst, VBKEY::psnext, VBKEY::psparent, VBTREE::psparent, psvbfile, DICTINFO::sdictnode, DICTINFO::ttranslast, VB_NODE_MAX, VB_OFFLEN_3F, VBUNLOCK, and vvbtreeallfree().
Referenced by ircvinsert(), isaddindex(), ischeck(), isdelcurr(), isdelete(), isdelindex(), isdelrec(), isindexinfo(), isopen(), isread(), isrewcurr(), isrewrec(), isrewrite(), isrollback(), issetunique(), isstart(), isuniqueid(), iswrcurr(), iswrite(), ivbenter(), ivbrollmeback(), and ivbrollmeforward().
int ivbfileopenlock | ( | const int | ihandle, |
const int | imode | ||
) |
Definition at line 380 of file vblocking.c.
References cvbnodetmp, DICTINFO::iindexhandle, ivbblockread(), ivblock(), ivbmaxusedhandle, psvbfile, DICTINFO::sdictnode, unlikely, VB_NODE_MAX, VB_OFFLEN_7F, VBRDLOCK, VBUNLOCK, and VBWRLOCK.
Referenced by ircvcreateindex(), ircvdeleteindex(), isbuild(), and isopen().
int ivbmaxusedhandle = -1 |
Definition at line 26 of file vblocking.c.
Referenced by idemotelocks(), isaudit(), isbuild(), iscleanup(), isclose(), iscluster(), iscommit(), isdi_curidx(), isdi_datfd(), isdi_datlen(), isdi_idxfd(), isdi_kdsc(), isdi_name(), iserase(), isflush(), isfullclose(), isindexinfo(), islock(), isopen(), isrelcurr(), isrelease(), isrelrec(), isrollback(), issetcollate(), isunlock(), ivbdatalock(), ivbdataread(), ivbdatawrite(), ivbenter(), and ivbfileopenlock().