• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/sqlite-3.6.22/

Lines Matching refs:proxy

21294 **   *  Various locking primitive implementations (all except proxy locking):
21305 ** * Locking primitives for the proxy uber-locking-method. (MacOSX only)
21321 ** 7. proxy locking. (OSX only)
21412 ** Default permissions when creating auto proxy dir
24641 ** Handler for proxy-locking file-control verbs. Defined below in the
24849 ** The proxy locking method is a "super-method" in the sense that it
24851 ** it uses proxy, dot-file, AFP, and flock() locking methods on those
24853 ** proxy locking is located much further down in the file. But we need
24855 ** for proxy locking here. So we forward declare the I/O methods.
25035 ** proxyLock activation is possible (remote proxy is based on db name)
25243 ** Routine to transform a unixFile into a proxy-locking unixFile.
25244 ** Implementation in the proxy-lock division, but used by unixOpen()
25488 /* SQLITE_FORCE_PROXY_LOCKING==1 means force always use proxy, 0 means
25489 ** never use proxy, NULL means use proxy for non-local files only. */
25844 ** this reason, the division that implements of proxy locking is deferred
25847 ** as services to help with the implementation of proxy locking.
25877 ** To address the performance and cache coherency issues, proxy file locking
25880 ** and onto a proxy file on the local file system.
25883 ** Using proxy locks
25899 ** host ID in it, the proxy path in the conch file will be used, otherwise
25900 ** a proxy path based on the user's temp dir
25902 ** actual proxy file name is generated from the name and path of the
25908 ** Once a lock proxy is configured for a database connection, it can not
25909 ** be removed, however it may be switched to a different proxy path via
25914 ** How proxy locking works
25922 ** * proxy file to act as a proxy for the advisory locks normally
25925 ** The conch file - to use a proxy file, sqlite must first "hold the conch"
25928 ** proxy path against the values stored in the conch. The conch file is
25932 ** host ID and/or proxy path, then the lock is escalated to an exclusive
25933 ** lock and the conch file contents is updated with the host ID and proxy
25938 ** The proxy file - a single-byte file used for all advisory file locks
25948 ** Requesting the lock proxy does not immediately take the conch, it is
25955 ** The proxy file and the lock file are never deleted so they only need
25964 ** automatically configured for proxy locking, lock files are
25979 ** Overrides the default directory used for lock proxy files that
25985 ** lock proxy files, only used when LOCKPROXYDIR is not set.
25990 ** force proxy locking to be used for every database file opened, and 0
25991 ** will force automatic proxy locking to be disabled for all database
26008 ** and local proxy files in it
26014 unixFile *lockProxy; /* Open proxy lock file */
26015 char *lockProxyPath; /* Name of the proxy lock file */
26210 /* Call unixOpen() to open the proxy file. The flags passed to unixOpen()
26219 ** unixOpen() is NULL. This tells unixOpen() may try to open a proxy-file
26220 ** for the proxy-file (creating a potential infinite loop).
26399 proxyLockingContext *pCtx; /* The locking context for the proxy lock */
26459 /* Takes a fully configured proxy locking-style unix file and switches
26522 ** will be performed on the local proxy lock file. The following fields
26587 ** to proxy locking.
26612 /* turn off proxy locking - not supported */
26615 /* turn off proxy locking - already off - NOOP */
26632 /* turn on proxy file locking */
26649 ** proxy-locking sqlite3_io_method object follow.
26664 unixFile *proxy = pCtx->lockProxy;
26665 return proxy->pMethod->xCheckReservedLock((sqlite3_file*)proxy, pResOut);
26699 unixFile *proxy = pCtx->lockProxy;
26700 rc = proxy->pMethod->xLock((sqlite3_file*)proxy, locktype);
26701 pFile->locktype = proxy->locktype;
26719 unixFile *proxy = pCtx->lockProxy;
26720 rc = proxy->pMethod->xUnlock((sqlite3_file*)proxy, locktype);
26721 pFile->locktype = proxy->locktype;
26727 ** Close a file that uses proxy locks.
26770 ** The proxy locking style is intended for use with AFP filesystems.
26771 ** And since AFP is only supported on MacOSX, the proxy locking is also
26775 ******************* End of the proxy lock implementation **********************
26860 UNIXVFS("unix-proxy", proxyIoFinder ),
77461 sqlite3ErrorMsg(pParse, "failed to set lock proxy file");