logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpma_mr_remote_get_flush_type - get a remote memory region's flush types

Description

rpma_mr_remote_get_flush_type() gets flush types supported by the remote memory region.

Errors

rpma_mr_remote_get_flush_type() can fail with the following error:

       •  RPMA_E_INVAL - mr or flush_type is NULL

Name

rpma_mr_remote_get_flush_type - get a remote memory region's flush types

Return Value

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

See Also

rpma_mr_remote_from_descriptor(3), librpma(7) and https://pmem.io/rpma/

RPMA                                              01 April 2024                 rpma_mr_remote_get_flush_type(3)

Synopsis

             #include <librpma.h>

             struct rpma_mr_remote;
             int rpma_mr_remote_get_flush_type(const struct rpma_mr_remote *mr, int *flush_type);

See Also