Lines Matching refs:connection

53 static void scsi_open_send_reply(ndmp_connection_t *connection, int err);
54 static void common_open(ndmp_connection_t *connection, char *devname);
55 static void common_set_target(ndmp_connection_t *connection, char *device,
71 * connection (input) - connection handle.
78 ndmpd_scsi_open_v2(ndmp_connection_t *connection, void *body)
82 common_open(connection, request->device.name);
92 * connection (input) - connection handle.
100 ndmpd_scsi_close_v2(ndmp_connection_t *connection, void *body)
103 ndmpd_session_t *session = ndmp_get_client_data(connection);
108 ndmp_send_reply(connection, (void *) &reply,
126 ndmp_send_reply(connection, (void *) &reply,
142 * connection (input) - connection handle.
150 ndmpd_scsi_get_state_v2(ndmp_connection_t *connection, void *body)
153 ndmpd_session_t *session = ndmp_get_client_data(connection);
169 ndmp_send_reply(connection, (void *) &reply,
187 * connection (input) - connection handle.
194 ndmpd_scsi_set_target_v2(ndmp_connection_t *connection, void *body)
200 common_set_target(connection, request->device.name,
212 * connection (input) - connection handle.
220 ndmpd_scsi_reset_device_v2(ndmp_connection_t *connection, void *body)
225 ndmpd_session_t *session = ndmp_get_client_data(connection);
243 ndmp_send_reply(connection, (void *) &reply,
256 * connection (input) - connection handle.
264 ndmpd_scsi_reset_bus_v2(ndmp_connection_t *connection, void *body)
271 ndmp_send_reply(connection, (void *) &reply,
282 * connection (input) - connection handle.
289 ndmpd_scsi_execute_cdb_v2(ndmp_connection_t *connection, void *body)
293 ndmpd_session_t *session = ndmp_get_client_data(connection);
301 ndmp_send_reply(connection, (void *) &reply,
322 * connection (input) - connection handle.
329 ndmpd_scsi_open_v3(ndmp_connection_t *connection, void *body)
333 common_open(connection, request->device);
345 * connection (input) - connection handle.
352 ndmpd_scsi_set_target_v3(ndmp_connection_t *connection, void *body)
358 common_set_target(connection, request->device,
383 * connection (input) - connection handle.
390 scsi_open_send_reply(ndmp_connection_t *connection, int err)
395 ndmp_send_reply(connection, (void *) &reply, "sending scsi_open reply");
405 * connection (input) - connection handle.
412 common_open(ndmp_connection_t *connection, char *devname)
414 ndmpd_session_t *session = ndmp_get_client_data(connection);
446 scsi_open_send_reply(connection, err);
450 switch (ndmp_open_list_add(connection, adptnm, sid, lun, devid)) {
464 scsi_open_send_reply(connection, err);
480 scsi_open_send_reply(connection, err);
490 * connection (input) - connection handle.
502 common_set_target(ndmp_connection_t *connection, char *device,
506 ndmpd_session_t *session = ndmp_get_client_data(connection);
530 ndmp_send_reply(connection, (void *) &reply,
541 switch (ndmp_open_list_add(connection,
566 ndmp_send_reply(connection, (void *) &reply,