/fuchsia/zircon/kernel/lib/fbl/ |
H A D | arena_tests.cpp | 83 objs[i] = arena.Alloc(); 132 *top++ = arena.Alloc(); 137 EXPECT_NULL(arena.Alloc(), ""); 138 EXPECT_NULL(arena.Alloc(), ""); 139 EXPECT_NULL(arena.Alloc(), ""); 140 EXPECT_NULL(arena.Alloc(), ""); 147 *top++ = arena.Alloc(); 149 *top++ = arena.Alloc(); 151 EXPECT_NULL(arena.Alloc(), ""); 152 EXPECT_NULL(arena.Alloc(), ""); [all...] |
H A D | arena.cpp | 236 void* Arena::Alloc() {
|
/fuchsia/zircon/kernel/arch/arm64/hypervisor/ |
H A D | el2_cpu_state.cpp | 23 zx_status_t status = l0_page_.Alloc(0); 27 status = l1_page_.Alloc(0); 52 zx_status_t El2Stack::Alloc() { function in class:El2Stack 53 return page_.Alloc(0); 102 zx_status_t status = stack.Alloc();
|
H A D | el2_cpu_state_priv.h | 27 zx_status_t Alloc();
|
H A D | vcpu.cpp | 118 zx_status_t El2StatePtr::Alloc() { function in class:El2StatePtr 119 zx_status_t status = page_.Alloc(0); 157 status = vcpu->el2_state_.Alloc();
|
/fuchsia/zircon/kernel/lib/hypervisor/include/hypervisor/ |
H A D | page.h | 25 zx_status_t Alloc(uint8_t fill) { function in class:hypervisor::Page
|
H A D | trap_map.h | 31 PortPacket* Alloc() override;
|
/fuchsia/zircon/kernel/object/ |
H A D | buffer_chain_tests.cpp | 22 BufferChain* bc = BufferChain::Alloc(0); 29 bc = BufferChain::Alloc(1); 36 bc = BufferChain::Alloc(BufferChain::kContig); 43 bc = BufferChain::Alloc(BufferChain::kContig + 1); 50 bc = BufferChain::Alloc(10000 * BufferChain::kRawDataSize); 70 BufferChain* bc = BufferChain::Alloc(kSize);
|
H A D | handle.cpp | 83 void* Handle::Alloc(const fbl::RefPtr<Dispatcher>& dispatcher, function in class:Handle 88 void* addr = arena_.Alloc(); 112 void* addr = Alloc(dispatcher, "new", &base_value); 131 void* addr = Alloc(source->dispatcher(), "duplicate", &base_value);
|
H A D | message_packet.cpp | 56 BufferChain* chain = BufferChain::Alloc(payload_offset + data_size);
|
H A D | port_dispatcher.cpp | 45 virtual PortPacket* Alloc(); 64 PortPacket* ArenaPortAllocator::Alloc() { function in class:ArenaPortAllocator 218 auto port_packet = port_allocator.Alloc();
|
/fuchsia/zircon/kernel/arch/x86/hypervisor/ |
H A D | vmx_cpu_state.cpp | 71 zx_status_t VmxPage::Alloc(const VmxInfo& vmx_info, uint8_t fill) { function in class:VmxPage 85 return hypervisor::Page::Alloc(fill); 175 zx_status_t status = page.Alloc(vmx_info, 0);
|
H A D | guest.cpp | 59 status = guest->msr_bitmaps_page_.Alloc(vmx_info, UINT8_MAX);
|
/fuchsia/zircon/kernel/arch/x86/include/arch/ |
H A D | hypervisor.h | 28 zx_status_t Alloc(const VmxInfo& info, uint8_t fill); 31 using hypervisor::Page::Alloc;
|
/fuchsia/zircon/kernel/lib/fbl/include/fbl/ |
H A D | arena.h | 21 // Both Alloc() and Free() are always O(1) and memory always comes 35 void* Alloc(); 148 void* addr = arena_.Alloc();
|
/fuchsia/zircon/kernel/lib/hypervisor/ |
H A D | trap_map.cpp | 33 return Alloc(); 36 PortPacket* BlockingPortAllocator::Alloc() { function in class:hypervisor::BlockingPortAllocator
|
/fuchsia/zircon/system/dev/video/usb-video/ |
H A D | video-buffer.cpp | 53 status = res->Alloc(max_frame_size); 65 zx_status_t VideoBuffer::Alloc(uint32_t max_frame_size) { function in class:video::usb::VideoBuffer
|
/fuchsia/zircon/kernel/arch/arm64/include/arch/ |
H A D | hypervisor.h | 93 zx_status_t Alloc();
|
/fuchsia/zircon/kernel/object/include/object/ |
H A D | handle.h | 147 static void* Alloc(const fbl::RefPtr<Dispatcher>&, const char* what,
|
H A D | port_dispatcher.h | 86 virtual PortPacket* Alloc() = 0;
|
H A D | buffer_chain.h | 89 static BufferChain* Alloc(size_t size) { function in class:BufferChain
|
/fuchsia/zircon/kernel/vm/ |
H A D | vm_unittest.cpp | 152 auto err = kaspace->Alloc( 154 ASSERT_EQ(0, err, "VmAspace::Alloc region of memory"); 155 ASSERT_NE(nullptr, ptr, "VmAspace::Alloc region of memory"); 220 zx_status_t err = aspace->Alloc("test0", alloc_size, &ptr, 0, 0, kArchRwFlags); 221 ASSERT_EQ(0, err, "VmAspace::Alloc region of memory"); 222 ASSERT_NE(nullptr, ptr, "VmAspace::Alloc region of memory"); 230 err = aspace->Alloc("test1", 16384, &ptr, 0, 0, kArchRwFlags); 231 ASSERT_EQ(0, err, "VmAspace::Alloc region of memory"); 232 ASSERT_NE(nullptr, ptr, "VmAspace::Alloc region of memory"); 240 err = aspace->Alloc("test [all...] |
H A D | vmm.cpp | 134 zx_status_t err = test_aspace->Alloc("alloc test", argv[2].u, &ptr, align, 0, 0); 135 printf("VmAspace::Alloc returns %d, ptr %p\n", err, ptr);
|
/fuchsia/zircon/kernel/vm/include/vm/ |
H A D | vm_aspace.h | 141 zx_status_t Alloc(const char* name, size_t size, void** ptr, uint8_t align_pow2,
|
/fuchsia/zircon/system/ulib/hid-parser/ |
H A D | parser.cpp | 102 static char* Alloc(size_t size) { function in class:hid::impl::ParseState 149 auto mem = Alloc(device_sz + fields_sz + collect_sz); 585 // memory was allocated via ParseState::Alloc()
|