Searched defs:lock (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_atomic.h36 __asm__ volatile ( "lock;" "xaddl %0, %1;" :
43 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /* {{{ */ argument
47 __asm__ volatile ( "lock;" "cmpxchgl %3, %1;" "sete %0;" :
48 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory");
62 __asm__ volatile ( "lock;" "xaddq %0, %1;" :
69 static inline atomic_uint_t atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) /* {{{ */ argument
73 __asm__ volatile ( "lock;" "cmpxchgq %3, %1;" "sete %0;" :
74 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory");
104 static inline int atomic_cas_64(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) /* {{{ */ argument
106 __asm__ __volatile__("casx [%2], %3, %0 " : "=&r"(new) : "0"(new), "r"(lock), "
112 atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) argument
121 atomic_cas_32(atomic_t *lock, atomic_uint_t old, atomic_uint_t new) argument
129 atomic_cmp_set(atomic_t *lock, atomic_uint_t old, atomic_uint_t set) argument
146 fpm_spinlock(atomic_t *lock, int try_once) argument
[all...]
H A Dfpm_scoreboard.h22 atomic_t lock; member in union:fpm_scoreboard_proc_s::__anon553
51 atomic_t lock; member in union:fpm_scoreboard_s::__anon554
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c531 #define SQLITE_PROTOCOL 15 /* Database lock protocol error */
783 ** xLock() increases the lock. xUnlock() decreases the lock.
786 ** PENDING, or EXCLUSIVE lock on the file. It returns true
787 ** if such a lock exists and false otherwise.
797 ** about the status of a lock, or to break stale locks. The SQLite
879 ** the lock (one of [SQLITE_LOCK_NONE], [SQLITE_LOCK_SHARED],
1335 ** was given no the corresponding lock.
1352 ** lock outside of this range
2149 ** is returned immediately upon encountering the lock
25063 struct flock lock; local
25112 struct flock lock; local
25197 struct flock lock; local
25405 struct flock lock; local
50233 BtLock lock; /* Object used to lock page 1 */ member in struct:Btree
[all...]
/PHP_TRUNK/ext/dba/
H A Dphp_dba.h53 dba_lock lock; member in struct:dba_info

Completed in 208 milliseconds