Searched refs:lock_file (Results 1 – 3 of 3) sorted by relevance
/PHP-7.1/ext/opcache/ |
H A D | zend_shared_alloc.c | 56 int lock_file; variable 86 lock_file = mkstemp(lockfile_name); in zend_shared_alloc_create_lock() 87 fchmod(lock_file, 0666); in zend_shared_alloc_create_lock() 89 if (lock_file == -1) { in zend_shared_alloc_create_lock() 92 val = fcntl(lock_file, F_GETFD, 0); in zend_shared_alloc_create_lock() 94 fcntl(lock_file, F_SETFD, val); in zend_shared_alloc_create_lock() 280 close(lock_file); in zend_shared_alloc_shutdown() 396 if (fcntl(lock_file, F_SETLKW, &mem_write_lock) == -1) { in zend_shared_alloc_lock() 416 if (fcntl(lock_file, F_SETLK, &mem_write_unlock) == -1) { in zend_shared_alloc_unlock()
|
H A D | ZendAccelerator.h | 91 extern int lock_file;
|
H A D | ZendAccelerator.c | 239 if (fcntl(lock_file, F_SETLK, &restart_in_progress) == -1) { in accel_restart_enter() 259 if (fcntl(lock_file, F_SETLK, &restart_finished) == -1) { in accel_restart_leave() 271 if (fcntl(lock_file, F_GETLK, &restart_check) == -1) { in accel_restart_is_active() 300 if (fcntl(lock_file, F_SETLK, &mem_usage_lock) == -1) { in accel_activate_add() 323 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock) == -1) { in accel_deactivate_sub() 340 if (fcntl(lock_file, F_SETLK, &mem_usage_unlock_all) == -1) { in accel_unlock_all() 673 if (fcntl(lock_file, F_GETLK, mem_usage_check) == -1) { in kill_all_lockers() 695 if (fcntl(lock_file, F_GETLK, &mem_usage_check) == -1) { in accel_is_inactive()
|
Completed in 15 milliseconds