• Home
  • Raw
  • Download

Lines Matching refs:unixFile

33567 typedef struct unixFile unixFile;
33568 struct unixFile {
34742 int unixFileMutexHeld(unixFile *pFile){
34746 int unixFileMutexNotheld(unixFile *pFile){
34834 static void robust_close(unixFile *pFile, int h, int lineno){
34845 static void storeLastErrno(unixFile *pFile, int error){
34852 static void closePendingFds(unixFile *pFile){
34871 static void releaseInodeInfo(unixFile *pFile){
34909 unixFile *pFile, /* Unix file with file desc used in the key */
35000 static int fileHasMoved(unixFile *pFile){
35021 static void verifyDbFile(unixFile *pFile){
35057 unixFile *pFile = (unixFile*)id;
35114 unixFile *pFile /* Structure holding timeout value */
35152 static int unixFileLock(unixFile *pFile, struct flock *pLock){
35243 unixFile *pFile = (unixFile*)id;
35429 static void setPendingFd(unixFile *pFile){
35453 unixFile *pFile = (unixFile*)id;
35614 assert( eFileLock==SHARED_LOCK || ((unixFile *)id)->nFetchOut==0 );
35620 static int unixMapfile(unixFile *pFd, i64 nByte);
35621 static void unixUnmapfile(unixFile *pFd);
35635 unixFile *pFile = (unixFile*)id;
35662 memset(pFile, 0, sizeof(unixFile));
35671 unixFile *pFile = (unixFile *)id;
35785 unixFile *pFile = (unixFile*)id;
35824 unixFile *pFile = (unixFile*)id;
35874 unixFile *pFile = (unixFile*)id;
35917 unixFile *pFile = (unixFile*)id;
35965 unixFile *pFile = (unixFile*)id;
36044 unixFile *pFile = (unixFile*)id;
36087 unixFile *pFile = (unixFile*)id;
36152 unixFile *pFile = (unixFile*)id;
36217 unixFile *pFile = (unixFile*)id;
36250 unixFile *pFile = (unixFile*)id;
36288 unixFile *pFile = (unixFile*)id;
36348 unixFile *pFile, /* Open file descriptor on path */
36395 unixFile *pFile = (unixFile*)id;
36463 unixFile *pFile = (unixFile*)id;
36645 unixFile *pFile = (unixFile*)id;
36748 unixFile *pFile = (unixFile*)id;
36830 static int seekAndRead(unixFile *id, sqlite3_int64 offset, void *pBuf, int cnt){
36850 storeLastErrno((unixFile*)id, errno);
36859 storeLastErrno((unixFile*)id, errno);
36885 unixFile *pFile = (unixFile *)id;
36984 static int seekAndWrite(unixFile *id, i64 offset, const void *pBuf, int cnt){
36999 unixFile *pFile = (unixFile*)id;
37263 unixFile *pFile = (unixFile*)id;
37312 unixFile *pFile = (unixFile *)id;
37365 rc = osFstat(((unixFile*)id)->h, &buf);
37368 storeLastErrno((unixFile*)id, errno);
37399 static int fcntlSizeHint(unixFile *pFile, i64 nByte){
37468 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
37485 unixFile *pFile = (unixFile*)id;
37586 ((unixFile*)id)->dbUpdate = 0;
37610 static void setDeviceCharacteristics(unixFile *pFd){
37635 static void setDeviceCharacteristics(unixFile *pFile){
37718 unixFile *pFd = (unixFile*)id;
37737 unixFile *pFd = (unixFile*)id;
37847 unixFile *pFile, /* Open connection to the WAL file */
37945 static void unixShmPurge(unixFile *pFd){
37979 static int unixLockSharedMemory(unixFile *pDbFd, unixShmNode *pShmNode){
38068 static int unixOpenSharedMemory(unixFile *pDbFd){
38217 unixFile *pDbFd = (unixFile*)fd;
38359 unixFile *pDbFd = (unixFile*)fd; /* Connection holding shared memory */
38493 || unixFileMutexNotheld((unixFile*)fd)
38513 unixFile *pDbFd; /* The underlying database file */
38515 pDbFd = (unixFile*)fd;
38563 static void unixUnmapfile(unixFile *pFd){
38589 unixFile *pFd, /* File descriptor object */
38680 static int unixMapfile(unixFile *pFd, i64 nMap){
38719 unixFile *pFd = (unixFile *)fd; /* The underlying database file */
38750 unixFile *pFd = (unixFile *)fd; /* The underlying database file */
38838 static const sqlite3_io_methods *FINDER##Impl(const char *z, unixFile *p){ \
38842 static const sqlite3_io_methods *(*const FINDER)(const char*,unixFile *p) \
38970 unixFile *pNew /* open file object for the database file */
39022 *(*const autolockIoFinder)(const char*,unixFile*) = autolockIoFinderImpl;
39034 unixFile *pNew /* the open file object */
39058 *(*const vxworksIoFinder)(const char*,unixFile*) = vxworksIoFinderImpl;
39065 typedef const sqlite3_io_methods *(*finder_type)(const char*,unixFile*);
39086 unixFile *pNew = (unixFile *)pId;
39319 static int proxyTransformUnixFile(unixFile*, const char*);
39511 unixFile *p = (unixFile *)pFile;
39582 memset(p, 0, sizeof(unixFile));
39713 ((unixFile*)pFile)->fsFlags |= SQLITE_FSFLAGS_IS_MSDOS;
39716 ((unixFile*)pFile)->fsFlags |= SQLITE_FSFLAGS_IS_MSDOS;
39746 rc = proxyTransformUnixFile((unixFile*)pFile, ":auto:");
40347 unixFile *conchFile; /* Open conch file */
40349 unixFile *lockProxy; /* Open proxy lock file */
40446 unixFile **ppFile, /* unixFile created and returned by ref */
40450 unixFile *pNew;
40500 pNew = (unixFile *)sqlite3_malloc64(sizeof(*pNew));
40505 memset(pNew, 0, sizeof(unixFile));
40581 static int proxyBreakConchLock(unixFile *pFile, uuid_t myHostID){
40583 unixFile *conchFile = pCtx->conchFile;
40641 static int proxyConchLock(unixFile *pFile, uuid_t myHostID, int lockType){
40643 unixFile *conchFile = pCtx->conchFile;
40719 static int proxyTakeConch(unixFile *pFile){
40725 unixFile *conchFile = pCtx->conchFile;
40752 readLen = seekAndRead((unixFile*)conchFile, 0, readBuf, PROXY_MAXCONCHLEN);
40941 static int proxyReleaseConch(unixFile *pFile){
40944 unixFile *conchFile; /* Name of the conch file */
41008 static int switchLockProxyPath(unixFile *pFile, const char *path) {
41022 unixFile *lockProxy = pCtx->lockProxy;
41044 static int proxyGetDbPathForUnixFile(unixFile *pFile, char *dbPath){
41075 static int proxyTransformUnixFile(unixFile *pFile, const char *path) {
41165 unixFile *pFile = (unixFile*)id;
41180 unixFile *pFile = (unixFile*)id;
41236 unixFile *pFile = (unixFile*)id;
41241 unixFile *proxy = pCtx->lockProxy;
41275 unixFile *pFile = (unixFile*)id;
41280 unixFile *proxy = pCtx->lockProxy;
41299 unixFile *pFile = (unixFile*)id;
41304 unixFile *proxy = pCtx->lockProxy;
41319 unixFile *pFile = (unixFile*)id;
41321 unixFile *lockProxy = pCtx->lockProxy;
41322 unixFile *conchFile = pCtx->conchFile;
41402 sizeof(unixFile), /* szOsFile */ \