Home
last modified time | relevance | path

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

/PHP-5.6/ext/opcache/
H A Dshared_alloc_shm.c57 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 Dzend_shared_alloc.c102 static void no_memory_bailout(size_t allocate_size, char *error) in no_memory_bailout() argument
104 …"Unable to allocate shared memory segment of %ld bytes: %s: %s (%d)", allocate_size, error?error:"… in no_memory_bailout()

Completed in 9 milliseconds