D-Bus 1.16.0
|
DBusMemBlock object represents a single malloc()-returned block that gets chunked up into objects in the memory pool. More...
Data Fields | |
DBusMemBlock * | next |
next block in the list, which is already used up; only saved so we can free all the blocks when we free the mem pool. | |
size_t | used_so_far |
bytes of this block already allocated as elements. | |
unsigned char | elements [] |
the block data, actually allocated to required size | |
DBusMemBlock object represents a single malloc()-returned block that gets chunked up into objects in the memory pool.
Definition at line 80 of file dbus-mempool.c.
unsigned char DBusMemBlock::elements[] |
the block data, actually allocated to required size
Definition at line 96 of file dbus-mempool.c.
Referenced by _dbus_mem_pool_alloc(), and _dbus_mem_pool_dealloc().
DBusMemBlock* DBusMemBlock::next |
next block in the list, which is already used up; only saved so we can free all the blocks when we free the mem pool.
Definition at line 82 of file dbus-mempool.c.
Referenced by _dbus_mem_pool_alloc(), _dbus_mem_pool_dealloc(), and _dbus_mem_pool_free().
size_t DBusMemBlock::used_so_far |
bytes of this block already allocated as elements.
Definition at line 87 of file dbus-mempool.c.
Referenced by _dbus_mem_pool_alloc().