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.h156 unsigned long long lockmem; member
383 uint64_t lockmem; member
Dcconv.c186 o->lockmem = le64_to_cpu(top->lockmem); in convert_thread_options_to_cpu()
449 top->lockmem = __cpu_to_le64(o->lockmem); in convert_thread_options_to_net()
Doptions.c2679 .off1 = td_var_offset(lockmem),
DHOWTO1469 lockmem=int Pin down the specified amount of memory with mlock(2). Can