Home | History | Annotate | Download | only in orig

Lines Matching defs:proxy

8400 ** used as a proxy for the total work done by the prepared statement.
30577 ** * Various locking primitive implementations (all except proxy locking):
30588 ** * Locking primitives for the proxy uber-locking-method. (MacOSX only)
30605 ** 7. proxy locking. (OSX only)
30701 ** Default permissions when creating auto proxy dir
34449 ** Handler for proxy-locking file-control verbs. Defined below in the
35935 ** The proxy locking method is a "super-method" in the sense that it
35937 ** it uses proxy, dot-file, AFP, and flock() locking methods on those
35939 ** proxy locking is located much further down in the file. But we need
35941 ** for proxy locking here. So we forward declare the I/O methods.
36138 ** proxyLock activation is possible (remote proxy is based on db name)
36329 ** Routine to transform a unixFile into a proxy-locking unixFile.
36330 ** Implementation in the proxy
36739 /* SQLITE_FORCE_PROXY_LOCKING==1 means force always use proxy, 0 means
36740 ** never use proxy, NULL means use proxy for non-local files only. */
37187 ************************** Begin Proxy Locking ********************************
37189 ** Proxy locking is a "uber-locking-method" in this sense: It uses the
37190 ** other locking methods on secondary lock files. Proxy locking is a
37192 ** this reason, the division that implements of proxy locking is deferred
37195 ** as services to help with the implementation of proxy locking.
37225 ** To address the performance and cache coherency issues, proxy file locking
37228 ** and onto a proxy file on the local file system.
37231 ** Using proxy locks
37248 ** host ID in it, the proxy path in the conch file will be used, otherwise
37249 ** a proxy path based on the user's temp dir
37251 ** actual proxy file name is generated from the name and path of the
37257 ** Once a lock proxy is configured for a database connection, it can not
37258 proxy path via
37263 ** How proxy locking works
37266 ** Proxy file locking relies primarily on two new supporting files:
37271 ** * proxy file to act as a proxy for the advisory locks normally
37274 ** The conch file - to use a proxy file, sqlite must first "hold the conch"
37277 ** proxy path against the values stored in the conch. The conch file is
37281 ** host ID and/or proxy path, then the lock is escalated to an exclusive
37282 ** lock and the conch file contents is updated with the host ID and proxy
37287 ** The proxy file - a single-byte file used for all advisory file locks
37292 ** Requesting the lock proxy does not immediately take the conch, it is
37299 ** The proxy file and the lock file are never deleted so they only need
37308 ** automatically configured for proxy locking, lock files are
37319 ** Overrides the default directory used for lock proxy files that
37325 ** lock proxy files, only used when LOCKPROXYDIR is not set.
37330 ** force proxy locking to be used for every database file opened, and 0
37331 ** will force automatic proxy locking to be disabled for all database
37337 ** Proxy locking is only available on MacOSX
37343 ** and local proxy files in it
37349 unixFile *lockProxy; /* Open proxy lock file */
37350 char *lockProxyPath; /* Name of the proxy lock file */
37359 ** The proxy lock file path for the database at dbPath is written into lPath,
37397 OSTRACE(("GETLOCKPATH proxy lock path=%s pid=%d\n", lPath, osGetpid(0)));
37423 "'%s' proxy lock path=%s pid=%d\n",
37433 OSTRACE(("CREATELOCKPATH proxy lock path=%s pid=%d\n",lockPath,osGetpid(0)));
37900 /* we couldn't create the proxy lock file with the old lock file path
37943 proxyLockingContext *pCtx; /* The locking context for the proxy lock */
38005 /* Takes a fully configured proxy locking-style unix file and switches
38069 ** will be performed on the local proxy lock file. The following fields
38160 ** to proxy locking.
38185 /* turn off proxy locking - not supported. If support is added for
38186 ** switching proxy locking mode off then it will need to fail if
38191 /* turn off proxy locking - already off - NOOP */
38208 /* turn on proxy file locking */
38225 ** proxy-locking sqlite3_io_method object follow.
38241 unixFile *proxy = pCtx->lockProxy;
38242 return proxy->pMethod->xCheckReservedLock((sqlite3_file*)proxy, pResOut);
38280 unixFile *proxy = pCtx->lockProxy;
38281 rc = proxy->pMethod->xLock((sqlite3_file*)proxy, eFileLock);
38282 pFile->eFileLock = proxy->eFileLock;
38304 unixFile *proxy = pCtx->lockProxy;
38305 rc = proxy->pMethod->xUnlock((sqlite3_file*)proxy, eFileLock);
38306 pFile->eFileLock = proxy->eFileLock;
38315 ** Close a file that uses proxy locks.
38358 ** The proxy locking style is intended for use with AFP filesystems.
38359 ** And since AFP is only supported on MacOSX, the proxy locking is also
38363 ******************* End of the proxy lock implementation **********************
38455 UNIXVFS("unix-proxy", proxyIoFinder ),
116291 sqlite3ErrorMsg(pParse, "failed to set lock proxy file");