Searched refs:allocate_size (Results 1 – 2 of 2) sorted by relevance
/PHP-7.1/ext/opcache/ |
H A D | shared_alloc_shm.c | 57 size_t allocate_size = 0, remaining_bytes = requested_size, seg_allocate_size; in create_segments() local 76 allocate_size = MIN(requested_size, seg_allocate_size); in create_segments() 77 first_segment_id = shmget(first_segment_key, allocate_size, shmget_flags); in create_segments() 102 allocate_size = MIN(remaining_bytes, seg_allocate_size); in create_segments() 104 shared_segments[i].shm_id = shmget(IPC_PRIVATE, allocate_size, shmget_flags); in create_segments() 122 shared_segments[i].common.size = allocate_size; in create_segments() 123 remaining_bytes -= allocate_size; in create_segments()
|
H A D | zend_shared_alloc.c | 100 static void no_memory_bailout(size_t allocate_size, char *error) in no_memory_bailout() argument 102 …"Unable to allocate shared memory segment of %zu bytes: %s: %s (%d)", allocate_size, error?error:"… in no_memory_bailout()
|
Completed in 7 milliseconds