Lines Matching defs:layout

47     void Admin::initialize(Zone *zone, const usword_t quantum_log2, const usword_t layout) {
53 _layout = layout;
386 void Admin::mark_allocated(void *address, const usword_t n, const usword_t layout, const bool refcount_is_one, const bool is_local) {
397 subzone->allocate(subzone->quantum_index(address), n, layout, refcount_is_one, is_local);
646 unsigned Admin::batch_allocate(Thread &thread, size_t &size, const usword_t layout, const bool refcount_is_one, const bool clear, void **results, unsigned num_requested) {
681 mark_allocated(results[i], n, layout, refcount_is_one, false);
689 void *Admin::thread_cache_allocate(Thread &thread, usword_t &size, const usword_t layout, const bool refcount_is_one, bool &is_local) {
692 FreeList &list = thread.allocation_cache(layout)[n];
716 // mark with requested layout and refcount
720 mark_allocated(address, n, layout, refcount_is_one, false);
725 mark_allocated(address, n, layout, false, true);
739 void *Admin::find_allocation(Thread &thread, usword_t &size, const usword_t layout, const bool refcount_is_one, bool &is_local) {
754 mark_allocated(address, n, layout, refcount_is_one, false);
758 mark_allocated(address, n, layout, false, true);
792 // Allocates a block of the same size and layout of the block identified by (subzone, q, block_address), at a lower heap address.
798 const unsigned layout = subzone->layout(q);
827 copySubzone->allocate(copyQ, n, layout, false, false);
835 // Allocates a block of the same size and layout of the block identified by (subzone, q, block_address), at a different heap address.
841 const unsigned layout = subzone->layout(q);
850 copySubzone->allocate(copyQ, n, layout, false, false);
862 // Allocates a block of the same size and layout of the block identified by (subzone, q, block_address), at a different heap address.