Searched refs:allocate_size (Results 1 - 2 of 2) sorted by relevance

/PHP_5_5/ext/opcache/
H A Dshared_alloc_shm.c57 size_t allocate_size = 0, remaining_bytes = requested_size, seg_allocate_size; local
76 allocate_size = MIN(requested_size, seg_allocate_size);
77 first_segment_id = shmget(first_segment_key, allocate_size, shmget_flags);
102 allocate_size = MIN(remaining_bytes, seg_allocate_size);
104 shared_segments[i].shm_id = shmget(IPC_PRIVATE, allocate_size, shmget_flags);
122 shared_segments[i].common.size = allocate_size;
123 remaining_bytes -= allocate_size;
H A Dzend_shared_alloc.c102 static void no_memory_bailout(size_t allocate_size, char *error) argument
104 zend_accel_error(ACCEL_LOG_FATAL, "Unable to allocate shared memory segment of %ld bytes: %s: %s (%d)", allocate_size, error?error:"unknown", strerror(errno), errno );

Completed in 33 milliseconds