rpma_mr_dereg(3)

rpma_mr_dereg3

Delete a local memory registration object

Usage

      #include <librpma.h>
      struct rpma_mr_local;
      int rpma_mr_dereg(struct rpma_mr_local **mr_ptr);

Overview

rpma_mr_dereg() deregisters a memory region and deletes a local memory registration object.

Return value

The rpma_mr_dereg() function returns 0 on success or a negative error code on failure. rpma_mr_dereg() does not set *mr_ptr value to NULL on failure.

Errors

rpma_mr_dereg() can fail with the following errors:

•

RPMA_E_INVAL - mr_ptr is NULL

•

RPMA_E_PROVIDER - memory deregistration failed

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

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