shm                49 TSRM/tsrm_win32.c 	globals->shm	 = NULL;
shm                73 TSRM/tsrm_win32.c 	if (globals->shm) {
shm                74 TSRM/tsrm_win32.c 		for (ptr = globals->shm; ptr < (globals->shm + globals->shm_size); ptr++) {
shm                80 TSRM/tsrm_win32.c 		free(globals->shm);
shm               417 TSRM/tsrm_win32.c 	for (ptr = TWG(shm); ptr < (TWG(shm) + TWG(shm_size)); ptr++) {
shm               428 TSRM/tsrm_win32.c 	if (ptr < (TWG(shm) + TWG(shm_size))) {
shm               432 TSRM/tsrm_win32.c 	newptr = (shm_pair*)realloc((void*)TWG(shm), (TWG(shm_size)+1)*sizeof(shm_pair));
shm               437 TSRM/tsrm_win32.c 	TWG(shm) = newptr;
shm               593 TSRM/tsrm_win32.c 	shm_pair *shm;
shm               611 TSRM/tsrm_win32.c 			info_handle	= CreateFileMapping(INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, sizeof(shm->descriptor), shm_info);
shm               629 TSRM/tsrm_win32.c 	shm = shm_get(key, NULL);
shm               630 TSRM/tsrm_win32.c 	if (!shm) {
shm               635 TSRM/tsrm_win32.c 	shm->segment = shm_handle;
shm               636 TSRM/tsrm_win32.c 	shm->info	 = info_handle;
shm               637 TSRM/tsrm_win32.c 	shm->descriptor = MapViewOfFileEx(shm->info, FILE_MAP_ALL_ACCESS, 0, 0, 0, NULL);
shm               639 TSRM/tsrm_win32.c 	if (NULL != shm->descriptor && created) {
shm               640 TSRM/tsrm_win32.c 		shm->descriptor->shm_perm.key	= key;
shm               641 TSRM/tsrm_win32.c 		shm->descriptor->shm_segsz		= size;
shm               642 TSRM/tsrm_win32.c 		shm->descriptor->shm_ctime		= time(NULL);
shm               643 TSRM/tsrm_win32.c 		shm->descriptor->shm_cpid		= getpid();
shm               644 TSRM/tsrm_win32.c 		shm->descriptor->shm_perm.mode	= flags;
shm               646 TSRM/tsrm_win32.c 		shm->descriptor->shm_perm.cuid	= shm->descriptor->shm_perm.cgid= 0;
shm               647 TSRM/tsrm_win32.c 		shm->descriptor->shm_perm.gid	= shm->descriptor->shm_perm.uid = 0;
shm               648 TSRM/tsrm_win32.c 		shm->descriptor->shm_atime		= shm->descriptor->shm_dtime	= 0;
shm               649 TSRM/tsrm_win32.c 		shm->descriptor->shm_lpid		= shm->descriptor->shm_nattch	= 0;
shm               650 TSRM/tsrm_win32.c 		shm->descriptor->shm_perm.mode	= shm->descriptor->shm_perm.seq	= 0;
shm               653 TSRM/tsrm_win32.c 	if (NULL != shm->descriptor && (shm->descriptor->shm_perm.key != key || size > shm->descriptor->shm_segsz)) {
shm               654 TSRM/tsrm_win32.c 		if (NULL != shm->segment) {
shm               655 TSRM/tsrm_win32.c 			CloseHandle(shm->segment);
shm               657 TSRM/tsrm_win32.c 		UnmapViewOfFile(shm->descriptor);
shm               658 TSRM/tsrm_win32.c 		CloseHandle(shm->info);
shm               667 TSRM/tsrm_win32.c 	shm_pair *shm = shm_get(key, NULL);
shm               669 TSRM/tsrm_win32.c 	if (!shm->segment) {
shm               673 TSRM/tsrm_win32.c 	shm->descriptor->shm_atime = time(NULL);
shm               674 TSRM/tsrm_win32.c 	shm->descriptor->shm_lpid  = getpid();
shm               675 TSRM/tsrm_win32.c 	shm->descriptor->shm_nattch++;
shm               677 TSRM/tsrm_win32.c 	shm->addr = MapViewOfFileEx(shm->segment, FILE_MAP_ALL_ACCESS, 0, 0, 0, NULL);
shm               679 TSRM/tsrm_win32.c 	return shm->addr;
shm               684 TSRM/tsrm_win32.c 	shm_pair *shm = shm_get(0, (void*)shmaddr);
shm               686 TSRM/tsrm_win32.c 	if (!shm->segment) {
shm               690 TSRM/tsrm_win32.c 	shm->descriptor->shm_dtime = time(NULL);
shm               691 TSRM/tsrm_win32.c 	shm->descriptor->shm_lpid  = getpid();
shm               692 TSRM/tsrm_win32.c 	shm->descriptor->shm_nattch--;
shm               694 TSRM/tsrm_win32.c 	return UnmapViewOfFile(shm->addr) ? 0 : -1;
shm               698 TSRM/tsrm_win32.c 	shm_pair *shm = shm_get(key, NULL);
shm               700 TSRM/tsrm_win32.c 	if (!shm->segment) {
shm               706 TSRM/tsrm_win32.c 			memcpy(buf, shm->descriptor, sizeof(struct shmid_ds));
shm               710 TSRM/tsrm_win32.c 			shm->descriptor->shm_ctime		= time(NULL);
shm               711 TSRM/tsrm_win32.c 			shm->descriptor->shm_perm.uid	= buf->shm_perm.uid;
shm               712 TSRM/tsrm_win32.c 			shm->descriptor->shm_perm.gid	= buf->shm_perm.gid;
shm               713 TSRM/tsrm_win32.c 			shm->descriptor->shm_perm.mode	= buf->shm_perm.mode;
shm               717 TSRM/tsrm_win32.c 			if (shm->descriptor->shm_nattch < 1) {
shm               718 TSRM/tsrm_win32.c 				shm->descriptor->shm_perm.key = -1;
shm                65 TSRM/tsrm_win32.h 	shm_pair		*shm;
shm               151 ext/shmop/shmop.c 	struct shmid_ds shm;
shm               205 ext/shmop/shmop.c 	if (shmctl(shmop->shmid, IPC_STAT, &shm)) {
shm               216 ext/shmop/shmop.c 	shmop->size = shm.shm_segsz;
shm                25 sapi/fpm/fpm/fpm_status.h void fpm_status_update_activity(struct fpm_shm_s *shm, int idle, int active, int total, unsigned cur_lq, int max_lq, int clear_last_update);
shm                26 sapi/fpm/fpm/fpm_status.h void fpm_status_update_accepted_conn(struct fpm_shm_s *shm, unsigned long int accepted_conn);
shm                27 sapi/fpm/fpm/fpm_status.h void fpm_status_increment_accepted_conn(struct fpm_shm_s *shm);
shm                28 sapi/fpm/fpm/fpm_status.h void fpm_status_set_pm(struct fpm_shm_s *shm, int pm);
shm                29 sapi/fpm/fpm/fpm_status.h void fpm_status_update_max_children_reached(struct fpm_shm_s *shm, unsigned int max_children_reached);
shm                30 sapi/fpm/fpm/fpm_status.h void fpm_status_increment_max_children_reached(struct fpm_shm_s *shm);