pmemset API version 1.0

The PMDK repository on GitHub is the ultimate source of information on PMDK from release 2.0! For all questions and to submit eventual issues please follow to that repository. The PMDK documentation collected here should be valid up to the 1.13.1 release but is maintained only on a best-effort basis and may not reflect the latest state of the art.

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
ERRORS
SEE ALSO

NAME

pmemset_part_map_by_address() - returns part map object

SYNOPSIS

#include <libpmemset.h>

struct pmemset;
struct pmemset_part_map;
int pmemset_part_map_by_address(struct pmemset *set, struct pmemset_part_map **pmap,
		void *addr);

DESCRIPTION

The pmemset_part_map_by_address() - returns part_map object from the set. The part_map has to contain address addr.

RETURN VALUE

The pmemset_part_map_by_address() function returns 0 on success or a negative error code on failure.

ERRORS

The pmemset_part_new() can fail with the following errors:

  • PMEMSET_E_CANNOT_FIND_PART_MAP - set does not contain part map at address addr.

SEE ALSO

libpmemset(7) and https://pmem.io

The contents of this web site and the associated GitHub repositories are BSD-licensed open source.