Searched refs:committed (Results 1 - 11 of 11) sorted by relevance

/fuchsia/zircon/kernel/lib/fbl/
H A Darena_tests.cpp163 // Test helper. Counts the number of committed and uncommitted pages in the
164 // range. Returns {*committed, *uncommitted} = {0, 0} if |start| doesn't
167 vaddr_t start, vaddr_t end, size_t* committed, size_t* uncommitted) {
169 *committed = 0;
177 // It's a VMAR, not a mapping, so no pages are committed.
185 *committed = mapping->vmo()->AllocatedPagesInRange(
187 *uncommitted = (end_off - start_off) / PAGE_SIZE - *committed;
201 // Nothing is allocated yet, so no pages should be committed.
202 size_t committed; local
205 count_committed_pages(start, end, &committed,
166 count_committed_pages( vaddr_t start, vaddr_t end, size_t* committed, size_t* uncommitted) argument
301 size_t committed; local
436 size_t committed; local
[all...]
/fuchsia/zircon/third_party/ulib/jemalloc/test/include/test/
H A Dextent_hooks.h10 size_t size, bool committed, unsigned arena_ind);
20 size_t size, size_t size_a, size_t size_b, bool committed,
23 size_t size_a, void *addr_b, size_t size_b, bool committed,
99 bool committed, unsigned arena_ind)
103 TRACE_HOOK("%s(extent_hooks=%p, addr=%p, size=%zu, committed=%s, "
104 "arena_ind=%u)\n", __func__, extent_hooks, addr, size, committed ?
113 err = default_hooks->dalloc(default_hooks, addr, size, committed, 0);
210 size_t size_a, size_t size_b, bool committed, unsigned arena_ind)
215 "size_b=%zu, committed=%s, arena_ind=%u)\n", __func__, extent_hooks,
216 addr, size, size_a, size_b, committed
98 extent_dalloc_hook(extent_hooks_t *extent_hooks, void *addr, size_t size, bool committed, unsigned arena_ind) argument
209 extent_split_hook(extent_hooks_t *extent_hooks, void *addr, size_t size, size_t size_a, size_t size_b, bool committed, unsigned arena_ind) argument
233 extent_merge_hook(extent_hooks_t *extent_hooks, void *addr_a, size_t size_a, void *addr_b, size_t size_b, bool committed, unsigned arena_ind) argument
[all...]
/fuchsia/zircon/third_party/ulib/jemalloc/include/jemalloc/internal/
H A Dextent_inlines.h31 void extent_committed_set(extent_t *extent, bool committed);
36 bool committed, bool slab);
230 extent_committed_set(extent_t *extent, bool committed) argument
232 extent->e_committed = committed;
249 size_t usize, size_t sn, bool active, bool zeroed, bool committed,
261 extent_committed_set(extent, committed);
248 extent_init(extent_t *extent, arena_t *arena, void *addr, size_t size, size_t usize, size_t sn, bool active, bool zeroed, bool committed, bool slab) argument
/fuchsia/zircon/kernel/vm/
H A Dvm_unittest.cpp356 uint64_t committed; local
357 auto ret = vmo->CommitRange(0, alloc_size, &committed);
359 EXPECT_EQ(ROUNDUP_PAGE_SIZE(alloc_size), committed, local
399 EXPECT_EQ(ZX_OK, status, "pinning committed range\n");
416 EXPECT_EQ(ZX_OK, status, "pinning committed range\n");
487 uint64_t committed; local
488 auto ret = vmo->CommitRange(0, alloc_size, &committed);
490 EXPECT_EQ(ROUNDUP_PAGE_SIZE(alloc_size), committed, local
930 uint64_t committed; local
931 status = vmo->CommitRange(PAGE_SIZE, PAGE_SIZE, &committed);
933 EXPECT_EQ(static_cast<size_t>(PAGE_SIZE), committed, "committing vm object\\n"); local
[all...]
H A Dvm_aspace.cpp490 uint64_t committed; local
491 status = vmo->CommitRange(0, size, &committed);
495 if (static_cast<size_t>(committed) < size) {
497 static_cast<size_t>(committed) / PAGE_SIZE);
H A Dvm_object_paged.cpp536 zx_status_t VmObjectPaged::CommitRange(uint64_t offset, uint64_t len, uint64_t* committed) {
540 if (committed) {
541 *committed = 0;
610 if (committed) {
611 *committed += PAGE_SIZE;
618 DEBUG_ASSERT(!committed || *committed == count * PAGE_SIZE);
1183 // 1) vmo has no pages committed currently
/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/
H A Darena_reset.c263 bool committed, unsigned arena_ind)
265 TRACE_HOOK("%s(extent_hooks=%p, addr=%p, size=%zu, committed=%s, "
266 "arena_ind=%u)\n", __func__, extent_hooks, addr, size, committed ?
262 extent_dalloc_unmap(extent_hooks_t *extent_hooks, void *addr, size_t size, bool committed, unsigned arena_ind) argument
/fuchsia/zircon/third_party/ulib/jemalloc/src/
H A Dextent.c13 size_t size, bool committed, unsigned arena_ind);
28 size_t size, size_t size_a, size_t size_b, bool committed,
31 size_t size_a, void *addr_b, size_t size_b, bool committed,
704 bool zeroed, committed; local
724 committed = false;
726 &zeroed, &committed, arena->dss_prec);
728 arena_extent_sn_next(arena), false, zeroed, committed, false);
1018 bool committed, unsigned arena_ind)
1209 size_t size_a, size_t size_b, bool committed, unsigned arena_ind)
1300 void *addr_b, size_t size_b, bool committed, unsigne
1017 extent_dalloc_default(extent_hooks_t *extent_hooks, void *addr, size_t size, bool committed, unsigned arena_ind) argument
1208 extent_split_default(extent_hooks_t *extent_hooks, void *addr, size_t size, size_t size_a, size_t size_b, bool committed, unsigned arena_ind) argument
1299 extent_merge_default(extent_hooks_t *extent_hooks, void *addr_a, size_t size_a, void *addr_b, size_t size_b, bool committed, unsigned arena_ind) argument
[all...]
/fuchsia/zircon/kernel/lib/hypervisor/
H A Dhypervisor_unittest.cpp43 uint64_t committed = 0; local
44 zx_status_t status = vmo->CommitRange(0, vmo->size(), &committed);
48 if (committed != vmo->size()) {
/fuchsia/zircon/kernel/vm/include/vm/
H A Dvm_object.h72 virtual zx_status_t CommitRange(uint64_t offset, uint64_t len, uint64_t* committed) { argument
81 // Pin the given range of the vmo. If any pages are not committed, this
H A Dvm_object_paged.h40 // returned vmo has all of its pages committed, and does not allow
60 zx_status_t CommitRange(uint64_t offset, uint64_t len, uint64_t* committed) override;

Completed in 49 milliseconds