OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kSystemPageSize
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/third_party/WebKit/Source/wtf/
PageAllocator.h
52
static const size_t
kSystemPageSize
= 4096;
53
static const size_t kSystemPageOffsetMask =
kSystemPageSize
- 1;
75
// len must be a multiple of
kSystemPageSize
bytes.
80
// len must be a multiple of
kSystemPageSize
bytes.
91
// len must be a multiple of
kSystemPageSize
bytes.
97
// len must be a multiple of
kSystemPageSize
bytes.
PartitionAlloc.cpp
46
COMPILE_ASSERT(WTF::
kSystemPageSize
* 4 <= WTF::kPartitionPageSize, ok_partition_page_size);
47
COMPILE_ASSERT(!(WTF::kPartitionPageSize % WTF::
kSystemPageSize
), ok_partition_page_multiple);
51
COMPILE_ASSERT(WTF::kPageMetadataSize * WTF::kNumPartitionPagesPerSuperPage <= WTF::
kSystemPageSize
, page_metadata_fits_in_hole);
77
if (size > kMaxSystemPagesPerSlotSpan *
kSystemPageSize
) {
78
ASSERT(!(size %
kSystemPageSize
));
79
return size /
kSystemPageSize
;
81
ASSERT(size <= kMaxSystemPagesPerSlotSpan *
kSystemPageSize
);
83
size_t pageSize =
kSystemPageSize
* i;
360
setSystemPagesInaccessible(superPage,
kSystemPageSize
);
361
setSystemPagesInaccessible(superPage + (
kSystemPageSize
* 2), kPartitionPageSize - (kSystemPageSize * 2))
[
all
...]
PartitionAllocTest.cpp
93
size_t numSlots = (bucket->numSystemPagesPerSlotSpan * WTF::
kSystemPageSize
) / realSize;
118
size_t numSlots = (page->bucket->numSystemPagesPerSlotSpan * WTF::
kSystemPageSize
) / size;
534
size = (((WTF::kPartitionPageSize * WTF::kMaxPartitionPagesPerSlotSpan) - WTF::
kSystemPageSize
) / 2) - kExtraAllocSize;
581
size -= WTF::
kSystemPageSize
;
630
requestedSize = (256 * 1024) - WTF::
kSystemPageSize
- kExtraAllocSize;
636
EXPECT_EQ(requestedSize + WTF::
kSystemPageSize
, actualSize);
676
size_t size = WTF::
kSystemPageSize
- kExtraAllocSize;
703
size = WTF::kGenericMaxBucketed + 16 * WTF::
kSystemPageSize
;
706
ptr2 = partitionReallocGeneric(genericAllocator.root(), ptr, WTF::kGenericMaxBucketed + 8 * WTF::
kSystemPageSize
);
708
EXPECT_EQ(actualSize - 8 * WTF::
kSystemPageSize
, partitionAllocGetSize(ptr2))
[
all
...]
PartitionAlloc.h
154
static const size_t kNumSystemPagesPerPartitionPage = kPartitionPageSize /
kSystemPageSize
;
187
static const size_t kGenericMaxDirectMapped = INT_MAX -
kSystemPageSize
;
387
return reinterpret_cast<char*>(pointerAsUint +
kSystemPageSize
);
409
ASSERT(superPageOffset >
kSystemPageSize
);
410
ASSERT(superPageOffset <
kSystemPageSize
+ (kNumPartitionPagesPerSuperPage * kPageMetadataSize));
411
uintptr_t partitionPageIndex = (superPageOffset -
kSystemPageSize
) >> kPageMetadataShift;
Completed in 84 milliseconds