Lines Matching refs:allocated_bytes
92 Size allocated_bytes; in shm_toc_allocate() local
107 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_allocate()
110 + allocated_bytes; in shm_toc_allocate()
124 return ((char *) toc) + (total_bytes - allocated_bytes - nbytes); in shm_toc_allocate()
135 Size allocated_bytes; in shm_toc_freespace() local
141 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_freespace()
146 Assert(allocated_bytes + BUFFERALIGN(toc_bytes) <= total_bytes); in shm_toc_freespace()
147 return total_bytes - (allocated_bytes + BUFFERALIGN(toc_bytes)); in shm_toc_freespace()
175 Size allocated_bytes; in shm_toc_insert() local
187 allocated_bytes = vtoc->toc_allocated_bytes; in shm_toc_insert()
190 + allocated_bytes; in shm_toc_insert()