GnuCOBOL
2.0
A free COBOL compiler
|
#include "isinternal.h"
Go to the source code of this file.
Macros | |
#define | USE_LOCKFILE_EX |
Functions | |
int | ivbopen (const char *pcfilename, const int iflags, const mode_t tmode) |
int | ivbclose (const int ihandle) |
off_t | tvblseek (const int ihandle, off_t toffset, const int iwhence) |
ssize_t | tvbread (const int ihandle, void *pvbuffer, const size_t tcount) |
ssize_t | tvbwrite (const int ihandle, const void *pvbuffer, const size_t tcount) |
int | ivbblockread (const int ihandle, const int iisindex, const off_t tblocknumber, char *cbuffer) |
int | ivbblockwrite (const int ihandle, const int iisindex, const off_t tblocknumber, const char *cbuffer) |
int | ivblock (const int ihandle, const off_t toffset, const off_t tlength, const int imode) |
Variables | |
struct DICTINFO * | psvbfile [128+1] |
struct VBFILE | svbfile [128 *3] |
static int | iinitialized = 0 |
#define USE_LOCKFILE_EX |
Definition at line 29 of file vblowlevel.c.
int ivbblockread | ( | const int | ihandle, |
const int | iisindex, | ||
const off_t | tblocknumber, | ||
char * | cbuffer | ||
) |
Definition at line 137 of file vblowlevel.c.
References DICTINFO::idatahandle, DICTINFO::iindexhandle, DICTINFO::inodesize, tvblseek(), and tvbread().
Referenced by iaddkeydescriptor(), icheckkey(), icheckkeydesc(), idatafreecheck(), idelnodes(), iindexfreecheck(), iquicknodesave(), isopen(), ivbdatafree(), ivbdataread(), ivbdatawrite(), ivbenter(), ivbfileopenlock(), ivbforcedataallocate(), ivbnodefree(), ivbnodeload(), ivbvarlendelete(), ivbvarlenread(), tdelkeydescriptor(), ttailnode(), tvbdataallocate(), and tvbnodeallocate().
int ivbblockwrite | ( | const int | ihandle, |
const int | iisindex, | ||
const off_t | tblocknumber, | ||
const char * | cbuffer | ||
) |
Definition at line 167 of file vblowlevel.c.
References DICTINFO::idatahandle, DICTINFO::iindexhandle, DICTINFO::inodesize, tvblseek(), and tvbwrite().
Referenced by iaddkeydescriptor(), iindexcheck(), iquicknodesave(), isbuild(), ivbdatafree(), ivbdatawrite(), ivbexit(), ivbforcedataallocate(), ivbforceexit(), ivbnodefree(), ivbnodesave(), ivbvarlendelete(), ivbvarlenwrite(), tdelkeydescriptor(), ttailnode(), tvbdataallocate(), and tvbnodeallocate().
int ivbclose | ( | const int | ihandle | ) |
Definition at line 93 of file vblowlevel.c.
References VBFILE::irefcount, and svbfile.
Referenced by isbuild(), islogclose(), isopen(), and ivbclose2().
int ivblock | ( | const int | ihandle, |
const off_t | toffset, | ||
const off_t | tlength, | ||
const int | imode | ||
) |
Definition at line 197 of file vblowlevel.c.
References svbfile, VBRDLCKW, VBRDLOCK, VBUNLOCK, VBWRLCKW, and VBWRLOCK.
Referenced by ivbdatalock(), ivbenter(), ivbexit(), ivbfileopenlock(), and iwritetrans().
int ivbopen | ( | const char * | pcfilename, |
const int | iflags, | ||
const mode_t | tmode | ||
) |
Definition at line 32 of file vblowlevel.c.
References VBFILE::ihandle, iinitialized, VBFILE::irefcount, O_BINARY, svbfile, VBFILE::tdevice, VBFILE::tinode, and VB_MAX_FILES.
Referenced by isbuild(), islogopen(), and isopen().
off_t tvblseek | ( | const int | ihandle, |
off_t | toffset, | ||
const int | iwhence | ||
) |
Definition at line 107 of file vblowlevel.c.
References svbfile, and unlikely.
Referenced by ircvchecktrans(), iscommit(), isrecover(), isrollback(), ivbblockread(), ivbblockwrite(), ivbdataread(), ivbdatawrite(), ivbrollmeback(), ivbrollmeforward(), and iwritetrans().
ssize_t tvbread | ( | const int | ihandle, |
void * | pvbuffer, | ||
const size_t | tcount | ||
) |
Definition at line 117 of file vblowlevel.c.
References svbfile, and unlikely.
Referenced by ircvchecktrans(), isrecover(), ivbblockread(), ivbdataread(), ivbrollmeback(), and ivbrollmeforward().
ssize_t tvbwrite | ( | const int | ihandle, |
const void * | pvbuffer, | ||
const size_t | tcount | ||
) |
Definition at line 127 of file vblowlevel.c.
References svbfile, and unlikely.
Referenced by ivbblockwrite(), ivbdatawrite(), and iwritetrans().
|
static |
Definition at line 26 of file vblowlevel.c.
Referenced by ivbopen(), and vinitpiduid().
struct DICTINFO* psvbfile[128+1] |
Definition at line 23 of file vblowlevel.c.
Referenced by iaddkeydescriptor(), icheckkey(), icheckkeydesc(), idatafreecheck(), idelnodes(), idemotelocks(), iindexcheck(), iindexfreecheck(), ilockdelete(), ilockinsert(), imakekeysfromdata(), inewroot(), inodesplit(), ipostamble(), ipreamble(), iprocessdelete(), iquicknodesave(), ircvcreateindex(), ircvdeleteindex(), ircvinsert(), ircvuniqueid(), irowdelete(), irowinsert(), irowupdate(), isaddindex(), isbuild(), ischeck(), iscleanup(), isclose(), iscommit(), isdelcurr(), isdelete(), isdelindex(), isdelrec(), isdi_curidx(), isdi_datfd(), isdi_datlen(), isdi_idxfd(), isdi_kdsc(), isdi_name(), iserase(), isflush(), isindexinfo(), islock(), isopen(), isread(), isrecover(), isrelcurr(), isrelease(), isrelrec(), isrewcurr(), isrewrec(), isrewrite(), isrollback(), issetcollate(), issetunique(), isstart(), istartrownumber(), isuniqueid(), isunlock(), iswrcurr(), iswrite(), itreeload(), ivbcheckkey(), ivbclose2(), ivbclose3(), ivbdatafree(), ivbdatalock(), ivbdataread(), ivbdatawrite(), ivbenter(), ivbexit(), ivbfileopenlock(), ivbforcedataallocate(), ivbforceexit(), ivbkeycompare(), ivbkeydelete(), ivbkeyinsert(), ivbkeyload(), ivbkeylocaterow(), ivbkeysearch(), ivbnodefree(), ivbnodeload(), ivbnodesave(), ivbrollmeback(), ivbrollmeforward(), ivbtransclose(), ivbtranscreateindex(), ivbtransdelete(), ivbtransdeleteindex(), ivbtransinsert(), ivbtransopen(), ivbtranssetunique(), ivbtransuniqueid(), ivbtransupdate(), ivbvarlendelete(), ivbvarlenread(), ivbvarlenwrite(), ivbwriterow(), psvbkeyallocate(), tdelkeydescriptor(), ttailnode(), tvbdataallocate(), tvbdatacountgetnext(), tvbnodeallocate(), tvbnodecountgetnext(), vaddkeyforrow(), vcloseall(), vrebuildindexfree(), vvbkeyallfree(), vvbkeyfree(), and vvbkeyunmalloc().
struct VBFILE svbfile[128 *3] |
Definition at line 24 of file vblowlevel.c.
Referenced by ilockdelete(), ilockinsert(), ipreamble(), ivbclose(), ivbclose2(), ivbdatalock(), ivblock(), ivbopen(), tvblseek(), tvbread(), and tvbwrite().