DACS_ERR_T dacs_remote_mem_query ( dacs_remote_mem_t mem, DACS_REMOTE_MEM_ATTR_T attr, uint64_t *value )
Call parameters | |
mem | The handle of the remote memory area to query. |
attr | The attribute to be queried. This may be one of:
|
Return parameter | ||
*value | A pointer to the location where the attribute value is to be returned. The value returned in this location depends on the attr parameter passed as shown in the following table. | |
attr | Value returned | |
DACS_REMOTE_MEM_ACCESS_MODE |
|
|
DACS_REMOTE_MEM_SIZE | A uint64_t value indicating the size of the memory region in bytes. | |
DACS_REMOTE_MEM_ADDR | A uint64_t value indicating the starting virtual address within the creating process of the memory region. |
The dacs_remote_mem_query service queries the attributes of the specified remote memory region. The memory region being queried must have been created or accepted by the caller.