1PMEM2_CONFIG_SET_VM_RESERVATPIMODNK(3P)rogrammer'sPMMaEnMu2a_lCONFIG_SET_VM_RESERVATION(3)
2
3
4

NAME

6       pmem2_config_set_vm_reservation()   -   sets  the  pmem2_vm_reservation
7       structure basing on the values in the pmem2_config structure
8

SYNOPSIS

10              #include <libpmem2.h>
11
12              struct pmem2_config;
13              struct pmem2_vm_reservation;
14              int pmem2_config_set_vm_reservation(struct pmem2_config *config,
15                      struct pmem2_vm_reservation *rsv, size_t rsv_offset);
16

DESCRIPTION

18       The pmem2_config_set_vm_reservation() function sets the virtual  memory
19       reservation  and  an offset to be used during a mapping.  rsv should be
20       already initialized.  Please see  pmem2_vm_reservation_new(3)  for  de‐
21       tails.  rsv_offset marks the offset in the reservation for the mapping.
22

RETURN VALUE

24       pmem2_config_set_vm_reservation() function always returns 0.
25

SEE ALSO

27       pmem2_vm_reservation_new(3), libpmem2(7) and <https://pmem.io>
28
29
30
31PMDK - pmem2 API version 1.0      2021-07-22PMEM2_CONFIG_SET_VM_RESERVATION(3)
Impressum