Home
last modified time | relevance | path

Searched refs:ram (Results 1 - 7 of 7) sorted by relevance

/third_party/ltp/testcases/kernel/kvm/
H A Dlib_host.c70 if (!inst->ram[i].userspace_addr) in tst_kvm_find_phys_memslot()
73 base = inst->ram[i].guest_phys_addr; in tst_kvm_find_phys_memslot()
75 if (paddr >= base && paddr - base < inst->ram[i].memory_size) in tst_kvm_find_phys_memslot()
107 ret = (char *)(uintptr_t)inst->ram[slot].userspace_addr; in tst_kvm_get_memptr()
108 return ret + (addr - inst->ram[slot].guest_phys_addr); in tst_kvm_get_memptr()
149 inst->ram[slot] = memslot; in tst_kvm_alloc_memory()
290 memset(inst->ram, 0, sizeof(inst->ram)); in tst_kvm_destroy_instance()
/third_party/lwip/src/core/
H A Dmem.c350 /** index (-> ram[next]) of the next struct */
352 /** index (-> ram[prev]) of the previous struct */
383 /** pointer to the heap (ram_heap): for alignment, ram is now a pointer instead of an array */
384 static u8_t *ram; variable
453 return (struct mem *)(void *)&ram[ptr]; in ptr_to_mem()
459 return (mem_size_t)((u8_t *)mem - ram); in mem_to_ptr()
479 LWIP_ASSERT("plug_holes: mem >= ram", (u8_t *)mem >= ram); in plug_holes()
488 /* if mem->next is unused and not end of ram, combine mem and mem->next */ in plug_holes()
524 ram in mem_init()
[all...]
/third_party/ltp/utils/benchmark/kernbench-0.42/
H A Dkernbench82 echo Less than 4Gb ram detected!
98 echo Caching kernel source in ram...
/third_party/littlefs/bd/
H A Dlfs_testbd.h83 } ram; member
H A Dlfs_testbd.c61 bd->u.ram.cfg = (struct lfs_rambd_config){ in lfs_testbd_createcfg()
65 int err = lfs_rambd_createcfg(cfg, &bd->u.ram.cfg); in lfs_testbd_createcfg()
/third_party/ltp/testcases/kernel/kvm/include/
H A Dkvm_host.h54 struct kvm_userspace_memory_region ram[MAX_KVM_MEMSLOTS]; member
/third_party/skia/src/utils/
H A DSkCustomTypeface.cpp408 // SkPath can read from a stream, so we have to page the rest into ram in Deserialize()
411 SkAutoMalloc ram(length); in Deserialize()
412 char* buffer = (char*)ram.get(); in Deserialize()

Completed in 4 milliseconds