• Home
  • Raw
  • Download

Lines Matching refs:unixFile

33482 typedef struct unixFile unixFile;
33483 struct unixFile {
34657 int unixFileMutexHeld(unixFile *pFile){
34661 int unixFileMutexNotheld(unixFile *pFile){
34749 static void robust_close(unixFile *pFile, int h, int lineno){
34760 static void storeLastErrno(unixFile *pFile, int error){
34767 static void closePendingFds(unixFile *pFile){
34786 static void releaseInodeInfo(unixFile *pFile){
34824 unixFile *pFile, /* Unix file with file desc used in the key */
34915 static int fileHasMoved(unixFile *pFile){
34936 static void verifyDbFile(unixFile *pFile){
34972 unixFile *pFile = (unixFile*)id;
35029 unixFile *pFile /* Structure holding timeout value */
35067 static int unixFileLock(unixFile *pFile, struct flock *pLock){
35158 unixFile *pFile = (unixFile*)id;
35344 static void setPendingFd(unixFile *pFile){
35368 unixFile *pFile = (unixFile*)id;
35529 assert( eFileLock==SHARED_LOCK || ((unixFile *)id)->nFetchOut==0 );
35535 static int unixMapfile(unixFile *pFd, i64 nByte);
35536 static void unixUnmapfile(unixFile *pFd);
35550 unixFile *pFile = (unixFile*)id;
35577 memset(pFile, 0, sizeof(unixFile));
35586 unixFile *pFile = (unixFile *)id;
35700 unixFile *pFile = (unixFile*)id;
35739 unixFile *pFile = (unixFile*)id;
35789 unixFile *pFile = (unixFile*)id;
35832 unixFile *pFile = (unixFile*)id;
35880 unixFile *pFile = (unixFile*)id;
35959 unixFile *pFile = (unixFile*)id;
36002 unixFile *pFile = (unixFile*)id;
36067 unixFile *pFile = (unixFile*)id;
36132 unixFile *pFile = (unixFile*)id;
36165 unixFile *pFile = (unixFile*)id;
36203 unixFile *pFile = (unixFile*)id;
36263 unixFile *pFile, /* Open file descriptor on path */
36310 unixFile *pFile = (unixFile*)id;
36378 unixFile *pFile = (unixFile*)id;
36560 unixFile *pFile = (unixFile*)id;
36663 unixFile *pFile = (unixFile*)id;
36745 static int seekAndRead(unixFile *id, sqlite3_int64 offset, void *pBuf, int cnt){
36765 storeLastErrno((unixFile*)id, errno);
36774 storeLastErrno((unixFile*)id, errno);
36800 unixFile *pFile = (unixFile *)id;
36899 static int seekAndWrite(unixFile *id, i64 offset, const void *pBuf, int cnt){
36914 unixFile *pFile = (unixFile*)id;
37178 unixFile *pFile = (unixFile*)id;
37227 unixFile *pFile = (unixFile *)id;
37280 rc = osFstat(((unixFile*)id)->h, &buf);
37283 storeLastErrno((unixFile*)id, errno);
37314 static int fcntlSizeHint(unixFile *pFile, i64 nByte){
37383 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
37400 unixFile *pFile = (unixFile*)id;
37501 ((unixFile*)id)->dbUpdate = 0;
37525 static void setDeviceCharacteristics(unixFile *pFd){
37550 static void setDeviceCharacteristics(unixFile *pFile){
37633 unixFile *pFd = (unixFile*)id;
37652 unixFile *pFd = (unixFile*)id;
37762 unixFile *pFile, /* Open connection to the WAL file */
37860 static void unixShmPurge(unixFile *pFd){
37894 static int unixLockSharedMemory(unixFile *pDbFd, unixShmNode *pShmNode){
37983 static int unixOpenSharedMemory(unixFile *pDbFd){
38132 unixFile *pDbFd = (unixFile*)fd;
38274 unixFile *pDbFd = (unixFile*)fd; /* Connection holding shared memory */
38405 || unixFileMutexNotheld((unixFile*)fd)
38425 unixFile *pDbFd; /* The underlying database file */
38427 pDbFd = (unixFile*)fd;
38475 static void unixUnmapfile(unixFile *pFd){
38501 unixFile *pFd, /* File descriptor object */
38592 static int unixMapfile(unixFile *pFd, i64 nMap){
38631 unixFile *pFd = (unixFile *)fd; /* The underlying database file */
38662 unixFile *pFd = (unixFile *)fd; /* The underlying database file */
38750 static const sqlite3_io_methods *FINDER##Impl(const char *z, unixFile *p){ \
38754 static const sqlite3_io_methods *(*const FINDER)(const char*,unixFile *p) \
38882 unixFile *pNew /* open file object for the database file */
38934 *(*const autolockIoFinder)(const char*,unixFile*) = autolockIoFinderImpl;
38946 unixFile *pNew /* the open file object */
38970 *(*const vxworksIoFinder)(const char*,unixFile*) = vxworksIoFinderImpl;
38977 typedef const sqlite3_io_methods *(*finder_type)(const char*,unixFile*);
38998 unixFile *pNew = (unixFile *)pId;
39231 static int proxyTransformUnixFile(unixFile*, const char*);
39423 unixFile *p = (unixFile *)pFile;
39494 memset(p, 0, sizeof(unixFile));
39625 ((unixFile*)pFile)->fsFlags |= SQLITE_FSFLAGS_IS_MSDOS;
39628 ((unixFile*)pFile)->fsFlags |= SQLITE_FSFLAGS_IS_MSDOS;
39658 rc = proxyTransformUnixFile((unixFile*)pFile, ":auto:");
40259 unixFile *conchFile; /* Open conch file */
40261 unixFile *lockProxy; /* Open proxy lock file */
40358 unixFile **ppFile, /* unixFile created and returned by ref */
40362 unixFile *pNew;
40412 pNew = (unixFile *)sqlite3_malloc64(sizeof(*pNew));
40417 memset(pNew, 0, sizeof(unixFile));
40493 static int proxyBreakConchLock(unixFile *pFile, uuid_t myHostID){
40495 unixFile *conchFile = pCtx->conchFile;
40553 static int proxyConchLock(unixFile *pFile, uuid_t myHostID, int lockType){
40555 unixFile *conchFile = pCtx->conchFile;
40631 static int proxyTakeConch(unixFile *pFile){
40637 unixFile *conchFile = pCtx->conchFile;
40664 readLen = seekAndRead((unixFile*)conchFile, 0, readBuf, PROXY_MAXCONCHLEN);
40853 static int proxyReleaseConch(unixFile *pFile){
40856 unixFile *conchFile; /* Name of the conch file */
40920 static int switchLockProxyPath(unixFile *pFile, const char *path) {
40934 unixFile *lockProxy = pCtx->lockProxy;
40956 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){
40987 static int proxyTransformUnixFile(unixFile *pFile, const char *path) {
41077 unixFile *pFile = (unixFile*)id;
41092 unixFile *pFile = (unixFile*)id;
41148 unixFile *pFile = (unixFile*)id;
41153 unixFile *proxy = pCtx->lockProxy;
41187 unixFile *pFile = (unixFile*)id;
41192 unixFile *proxy = pCtx->lockProxy;
41211 unixFile *pFile = (unixFile*)id;
41216 unixFile *proxy = pCtx->lockProxy;
41231 unixFile *pFile = (unixFile*)id;
41233 unixFile *lockProxy = pCtx->lockProxy;
41234 unixFile *conchFile = pCtx->conchFile;
41314 sizeof(unixFile), /* szOsFile */ \