Searched refs:lock_file (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c481 if (fcntl(lock_file, F_SETLK, &restart_in_progress) == -1) {
497 if (fcntl(lock_file, F_SETLK, &restart_finished) == -1) {
509 if (fcntl(lock_file, F_GETLK, &restart_check) == -1) {
534 if (fcntl(lock_file, F_SETLK, &mem_usage_lock) == -1) {
551 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock) == -1) {
564 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock_all) == -1) {
601 if (fcntl(lock_file, F_GETLK, mem_usage_check) == -1) {
623 if (fcntl(lock_file, F_GETLK, &mem_usage_check) == -1) {
H A DZendAccelerator.h100 extern int lock_file;
H A Dzend_shared_alloc.c58 int lock_file; variable
88 lock_file = mkstemp(lockfile_name);
89 fchmod(lock_file, 0666);
91 if (lock_file == -1) {
94 val = fcntl(lock_file, F_GETFD, 0);
96 fcntl(lock_file, F_SETFD, val);
268 close(lock_file);
383 if (fcntl(lock_file, F_SETLKW, &mem_write_lock) == -1) {
414 if (fcntl(lock_file, F_SETLK, &mem_write_unlock) == -1) {

Completed in 7 milliseconds