Lines Matching refs:dbPath
41659 const char *dbPath; /* Name of the open file */ member
41750 int lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1); in afpCheckReservedLock()
41754 lrc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0); in afpCheckReservedLock()
41863 failed = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 1); in afpLock()
41885 lrc1 = afpSetLock(context->dbPath, pFile, in afpLock()
41891 lrc2 = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0); in afpLock()
41920 failed = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1,1); in afpLock()
41931 if( !(failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST + in afpLock()
41935 failed = afpSetLock(context->dbPath, pFile, SHARED_FIRST, in afpLock()
41937 if( failed && (failed2 = afpSetLock(context->dbPath, pFile, in afpLock()
42015 rc = afpSetLock(context->dbPath, pFile, SHARED_FIRST, SHARED_SIZE, 0); in afpUnlock()
42019 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 1); in afpUnlock()
42025 rc = afpSetLock(context->dbPath, pFile, PENDING_BYTE, 1, 0); in afpUnlock()
42028 rc = afpSetLock(context->dbPath, pFile, RESERVED_BYTE, 1, 0); in afpUnlock()
42047 rc = afpSetLock(context->dbPath, pFile, sharedLockByte, 1, 0); in afpUnlock()
44740 pCtx->dbPath = zFilename; in fillInUnixFile()
45964 char *dbPath; /* Name of the open file */ member
45976 static int proxyGetLockPath(const char *dbPath, char *lPath, size_t maxLen){ in proxyGetLockPath() argument
46003 dbLen = (int)strlen(dbPath); in proxyGetLockPath()
46005 char c = dbPath[i]; in proxyGetLockPath()
46422 proxyGetLockPath(pCtx->dbPath, lockPath, MAXPATHLEN); in proxyTakeConch()
46500 fd = robust_open(pCtx->dbPath, pFile->openFlags, 0); in proxyTakeConch()
46538 afpCtx->dbPath = pCtx->lockProxyPath; in proxyTakeConch()
46584 static int proxyCreateConchPathname(char *dbPath, char **pConchPath){ in proxyCreateConchPathname() argument
46586 int len = (int)strlen(dbPath); /* Length of database filename - dbPath */ in proxyCreateConchPathname()
46595 memcpy(conchPath, dbPath, len+1); in proxyCreateConchPathname()
46606 conchPath[i+1]=dbPath[i]; in proxyCreateConchPathname()
46657 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){ in proxyGetDbPathForUnixFile() argument
46663 strlcpy(dbPath, ((afpLockingContext *)pFile->lockingContext)->dbPath, in proxyGetDbPathForUnixFile()
46671 memcpy(dbPath, (char *)pFile->lockingContext, len + 1); in proxyGetDbPathForUnixFile()
46675 strlcpy(dbPath, (char *)pFile->lockingContext, MAXPATHLEN); in proxyGetDbPathForUnixFile()
46690 char dbPath[MAXPATHLEN+1]; /* Name of the database file */ in proxyTransformUnixFile() local
46697 proxyGetDbPathForUnixFile(pFile, dbPath); in proxyTransformUnixFile()
46713 rc = proxyCreateConchPathname(dbPath, &pCtx->conchFilePath); in proxyTransformUnixFile()
46728 if( (err==ENOENT) && (statfs(dbPath, &fsInfo) != -1) ){ in proxyTransformUnixFile()
46743 pCtx->dbPath = sqlite3DbStrDup(0, dbPath); in proxyTransformUnixFile()
46744 if( pCtx->dbPath==NULL ){ in proxyTransformUnixFile()
46957 sqlite3DbFree(0, pCtx->dbPath); in proxyClose()