Home
last modified time | relevance | path

Searched refs:ram_size (Results 1 – 13 of 13) sorted by relevance

/third_party/ltp/testcases/kernel/kvm/
Dlib_host.c182 void tst_kvm_create_instance(struct tst_kvm_instance *inst, size_t ram_size) in tst_kvm_create_instance() argument
198 if (payload_size + MIN_FREE_RAM > ram_size - VM_KERNEL_BASEADDR) { in tst_kvm_create_instance()
199 ram_size = payload_size + MIN_FREE_RAM + VM_KERNEL_BASEADDR; in tst_kvm_create_instance()
200 ram_size = LTP_ALIGN(ram_size, 1024 * 1024); in tst_kvm_create_instance()
201 tst_res(TWARN, "RAM size increased to %zu bytes", ram_size); in tst_kvm_create_instance()
204 if (ram_size > result_pageaddr) { in tst_kvm_create_instance()
205 ram_size = result_pageaddr; in tst_kvm_create_instance()
206 tst_res(TWARN, "RAM size truncated to %zu bytes", ram_size); in tst_kvm_create_instance()
225 buf = tst_kvm_alloc_memory(inst, 0, 0, ram_size, 0); in tst_kvm_create_instance()
/third_party/ltp/testcases/kernel/device-drivers/zram/
Dzram01.sh17 local ram_size
19 ram_size=$(awk '/MemTotal:/ {print $2}' /proc/meminfo)
20 if [ "$ram_size" -lt 1048576 ]; then
/third_party/NuttX/drivers/usbdev/gadget/
Df_dfu.c342 if (offset > entity->ram_size) in dfu_ram_read()
347 len = min(len, (entity->ram_size - offset)); in dfu_ram_read()
374 if (offset > entity->ram_size) in dfu_ram_write()
379 len = min(len, (entity->ram_size - offset)); in dfu_ram_write()
381 …ret = memcpy_s((void *)((uint8_t *)entity->ram_addr + offset), entity->ram_size - offset, buf, len… in dfu_ram_write()
1046 entity->ram_size = strtoul(st, &st, 16); in dfu_ram_init_env()
Df_dfu.h63 uint32_t ram_size; member
/third_party/libdrm/nouveau/nvif/
Dcl0080.h34 __u64 ram_size; member
/third_party/ltp/testcases/kernel/kvm/include/
Dkvm_host.h125 void tst_kvm_create_instance(struct tst_kvm_instance *inst, size_t ram_size);
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_screen.c773 RET((uint64_t[]){screen->ram_size}); in fd_get_compute_param()
783 RET((uint64_t[]){screen->ram_size}); in fd_get_compute_param()
1048 screen->ram_size = si.totalram; in fd_screen_create()
Dfreedreno_screen.h89 uint32_t ram_size; member
/third_party/libuv/src/unix/
Dhaiku.c100 *rss += area.ram_size; in uv_resident_set_memory()
/third_party/node/deps/uv/src/unix/
Dhaiku.c100 *rss += area.ram_size; in uv_resident_set_memory()
/third_party/ltp/doc/
DKVM-Test-API.asciidoc193 size_t ram_size)` – Creates and fully initializes a new KVM virtual machine
194 with at least `ram_size` bytes of memory. The VM instance info will be
/third_party/rust/crates/libc/src/unix/haiku/
Dnative.rs211 pub ram_size: u32,
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h1551 __u16 ram_size; member