Home
last modified time | relevance | path

Searched refs:ndmpd_zfs_args (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_zfs.c164 #define NDMPD_ZFS_LOG_ZERR(ndmpd_zfs_args, ...) { \ argument
167 libzfs_error_action((ndmpd_zfs_args)->nz_zlibh), \
168 libzfs_error_description((ndmpd_zfs_args)->nz_zlibh)); \
169 ndmpd_zfs_zerr_dma_log((ndmpd_zfs_args)); \
175 ndmpd_zfs_args_t *ndmpd_zfs_args = &session->ns_ndmpd_zfs_args; in ndmpd_zfs_init() local
178 bzero(ndmpd_zfs_args, sizeof (*ndmpd_zfs_args)); in ndmpd_zfs_init()
185 if ((ndmpd_zfs_args->nz_zlibh = libzfs_init()) == NULL) { in ndmpd_zfs_init()
190 if (ndmpd_zfs_open_fds(ndmpd_zfs_args) < 0) { in ndmpd_zfs_init()
195 ndmpd_zfs_args->nz_bufsize = ndmp_buffer_get_size(session); in ndmpd_zfs_init()
196 ndmpd_zfs_args->nz_window_len = session->ns_mover.md_window_length; in ndmpd_zfs_init()
[all …]
H A Dndmpd_data.c1613 ndmpd_zfs_args_t *ndmpd_zfs_args = &session->ns_ndmpd_zfs_args; in ndmpd_zfs_start_op() local
1626 ndmpd_zfs_fini(ndmpd_zfs_args); in ndmpd_zfs_start_op()
1632 if (!ndmpd_zfs_backup_parms_valid(ndmpd_zfs_args)) { in ndmpd_zfs_start_op()
1633 ndmpd_zfs_fini(ndmpd_zfs_args); in ndmpd_zfs_start_op()
1637 if (ndmpd_zfs_pre_backup(ndmpd_zfs_args)) { in ndmpd_zfs_start_op()
1649 ndmpd_zfs_fini(ndmpd_zfs_args); in ndmpd_zfs_start_op()
1653 if (!ndmpd_zfs_restore_parms_valid(ndmpd_zfs_args)) { in ndmpd_zfs_start_op()
1654 ndmpd_zfs_fini(ndmpd_zfs_args); in ndmpd_zfs_start_op()
1658 if (ndmpd_zfs_pre_restore(ndmpd_zfs_args)) { in ndmpd_zfs_start_op()
1660 (void) ndmpd_zfs_post_restore(ndmpd_zfs_args); in ndmpd_zfs_start_op()
[all …]
H A Dndmpd.h458 typedef struct ndmpd_zfs_args { struct
487 #define ndmpd_zfs_params (&(ndmpd_zfs_args)->nz_params) argument
501 struct ndmpd_zfs_args ns_ndmpd_zfs_args;