Searched refs:ram_size (Results 1 – 13 of 13) sorted by relevance
/third_party/ltp/testcases/kernel/kvm/ |
D | lib_host.c | 182 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/ |
D | zram01.sh | 17 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/ |
D | f_dfu.c | 342 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()
|
D | f_dfu.h | 63 uint32_t ram_size; member
|
/third_party/libdrm/nouveau/nvif/ |
D | cl0080.h | 34 __u64 ram_size; member
|
/third_party/ltp/testcases/kernel/kvm/include/ |
D | kvm_host.h | 125 void tst_kvm_create_instance(struct tst_kvm_instance *inst, size_t ram_size);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_screen.c | 773 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()
|
D | freedreno_screen.h | 89 uint32_t ram_size; member
|
/third_party/libuv/src/unix/ |
D | haiku.c | 100 *rss += area.ram_size; in uv_resident_set_memory()
|
/third_party/node/deps/uv/src/unix/ |
D | haiku.c | 100 *rss += area.ram_size; in uv_resident_set_memory()
|
/third_party/ltp/doc/ |
D | KVM-Test-API.asciidoc | 193 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/ |
D | native.rs | 211 pub ram_size: u32,
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 1551 __u16 ram_size; member
|