Searched refs:pinned_mem (Results 1 – 2 of 2) sorted by relevance
17 if (td->pinned_mem) { 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()22 td->pinned_mem = NULL; in fio_unpin_memory()47 td->pinned_mem = mmap(NULL, td->o.lockmem, PROT_READ | PROT_WRITE, in fio_pin_memory()49 if (td->pinned_mem == MAP_FAILED) { in fio_pin_memory()51 td->pinned_mem = NULL; in fio_pin_memory()54 if (mlock(td->pinned_mem, td->o.lockmem) < 0) { in fio_pin_memory()56 munmap(td->pinned_mem, td->o.lockmem); in fio_pin_memory()57 td->pinned_mem = NULL; in fio_pin_memory()
340 void *pinned_mem; member