Home
last modified time | relevance | path

Searched refs:tcs_command (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tar.c112 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size); in backup_create_structs()
113 if (cmds->tcs_command == NULL) { in backup_create_structs()
124 tlm_release_reader_writer_ipc(cmds->tcs_command); in backup_create_structs()
168 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in restore_create_structs()
169 if (cmds->tcs_command == NULL) { in restore_create_structs()
178 tlm_release_reader_writer_ipc(cmds->tcs_command); in restore_create_structs()
187 tlm_release_reader_writer_ipc(cmds->tcs_command); in restore_create_structs()
291 if (cmds->tcs_command != NULL) { in backup_release_structs()
292 if (cmds->tcs_command->tc_buffers != NULL) in backup_release_structs()
293 tlm_release_reader_writer_ipc(cmds->tcs_command); in backup_release_structs()
[all …]
H A Dndmpd_tar3.c1475 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size); in backup_alloc_structs_v3()
1476 if (!cmds->tcs_command) { in backup_alloc_structs_v3()
1484 tlm_release_reader_writer_ipc(cmds->tcs_command); in backup_alloc_structs_v3()
1538 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in restore_alloc_structs_v3()
1539 if (!cmds->tcs_command) { in restore_alloc_structs_v3()
1547 tlm_release_reader_writer_ipc(cmds->tcs_command); in restore_alloc_structs_v3()
1557 tlm_release_reader_writer_ipc(cmds->tcs_command); in restore_alloc_structs_v3()
1604 if (cmds->tcs_command) { in free_structs_v3()
1605 if (cmds->tcs_command->tc_buffers != NULL) in free_structs_v3()
1606 tlm_release_reader_writer_ipc(cmds->tcs_command); in free_structs_v3()
[all …]
H A Dndmpd_util.c1121 if ((lcmd = nlp->nlp_cmds.tcs_command) != NULL) { in ndmp_wait_for_mover()
1317 cmds->tcs_command->tc_reader = TLM_STOP; in ndmp_stop_local_reader()
1581 if (cmds->tcs_command == NULL) { in ndmp_stop_buffer_worker()
1585 cmds->tcs_command->tc_reader = TLM_ABORT; in ndmp_stop_buffer_worker()
1586 cmds->tcs_command->tc_writer = TLM_ABORT; in ndmp_stop_buffer_worker()
1619 if (cmds->tcs_command == NULL) { in ndmp_stop_reader_thread()
1623 cmds->tcs_command->tc_reader = TLM_ABORT; in ndmp_stop_reader_thread()
1655 if (cmds->tcs_command == NULL) { in ndmp_stop_writer_thread()
1660 cmds->tcs_command->tc_writer = TLM_ABORT; in ndmp_stop_writer_thread()
1693 if (cmds->tcs_command != NULL) { in ndmp_free_reader_writer_ipc()
[all …]
H A Dndmpd_mover.c2524 lcmd = cmds->tcs_command; in mover_tape_reader()
2533 tlm_cmd_signal(cmds->tcs_command, TLM_TAPE_READER); in mover_tape_reader()
2673 lcmd = cmds->tcs_command; in mover_socket_writer()
2682 tlm_cmd_signal(cmds->tcs_command, TLM_SOCK_WRITER); in mover_socket_writer()
2764 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in start_mover_for_restore()
2765 if (cmds->tcs_command == NULL) in start_mover_for_restore()
2768 cmds->tcs_command->tc_reader = TLM_RESTORE_RUN; in start_mover_for_restore()
2769 cmds->tcs_command->tc_writer = TLM_RESTORE_RUN; in start_mover_for_restore()
2779 tlm_cmd_wait(cmds->tcs_command, TLM_TAPE_READER); in start_mover_for_restore()
2788 tlm_cmd_wait(cmds->tcs_command, TLM_SOCK_WRITER); in start_mover_for_restore()
[all …]
/illumos-gate/usr/src/cmd/ndmpd/include/
H A Dtlm_buffers.h128 tlm_cmd_t *tcs_command; /* IPC area between read-write */ member
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c2342 if ((lcmd = cmds->tcs_command) == NULL || in ndmp_iter_zfs()
2522 if ((lcmd = cmds->tcs_command) == NULL || in ndmp_context_get_version()
H A Dtlm_backup_reader.c1378 if ((lcmd = cmds->tcs_command) == NULL || in ndmp_include_zfs()