Home
last modified time | relevance | path

Searched refs:lockmem (Results 1 – 5 of 5) sorted by relevance

/external/fio/
Dmemory.c18 dprint(FD_MEM, "unpinning %llu bytes\n", td->o.lockmem); in fio_unpin_memory()
19 if (munlock(td->pinned_mem, td->o.lockmem) < 0) in fio_unpin_memory()
21 munmap(td->pinned_mem, td->o.lockmem); in fio_unpin_memory()
30 if (!td->o.lockmem) in fio_pin_memory()
33 dprint(FD_MEM, "pinning %llu bytes\n", td->o.lockmem); in fio_pin_memory()
40 if ((td->o.lockmem + 128 * 1024 * 1024) > phys_mem) { in fio_pin_memory()
41 td->o.lockmem = phys_mem - 128 * 1024 * 1024; in fio_pin_memory()
43 td->o.lockmem >> 20); in fio_pin_memory()
47 td->pinned_mem = mmap(NULL, td->o.lockmem, PROT_READ | PROT_WRITE, in fio_pin_memory()
54 if (mlock(td->pinned_mem, td->o.lockmem) < 0) { in fio_pin_memory()
[all …]
Dthread_options.h185 unsigned long long lockmem; member
454 uint64_t lockmem; member
Dcconv.c223 o->lockmem = le64_to_cpu(top->lockmem); in convert_thread_options_to_cpu()
541 top->lockmem = __cpu_to_le64(o->lockmem); in convert_thread_options_to_net()
Doptions.c3129 .off1 = offsetof(struct thread_options, lockmem),
DHOWTO1509 .. option:: lockmem=int