Home
last modified time | relevance | path

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

/PHP-8.0/ext/opcache/
H A Dshared_alloc_shm.c56 size_t allocate_size = 0, remaining_bytes = requested_size, seg_allocate_size; in create_segments() local
75 allocate_size = MIN(requested_size, seg_allocate_size); in create_segments()
76 first_segment_id = shmget(first_segment_key, allocate_size, shmget_flags); in create_segments()
101 allocate_size = MIN(remaining_bytes, seg_allocate_size); in create_segments()
103 shared_segments[i].shm_id = shmget(IPC_PRIVATE, allocate_size, shmget_flags); in create_segments()
121 shared_segments[i].common.size = allocate_size; in create_segments()
122 remaining_bytes -= allocate_size; in create_segments()
H A Dzend_shared_alloc.c99 static void no_memory_bailout(size_t allocate_size, char *error) in no_memory_bailout() argument
101 …"Unable to allocate shared memory segment of %zu bytes: %s: %s (%d)", allocate_size, error?error:"… in no_memory_bailout()

Completed in 7 milliseconds