Home
last modified time | relevance | path

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

/PHP-7.4/TSRM/
H A Dtsrm_win32.c48 globals->shm = NULL; in tsrm_win32_ctor()
72 if (globals->shm) { in tsrm_win32_dtor()
79 free(globals->shm); in tsrm_win32_dtor()
406 for (ptr = TWG(shm); ptr < (TWG(shm) + TWG(shm_size)); ptr++) { in shm_get()
426 TWG(shm) = newptr; in shm_get()
620 shm_pair *shm; in shmget() local
668 if (!shm) { in shmget()
686 shm->descriptor->shm_atime = shm->descriptor->shm_dtime = 0; in shmget()
687 shm->descriptor->shm_lpid = shm->descriptor->shm_nattch = 0; in shmget()
691 …if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->sh… in shmget()
[all …]
H A Dtsrm_win32.h64 shm_pair *shm; member
/PHP-7.4/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-7.4/ext/shmop/tests/
H A D001.phpt15 echo "shm open for create: ";
25 echo "shm write test #1: ";
37 echo "shm open for read only: ";
60 echo "shm write test #1: ";
80 shm open for create: ok
81 shm size is: 1024
82 shm write test #1: ok
84 shm open for read only: ok
88 shm open for read only: ok
89 shm write test #1: ok
[all …]
/PHP-7.4/ext/opcache/
H A Dconfig.m430 #include <sys/shm.h>
38 char *shm;
53 shmdt(shm);
63 shmdt(shm);
70 strcpy(shm, "hello");
76 strcpy(shm, "bye");
115 char *shm;
122 strcpy(shm, "hello");
128 strcpy(shm, "bye");
168 char *shm;
[all …]
/PHP-7.4/ext/shmop/
H A Dshmop.c150 struct shmid_ds shm; in PHP_FUNCTION() local
204 if (shmctl(shmop->shmid, IPC_STAT, &shm)) { in PHP_FUNCTION()
210 if (shm.shm_segsz > ZEND_LONG_MAX) { in PHP_FUNCTION()
221 shmop->size = shm.shm_segsz; in PHP_FUNCTION()

Completed in 11 milliseconds