1PMEM2_MAP_GET_STORE_GRANULARPIMTDYK(3P)rogrammer'sPMMaEnMu2a_lMAP_GET_STORE_GRANULARITY(3)
2
3
4

NAME

6       pmem2_map_get_store_granularity() - reads effective mapping granularity
7

SYNOPSIS

9              #include <libpmem2.h>
10
11              enum pmem2_granularity {
12                  PMEM2_GRANULARITY_BYTE,
13                  PMEM2_GRANULARITY_CACHE_LINE,
14                  PMEM2_GRANULARITY_PAGE,
15              };
16              enum pmem2_granularity pmem2_map_get_store_granularity(struct pmem2_map *map);
17

DESCRIPTION

19       The pmem2_map_get_store_granularity() function reads granularity of the
20       created mapping.  The map parameter points to the structure  describing
21       mapping  created  using  the pmem2_map_new(3) function.  Concept of the
22       granularity is described in libpmem2(7).
23

RETURN VALUE

25       The pmem2_map_get_store_granularity() function returns a granularity of
26       the mapped area.
27

SEE ALSO

29       pmem2_map_new(3), libpmem2(7) and <https://pmem.io>
30
31
32
33PMDK - pmem2 API version 1.0      2022-05-24PMEM2_MAP_GET_STORE_GRANULARITY(3)
Impressum