carta
rpma_mr_get_size(3)

rpma_mr_get_size3

Get the size of the local memory region

Usage

struct rpma_mr_local;

int rpma_mr_get_size(const struct rpma_mr_local *mr, size_t *size);

Overview

rpma_mr_get_size() gets a memory region size from the local memory registration object.

Return value

The rpma_mr_get_size() function returns 0 on success or a negative error code on failure. rpma_mr_get_size() does not set *size value on failure.

Errors

rpma_mr_get_size() can fail with the following error:

•

RPMA_E_INVAL - mr or size is NULL

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)

From librpma-dev 1.3.0-2+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.