/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/ |
H A D | set_mempolicy04.c | 82 float max_pages = 1.00 * total_pages / nodes->cnt + treshold; in alloc_and_check() local 84 if (nodes->counters[i] > min_pages && nodes->counters[i] < max_pages) { in alloc_and_check() 86 nodes->map[i], nodes->counters[i], min_pages, max_pages); in alloc_and_check() 89 nodes->map[i], nodes->counters[i], min_pages, max_pages); in alloc_and_check()
|
/third_party/libuv/src/unix/ |
H A D | haiku.c | 66 return (sinfo.max_pages - sinfo.used_pages) * B_PAGE_SIZE; in uv_get_free_memory() 78 return sinfo.max_pages * B_PAGE_SIZE; in uv_get_total_memory()
|
/third_party/node/deps/uv/src/unix/ |
H A D | haiku.c | 66 return (sinfo.max_pages - sinfo.used_pages) * B_PAGE_SIZE; in uv_get_free_memory() 78 return sinfo.max_pages * B_PAGE_SIZE; in uv_get_total_memory()
|
/third_party/node/deps/v8/src/objects/ |
H A D | backing-store.cc | 546 size_t max_pages) { in CopyWasmMemory() 551 isolate, new_pages, max_pages, in CopyWasmMemory() 572 size_t max_pages) { in GrowWasmMemoryInPlace() 601 max_pages = std::min(max_pages, byte_capacity_ / wasm::kWasmPageSize); in GrowWasmMemoryInPlace() 612 if (delta_pages > max_pages) return {}; // would never work. in GrowWasmMemoryInPlace() 619 if (current_pages > (max_pages - delta_pages)) return {}; in GrowWasmMemoryInPlace() 544 CopyWasmMemory(Isolate* isolate, size_t new_pages, size_t max_pages) CopyWasmMemory() argument 570 GrowWasmMemoryInPlace(Isolate* isolate, size_t delta_pages, size_t max_pages) GrowWasmMemoryInPlace() argument
|
H A D | backing-store.h | 120 size_t max_pages); 126 size_t max_pages);
|
H A D | js-array-buffer.cc | 154 size_t* max_pages) { in GetResizableBackingStorePageConfiguration() 157 DCHECK_NOT_NULL(max_pages); in GetResizableBackingStorePageConfiguration() 170 JSArrayBuffer::kMaxByteLength, max_pages)) { in GetResizableBackingStorePageConfiguration() 151 GetResizableBackingStorePageConfiguration( Isolate* isolate, size_t byte_length, size_t max_byte_length, ShouldThrow should_throw, size_t* page_size, size_t* initial_pages, size_t* max_pages) GetResizableBackingStorePageConfiguration() argument
|
H A D | js-array-buffer.h | 120 size_t* max_pages);
|
/third_party/mesa3d/src/util/ |
H A D | os_misc.c | 258 if (ret != B_OK || info.max_pages <= 0) in os_get_total_physical_memory() 261 *size = (uint64_t)info.max_pages * (uint64_t)B_PAGE_SIZE; in os_get_total_physical_memory()
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-arraybuffer.cc | 84 size_t page_size, initial_pages, max_pages; in ConstructBuffer() local 87 &page_size, &initial_pages, &max_pages), in ConstructBuffer() 93 max_pages, kIsWasmMemory, shared); in ConstructBuffer()
|
/third_party/node/deps/v8/src/heap/ |
H A D | sweeper.h | 87 int required_freed_bytes, int max_pages = 0);
|
H A D | sweeper.cc | 489 int required_freed_bytes, int max_pages) { in ParallelSweepSpace() 504 if ((max_pages > 0) && (pages_freed >= max_pages)) return max_freed; in ParallelSweepSpace() 487 ParallelSweepSpace(AllocationSpace identity, SweepingMode sweeping_mode, int required_freed_bytes, int max_pages) ParallelSweepSpace() argument
|
H A D | paged-spaces.h | 384 int max_pages,
|
H A D | paged-spaces.cc | 993 int max_pages, int size_in_bytes, in ContributeToSweepingMain() 1004 required_freed_bytes, max_pages); in ContributeToSweepingMain() local 992 ContributeToSweepingMain(int required_freed_bytes, int max_pages, int size_in_bytes, AllocationOrigin origin) ContributeToSweepingMain() argument
|
/third_party/node/deps/v8/tools/ |
H A D | ll_prof.py | 268 def Add(self, code, max_pages=-1): 273 if max_pages >= 0 and pages > max_pages: 275 max_pages, code.name, code.origin), file=sys.stderr)
|
/third_party/node/deps/v8/src/snapshot/ |
H A D | deserializer.cc | 1178 size_t page_size, initial_pages, max_pages; in ReadSingleBytecodeData() local 1182 &initial_pages, &max_pages); in ReadSingleBytecodeData() 1188 initial_pages, max_pages, kIsWasmMemory, SharedFlag::kNotShared); in ReadSingleBytecodeData()
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-objects.cc | 939 uint32_t max_pages = wasm::kSpecMaxMemoryPages; in Grow() local 941 DCHECK_GE(max_pages, memory_object->maximum_pages()); in Grow() 942 max_pages = static_cast<uint32_t>(memory_object->maximum_pages()); in Grow() 944 DCHECK_GE(max_pages, old_pages); in Grow() 945 if (pages > max_pages - old_pages) return -1; in Grow() 948 backing_store->GrowWasmMemoryInPlace(isolate, pages, max_pages); in Grow()
|
/third_party/libfuse/include/ |
H A D | fuse_kernel.h | 161 * - add FUSE_MAX_PAGES, add max_pages to init_out 351 * FUSE_MAX_PAGES: init_out.max_pages contains the max number of req pages 814 uint16_t max_pages; member
|
/third_party/backends/backend/ |
H A D | epjitsu.c | 3266 int max_pages; in finecal() local 3274 max_pages = 2; in finecal() 3278 max_pages = 1; in finecal() 3356 for (i = 0; i < max_pages; i++) in finecal() 3369 for (i = 0; i < max_pages; i++) in finecal() 3408 for (i = 0; i < max_pages; i++) in finecal()
|
/third_party/rust/crates/libc/src/unix/haiku/ |
H A D | native.rs | 282 pub max_pages: u64,
|
/third_party/libfuse/lib/ |
H A D | fuse_lowlevel.c | 2115 outarg.max_pages = (se->conn.max_write - 1) / getpagesize() + 1;
|