Home
last modified time | relevance | path

Searched refs:MEM_SIZE (Results 1 – 8 of 8) sorted by relevance

/external/crosvm/fuzz/
Dvirtqueue_fuzzer.rs16 const MEM_SIZE: u64 = 1024 * 1024; constant
19 static GUEST_MEM: GuestMemory = GuestMemory::new(&[(GuestAddress(0), MEM_SIZE)]).unwrap();
63 q.desc_table = GuestAddress(rng.gen_range(0, MEM_SIZE - max_table_size));
64 q.avail_ring = GuestAddress(rng.gen_range(0, MEM_SIZE - size_of::<virtq_avail>() as u64));
65 q.used_ring = GuestAddress(rng.gen_range(0, MEM_SIZE - size_of::<virtq_used>() as u64));
74 .get_slice_at_addr(GuestAddress(0), MEM_SIZE as usize)
Dfs_server_fuzzer.rs14 const MEM_SIZE: u64 = 256 * 1024 * 1024; constant
18 static GUEST_MEM: GuestMemory = GuestMemory::new(&[(GuestAddress(0), MEM_SIZE)]).unwrap();
35 (MEM_SIZE as u32)
Dblock_fuzzer.rs19 const MEM_SIZE: u64 = 256 * 1024 * 1024; constant
26 let mem = GuestMemory::new(&[(GuestAddress(0), MEM_SIZE)]).unwrap();
41 if first_index > MEM_SIZE / DESC_SIZE {
50 if command_addr > MEM_SIZE - CMD_SIZE as u64 {
Dzimage_fuzzer.rs14 const MEM_SIZE: u64 = 256 * 1024 * 1024; constant
26 let mem = GuestMemory::new(&[(GuestAddress(0), MEM_SIZE)]).unwrap();
/external/ltp/testcases/kernel/controllers/memcg/regression/
Dmemcg_test_4.c32 #define MEM_SIZE (1024 * 1024 * 100) macro
38 p = mmap(NULL, MEM_SIZE, PROT_READ | PROT_WRITE, in sigusr_handler()
44 memset(p, 'z', MEM_SIZE); in sigusr_handler()
/external/mesa3d/src/util/tests/vma/
Dvma_random_test.cpp72 static const uint64_t MEM_SIZE = 0xfffffffffffff000; member
73 static const uint64_t MEM_PAGES = MEM_SIZE / MEM_PAGE_SIZE;
78 util_vma_heap_init(&heap, MEM_START_PAGE * MEM_PAGE_SIZE, MEM_SIZE);
/external/crosvm/kernel_loader/src/
Dlib.rs185 const MEM_SIZE: u64 = 0x8000; constant
188 GuestMemory::new(&vec![(GuestAddress(0x0), MEM_SIZE)]).unwrap() in create_guest_mem()
194 let cmdline_address = GuestAddress(MEM_SIZE - 5); in cmdline_overflow()
/external/arm-trusted-firmware/docs/design_documents/
Dcmake_framework.rst140 group_add(NAME mem_conf TYPE DEFINE KEY MEM_SIZE VAL 1024)