Scroll to navigation

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

NAME

data_mover_sync_get_vdm() - get virtual data mover structure from the synchronous data mover structure

SYNOPSIS

#include <libminiasync.h>
struct vdm;
struct data_mover_sync;
struct vdm *data_mover_sync_get_vdm(struct data_mover_sync *dms);
    

For general description of synchronous data mover API, see miniasync_vdm_synchronous(7).

DESCRIPTION

The data_mover_sync_get_vdm() function reads the virtual data mover structure from the synchronous data mover structure pointed by dms. Virtual data mover structure struct vdm is needed by every miniasync(7) data mover operation.

Synchronous data mover implementation supports following operations:

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

RETURN VALUE

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

SEE ALSO

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

2022-09-04 MINIASYNC - miniasync version 0.2.1