pmem2_map_get_store_granularity - Man Page

reads effective mapping granularity


#include <libpmem2.h>

enum pmem2_granularity {
enum pmem2_granularity pmem2_map_get_store_granularity(struct pmem2_map *map);


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

Return Value

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

See Also

pmem2_map_new(3), libpmem2(7) and <>

Referenced By


2022-08-25 PMDK - pmem2 API version 1.0 PMDK Programmer's Manual