Searched refs:shm (Results 1 – 10 of 10) sorted by relevance
/PHP-8.0/TSRM/ |
H A D | tsrm_win32.c | 70 if (globals->shm) { in tsrm_win32_dtor() 77 free(globals->shm); in tsrm_win32_dtor() 404 for (ptr = TWG(shm); ptr < (TWG(shm) + TWG(shm_size)); ptr++) { in shm_get() 618 shm_pair *shm; in shmget() local 666 if (!shm) { in shmget() 684 shm->descriptor->shm_atime = shm->descriptor->shm_dtime = 0; in shmget() 685 shm->descriptor->shm_lpid = shm->descriptor->shm_nattch = 0; in shmget() 689 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget() 705 if (!shm || !shm->segment) { in shmat() 729 if (!shm || !shm->segment) { in shmdt() [all …]
|
H A D | tsrm_win32.h | 60 shm_pair *shm; member
|
/PHP-8.0/ext/sysvshm/ |
H A D | sysvshm.stub.php | 11 function shm_detach(SysvSharedMemory $shm): bool {} argument 13 function shm_has_var(SysvSharedMemory $shm, int $key): bool {} argument 15 function shm_remove(SysvSharedMemory $shm): bool {} argument 17 function shm_put_var(SysvSharedMemory $shm, int $key, mixed $value): bool {} argument 19 function shm_get_var(SysvSharedMemory $shm, int $key): mixed {} argument 21 function shm_remove_var(SysvSharedMemory $shm, int $key): bool {} argument
|
H A D | sysvshm_arginfo.h | 11 ZEND_ARG_OBJ_INFO(0, shm, SysvSharedMemory, 0) 15 ZEND_ARG_OBJ_INFO(0, shm, SysvSharedMemory, 0) 22 ZEND_ARG_OBJ_INFO(0, shm, SysvSharedMemory, 0) 28 ZEND_ARG_OBJ_INFO(0, shm, SysvSharedMemory, 0)
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_status.h | 23 void fpm_status_update_activity(struct fpm_shm_s *shm, int idle, int active, int total, unsigned cu… 24 void fpm_status_update_accepted_conn(struct fpm_shm_s *shm, unsigned long int accepted_conn); 25 void fpm_status_increment_accepted_conn(struct fpm_shm_s *shm); 26 void fpm_status_set_pm(struct fpm_shm_s *shm, int pm); 27 void fpm_status_update_max_children_reached(struct fpm_shm_s *shm, unsigned int max_children_reache… 28 void fpm_status_increment_max_children_reached(struct fpm_shm_s *shm);
|
/PHP-8.0/ext/shmop/tests/ |
H A D | 001.phpt | 15 echo "shm open for create: "; 25 echo "shm write test #1: "; 35 echo "shm open for read only: "; 60 echo "shm write test #2: "; 78 shm open for create: ok 79 shm size is: 1024 80 shm write test #1: ok 82 shm open for read only: ok 85 shm open for read only: ok 86 shm write test #2: ok [all …]
|
/PHP-8.0/ext/opcache/ |
H A D | config.m4 | 108 #include <sys/shm.h> 116 char *shm; 131 shmdt(shm); 141 shmdt(shm); 148 strcpy(shm, "hello"); 154 strcpy(shm, "bye"); 193 char *shm; 200 strcpy(shm, "hello"); 206 strcpy(shm, "bye"); 246 char *shm; [all …]
|
/PHP-8.0/ext/shmop/ |
H A D | shmop.c | 144 struct shmid_ds shm; in PHP_FUNCTION() local 197 if (shmctl(shmop->shmid, IPC_STAT, &shm)) { in PHP_FUNCTION() 203 if (shm.shm_segsz > ZEND_LONG_MAX) { in PHP_FUNCTION() 214 shmop->size = shm.shm_segsz; in PHP_FUNCTION()
|
/PHP-8.0/.github/workflows/ |
H A D | nightly.yml | 416 - name: Test File Cache (prime shm) 423 - name: Test File Cache (prime shm, use shm) 430 - name: Test File Cache (prime shm, use file)
|
/PHP-8.0/ |
H A D | NEWS | 49 . Fixed potential NULL pointer dereference in Windows shm*() functions. (cmb)
|
Completed in 19 milliseconds