Scroll to navigation

DATA_MOVER_DML_GET_VDM(3) MINIASYNC Programmer's Manual DATA_MOVER_DML_GET_VDM(3)

NAME

data_mover_dml_get_vdm() - get virtual data mover structure from the DML data mover structure

SYNOPSIS

#include <libminiasync.h>
struct vdm;
struct data_mover_dml;
struct vdm *data_mover_dml_get_vdm(struct data_mover_dml *dmd);
    

For general description of DML data mover API, see miniasync_vdm_dml(7).

DESCRIPTION

The data_mover_dml_get_vdm() function reads the virtual data mover structure from the DML data mover structure pointed by dmd. Virtual data mover structure struct vdm is needed by every miniasync(7) data mover operation.

DML data mover implementation supports following operations:

vdm_memcpy(3) - memory copy operation
vdm_memmove(3) - memory move operation
vdm_memset(3) - memory set operation
vdm_flush(3) - cache flush operation

RETURN VALUE

The data_mover_dml_get_vdm() function returns a pointer to struct vdm structure.

SEE ALSO

vdm_flush(3), vdm_memcpy(3), vdm_memmove(3), vdm_memset(3), miniasync(7), miniasync_vdm_dml(7) and <https://pmem.io>

2022-09-04 MINIASYNC - miniasync version 0.2.1