Searched refs:Alloc (Results 1 - 25 of 30) sorted by relevance

12

/fuchsia/zircon/kernel/lib/fbl/
H A Darena_tests.cpp83 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 Darena.cpp236 void* Arena::Alloc() {
/fuchsia/zircon/kernel/arch/arm64/hypervisor/
H A Del2_cpu_state.cpp23 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 Del2_cpu_state_priv.h27 zx_status_t Alloc();
H A Dvcpu.cpp118 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 Dpage.h25 zx_status_t Alloc(uint8_t fill) { function in class:hypervisor::Page
H A Dtrap_map.h31 PortPacket* Alloc() override;
/fuchsia/zircon/kernel/object/
H A Dbuffer_chain_tests.cpp22 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 Dhandle.cpp83 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 Dmessage_packet.cpp56 BufferChain* chain = BufferChain::Alloc(payload_offset + data_size);
H A Dport_dispatcher.cpp45 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 Dvmx_cpu_state.cpp71 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 Dguest.cpp59 status = guest->msr_bitmaps_page_.Alloc(vmx_info, UINT8_MAX);
/fuchsia/zircon/kernel/arch/x86/include/arch/
H A Dhypervisor.h28 zx_status_t Alloc(const VmxInfo& info, uint8_t fill);
31 using hypervisor::Page::Alloc;
/fuchsia/zircon/kernel/lib/fbl/include/fbl/
H A Darena.h21 // 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 Dtrap_map.cpp33 return Alloc();
36 PortPacket* BlockingPortAllocator::Alloc() { function in class:hypervisor::BlockingPortAllocator
/fuchsia/zircon/system/dev/video/usb-video/
H A Dvideo-buffer.cpp53 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 Dhypervisor.h93 zx_status_t Alloc();
/fuchsia/zircon/kernel/object/include/object/
H A Dhandle.h147 static void* Alloc(const fbl::RefPtr<Dispatcher>&, const char* what,
H A Dport_dispatcher.h86 virtual PortPacket* Alloc() = 0;
H A Dbuffer_chain.h89 static BufferChain* Alloc(size_t size) { function in class:BufferChain
/fuchsia/zircon/kernel/vm/
H A Dvm_unittest.cpp152 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 Dvmm.cpp134 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 Dvm_aspace.h141 zx_status_t Alloc(const char* name, size_t size, void** ptr, uint8_t align_pow2,
/fuchsia/zircon/system/ulib/hid-parser/
H A Dparser.cpp102 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()

Completed in 127 milliseconds

12