Home
last modified time | relevance | path

Searched refs:max_pages (Results 1 - 20 of 20) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/set_mempolicy/
H A Dset_mempolicy04.c82 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 Dhaiku.c66 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 Dhaiku.c66 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 Dbacking-store.cc546 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 Dbacking-store.h120 size_t max_pages);
126 size_t max_pages);
H A Djs-array-buffer.cc154 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 Djs-array-buffer.h120 size_t* max_pages);
/third_party/mesa3d/src/util/
H A Dos_misc.c258 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 Dbuiltins-arraybuffer.cc84 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 Dsweeper.h87 int required_freed_bytes, int max_pages = 0);
H A Dsweeper.cc489 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 Dpaged-spaces.h384 int max_pages,
H A Dpaged-spaces.cc993 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 Dll_prof.py268 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 Ddeserializer.cc1178 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 Dwasm-objects.cc939 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 Dfuse_kernel.h161 * - 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 Depjitsu.c3266 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 Dnative.rs282 pub max_pages: u64,
/third_party/libfuse/lib/
H A Dfuse_lowlevel.c2115 outarg.max_pages = (se->conn.max_write - 1) / getpagesize() + 1;

Completed in 32 milliseconds