Searched refs:lock (Results 1 - 19 of 19) sorted by relevance

/httpd/modules/dav/main/
H A Dutil_lock.c18 ** DAV repository-independent lock functions
34 ** Property-related lock functions
43 dav_lock *lock,
52 /* If no locks or no lock provider, there are no locks */
53 if (lock == NULL || hooks == NULL) {
56 ** <D:activelock/> shouldn't be necessary for an empty lock.
68 for (lock_scan = lock; lock_scan != NULL; lock_scan = lock_scan->next)
81 for (; lock != NULL; lock = lock
42 dav_lock_get_activelock(request_rec *r, dav_lock *lock, dav_buffer *pbuf) argument
179 dav_lock *lock; local
296 dav_add_lock(request_rec *r, const dav_resource *resource, dav_lockdb *lockdb, dav_lock *lock, dav_response **response) argument
443 dav_lock *lock; local
[all...]
H A Dutil.c486 * when this lock is expected to expire. Otherwise, return
805 const dav_lock *lock; local
810 ** The resource will have one or more lock tokens. We only
814 ** One token case: It is an exclusive or shared lock. Either
822 for (lock = lock_list; lock != NULL; lock = lock->next) {
824 if (!(*locks_hooks->compare_locktoken)(state_list->locktoken, lock->locktoken)) {
836 * Returns NULL if path/uri meets if-header and lock requirement
853 dav_lock *lock; local
[all...]
H A Dmod_dav.h306 ** Note: the lock-null state is not explicitly represented here,
308 ** to determine whether a non-existent resource is a lock-null resource.
405 ** Lock token type. Lock providers define the details of a lock token.
732 int dummy_header; /* used internally by the lock/etag validation */
776 ** ### we may need more context... ie. the lock database
1164 ** Opaque, provider-specific information for a lock database.
1169 ** Opaque, provider-specific information for a lock record.
1198 DAV_LOCKREC_DIRECT, /* lock asserted on this resource */
1199 DAV_LOCKREC_INDIRECT, /* lock inherited from a parent */
1204 ** dav_lock: hold information about a lock o
1697 const dav_lock *lock; /* for LOCK */ member in struct:dav_walker_ctx
[all...]
H A Dmod_dav.c1104 "was a problem opening the lock database "
1111 /* notify lock system that we have created/replaced a resource */
1120 "was a problem updating its lock "
1219 ** If any resources fail the lock/If: conditions, then we must fail
1364 /* open lock database, to report on supported lock properties */
1368 "The lock database could not be opened, "
1369 "preventing the reporting of supported lock "
1699 * Three cases: resource is null (3), is lock-null (7.4), or exists.
1701 * All cases support OPTIONS, and if there is a lock provide
3034 dav_lock *lock; local
[all...]
/httpd/modules/dav/lock/
H A Dlocks.c18 * Generic DAV lock implementation that a DAV provider can use.
46 * Lockdiscovery information is stored in the single lock database specified
72 * The key is to the collection lock that resulted in this indirect lock
118 const char *auth_user; /* authenticated user who created the lock */
123 * They reference the lock token for the collection the lock is
124 * inherited from. A lock provider may also define a key to the
125 * inherited lock, for fast datbase lookup. The key is opaque outside
126 * the lock provide
768 dav_generic_create_lock(dav_lockdb *lockdb, const dav_resource *resource, dav_lock **lock) argument
791 dav_lock *lock = NULL; local
861 dav_generic_find_lock(dav_lockdb *lockdb, const dav_resource *resource, const dav_locktoken *locktoken, int partial_ok, dav_lock **lock) argument
953 dav_generic_append_locks(dav_lockdb *lockdb, const dav_resource *resource, int make_indirect, const dav_lock *lock) argument
[all...]
/httpd/modules/dav/fs/
H A Dlock.c18 ** DAV filesystem lock implementation
45 ** Lockdiscovery information is stored in the single lock database specified
71 ** The key is to the collection lock that resulted in this indirect lock
129 const char *auth_user; /* authenticated user who created the lock */
134 * They reference the lock token for the collection the lock is
135 * inherited from. A lock provider may also define a key to the
136 * inherited lock, for fast datbase lookup. The key is opaque outside
137 * the lock provide
974 dav_fs_create_lock(dav_lockdb *lockdb, const dav_resource *resource, dav_lock **lock) argument
999 dav_lock *lock = NULL; local
1068 dav_fs_find_lock(dav_lockdb *lockdb, const dav_resource *resource, const dav_locktoken *locktoken, int partial_ok, dav_lock **lock) argument
1160 dav_fs_append_locks(dav_lockdb *lockdb, const dav_resource *resource, int make_indirect, const dav_lock *lock) argument
[all...]
/httpd/build/rpm/
H A Dhtcacheclean.init50 lockfile=${LOCKFILE-/var/lock/subsys/${prog}}
H A Dhttpd.init62 lockfile=${LOCKFILE-/var/lock/subsys/${prog}}
/httpd/modules/arch/win32/
H A Dmod_isapi.c201 apr_thread_mutex_t *lock; member in struct:isapi_global_conf
332 if ((rv = apr_thread_mutex_lock(loaded.lock)) != APR_SUCCESS) {
340 /* If we find this lock exists, use a set-aside copy of gainlock
343 * lock so other requests can proceed, then rdlock for completion
354 apr_thread_mutex_unlock(loaded.lock);
360 apr_thread_mutex_unlock(loaded.lock);
373 * hash lock to avoid colliding with another thread
376 * before attempting a write lock for this module.
379 apr_thread_mutex_unlock(loaded.lock);
390 * is always atomic to the global lock
[all...]
/httpd/modules/aaa/
H A Dmod_authn_socache.c137 const char *lock; local
142 lock = apr_global_mutex_lockfile(authn_cache_mutex);
143 rv = apr_global_mutex_child_init(&authn_cache_mutex, lock, p);
H A Dmod_authnz_ldap.c46 apr_thread_mutex_t *lock; /* Lock for this config */ member in struct:__anon65
330 apr_thread_mutex_create(&sec->lock, APR_THREAD_MUTEX_DEFAULT, p);
878 apr_thread_mutex_lock(sec->lock);
885 apr_thread_mutex_unlock(sec->lock);
896 apr_thread_mutex_lock(sec->lock);
903 apr_thread_mutex_unlock(sec->lock);
/httpd/include/
H A Dutil_ldap.h111 apr_thread_mutex_t *lock; /* Lock to indicate this connection is in use */ member in struct:util_ldap_connection_t
151 apr_thread_mutex_t *mutex; /* mutex lock for the connection list */
237 * @tip Once a connection is found and returned, a lock will be acquired to
238 * lock that particular connection, so that another thread does not try and
/httpd/modules/cache/
H A Dcache_util.h98 #define DEFAULT_CACHE_LOCKPATH "mod_cache-lock"
136 /* thundering herd lock */
137 unsigned int lock:1; member in struct:__anon82
264 * Try obtain a cache wide lock on the given cache key.
266 * If we return APR_SUCCESS, we obtained the lock, and we are clear to
267 * proceed to the backend. If we return APR_EEXISTS, the the lock is
273 * This lock is created from the request pool, meaning that should
274 * something go wrong and the lock isn't deleted on return of the
276 * lock will be cleaned up when the request is dies or finishes.
278 * If something goes truly bananas and the lock is
[all...]
H A Dmod_cache.c184 /* try to obtain a cache lock at this point. if we succeed,
483 /* try to obtain a cache lock at this point. if we succeed,
741 /* conditionally remove the lock as soon as we see the eos bucket */
804 * After the various failure cases, the cache lock is proactively removed, so
1235 /* remove the lock file unconditionally */
2019 ps->lock = 0; /* thundering herd lock defaults to off */
2059 ps->lock =
2061 ? base->lock
2062 : overrides->lock;
[all...]
H A Dcache_util.c240 * Try obtain a cache wide lock on the given cache key.
242 * If we return APR_SUCCESS, we obtained the lock, and we are clear to
243 * proceed to the backend. If we return APR_EEXIST, then the lock is
249 * This lock is created from the request pool, meaning that should
250 * something go wrong and the lock isn't deleted on return of the
252 * lock will be cleaned up when the request dies or finishes.
254 * If something goes truly bananas and the lock isn't deleted when the
255 * request dies, the lock will be trashed when its max-age is reached,
257 * no point is it possible for this lock to permanently deny access to
274 if (!conf || !conf->lock || !con
[all...]
H A Dmod_cache_socache.c474 "could not acquire lock, ignoring: %s", obj->key);
488 "could not release lock, ignoring: %s", obj->key);
537 "could not acquire lock, ignoring: %s", obj->key);
552 "could not release lock, ignoring: %s", obj->key);
692 "could not acquire lock, ignoring: %s", obj->key);
705 "could not release lock, ignoring: %s", obj->key);
736 "could not acquire lock, ignoring: %s", sobj->key);
748 "could not release lock, ignoring: %s", sobj->key);
846 "could not acquire lock, ignoring: %s", obj->key);
861 "could not release lock, ignorin
1516 const char *lock; local
[all...]
/httpd/modules/ldap/
H A Dutil_ldap.c167 apr_thread_mutex_unlock(ldc->lock);
209 * The caller should hold the lock for this connection
247 apr_thread_mutex_unlock(ldc->lock);
710 /* mutex lock this function */
723 if (APR_SUCCESS == apr_thread_mutex_trylock(l->lock)) {
752 apr_thread_mutex_unlock(l->lock);
764 if (APR_SUCCESS == apr_thread_mutex_trylock(l->lock)) {
796 apr_thread_mutex_unlock(l->lock);
832 apr_thread_mutex_create(&l->lock, APR_THREAD_MUTEX_DEFAULT, l->pool);
833 apr_thread_mutex_lock(l->lock);
[all...]
/httpd/modules/mappers/
H A Dmod_rewrite.c358 apr_thread_mutex_t *lock; member in struct:cache
998 apr_thread_mutex_lock(cachep->lock);
1007 apr_thread_mutex_unlock(cachep->lock);
1036 apr_thread_mutex_unlock(cachep->lock);
1051 apr_thread_mutex_lock(cachep->lock);
1074 apr_thread_mutex_unlock(cachep->lock);
1091 (void)apr_thread_mutex_create(&(cachep->lock), APR_THREAD_MUTEX_DEFAULT, p);
1444 /* take the lock */
1558 /* give the lock back */
/httpd/modules/loggers/
H A Dmod_log_config.c1577 rv = apr_thread_mutex_create(&this->mutex.lock.tm,

Completed in 3844 milliseconds