Home
last modified time | relevance | path

Searched refs:shm (Results 1 – 15 of 15) sorted by relevance

/PHP-8.2/TSRM/
H A Dtsrm_win32.c71 if (globals->shm) { in tsrm_win32_dtor()
403 for (ptr = TWG(shm); ptr < (TWG(shm) + TWG(shm_size)); ptr++) { in shm_get()
632 shm_pair *shm; in shmget() local
686 if (!shm) { in shmget()
702 shm->descriptor->shm_atime = shm->descriptor->shm_dtime = 0; in shmget()
703 shm->descriptor->shm_lpid = shm->descriptor->shm_nattch = 0; in shmget()
707 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget()
724 if (!shm || !shm->segment) { in shmat()
728 shm->addr = shm->descriptor + sizeof(shm->descriptor); in shmat()
741 if (!shm || !shm->segment) { in shmdt()
[all …]
H A Dtsrm_win32.h59 shm_pair *shm; member
/PHP-8.2/ext/sysvshm/
H A Dsysvshm.stub.php15 function shm_detach(SysvSharedMemory $shm): bool {} argument
17 function shm_has_var(SysvSharedMemory $shm, int $key): bool {} argument
19 function shm_remove(SysvSharedMemory $shm): bool {} argument
21 function shm_put_var(SysvSharedMemory $shm, int $key, mixed $value): bool {} argument
23 function shm_get_var(SysvSharedMemory $shm, int $key): mixed {} argument
25 function shm_remove_var(SysvSharedMemory $shm, int $key): bool {} argument
H A Dsysvshm_arginfo.h11 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.2/sapi/fpm/fpm/
H A Dfpm_status.h23 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.2/ext/shmop/tests/
H A D001.phpt11 echo "shm open for create: ";
21 echo "shm write test #1: ";
31 echo "shm open for read only: ";
56 echo "shm write test #2: ";
74 shm open for create: ok
75 shm size is: %d
76 shm write test #1: ok
78 shm open for read only: ok
81 shm open for read only: ok
82 shm write test #2: ok
[all …]
/PHP-8.2/ext/opcache/
H A Dconfig.m4120 #include <sys/shm.h>
128 char *shm;
143 shmdt(shm);
153 shmdt(shm);
160 strcpy(shm, "hello");
166 strcpy(shm, "bye");
206 char *shm;
213 strcpy(shm, "hello");
219 strcpy(shm, "bye");
269 char *shm;
[all …]
/PHP-8.2/ext/hash/tests/
H A Dxxh3_convert_secret_to_string.phpt2 xxh3 convert secret to string should not modify (shm) array
/PHP-8.2/ext/shmop/
H A Dshmop.c138 struct shmid_ds shm; in PHP_FUNCTION() local
191 if (shmctl(shmop->shmid, IPC_STAT, &shm)) { in PHP_FUNCTION()
197 if (shm.shm_segsz > ZEND_LONG_MAX) { in PHP_FUNCTION()
208 shmop->size = shm.shm_segsz; in PHP_FUNCTION()
/PHP-8.2/ext/opcache/tests/
H A Dgh9259_001.phpt2 …-9259 001 (Setting opcache.interned_strings_buffer to a very high value leads to corruption of shm)
H A Dgh9259_002.phpt2 …-9259 002 (Setting opcache.interned_strings_buffer to a very high value leads to corruption of shm)
H A Dgh9259_003.phpt2 …-9259 003 (Setting opcache.interned_strings_buffer to a very high value leads to corruption of shm)
/PHP-8.2/Zend/tests/
H A Dgh12366.phpt11 …tamp and use opcache.file_update_protection=1 to prevent included file from being persisted in shm.
/PHP-8.2/.github/workflows/
H A Dnightly.yml651 - name: Test File Cache (prime shm)
658 - name: Test File Cache (prime shm, use shm)
665 - name: Test File Cache (prime shm, use file)
/PHP-8.2/
H A DNEWS430 . Fix crash when converting array data for array in shm in xxh3. (nielsdos)
683 shm). (ilutov)
1356 . Avoid adding an unnecessary read-lock when loading script from shm if
2098 . Fixed potential NULL pointer dereference Windows shm*() functions. (cmb)

Completed in 26 milliseconds