Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c43 void sbd_pgr_reset(sbd_lu_t *);
48 void sbd_pgr_keylist_dealloc(sbd_lu_t *);
49 char *sbd_get_devid_string(sbd_lu_t *);
51 sbd_status_t sbd_pgr_meta_init(sbd_lu_t *);
52 sbd_status_t sbd_pgr_meta_load(sbd_lu_t *);
53 sbd_status_t sbd_pgr_meta_write(sbd_lu_t *);
57 static void sbd_pgr_remove_key(sbd_lu_t *, sbd_pgr_key_t *);
58 static uint32_t sbd_pgr_remove_keys(sbd_lu_t *, sbd_it_data_t *,
65 static void sbd_pgr_set_pgr_check_flag(sbd_lu_t *, boolean_t);
66 static void sbd_pgr_set_ua_conditions(sbd_lu_t *, sbd_it_data_t *, uint8_t);
[all …]
H A Dsbd_impl.h286 int sbd_zvol_get_volume_params(sbd_lu_t *sl);
287 uint32_t sbd_zvol_numsegs(sbd_lu_t *sl, uint64_t off, uint32_t len);
288 int sbd_zvol_alloc_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
289 void sbd_zvol_rele_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
290 int sbd_zvol_alloc_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
291 void sbd_zvol_rele_write_bufs_abort(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
292 int sbd_zvol_rele_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
293 int sbd_zvol_copy_read(sbd_lu_t *sl, uio_t *uio);
294 int sbd_zvol_copy_write(sbd_lu_t *sl, uio_t *uio, int flags);
H A Dstmf_sbd.h247 } sbd_lu_t; typedef
285 sbd_status_t sbd_data_read(sbd_lu_t *sl, scsi_task_t *task,
287 sbd_status_t sbd_data_write(sbd_lu_t *sl, scsi_task_t *task,
299 sbd_status_t sbd_write_lu_info(sbd_lu_t *sl);
300 sbd_status_t sbd_flush_data_cache(sbd_lu_t *sl, int fsync_done);
301 sbd_status_t sbd_wcd_set(int wcd, sbd_lu_t *sl);
302 void sbd_wcd_get(int *wcd, sbd_lu_t *sl);
303 int sbd_unmap(sbd_lu_t *, uint64_t, uint64_t);
H A Dsbd_zvol.c106 sbd_zvol_get_volume_params(sbd_lu_t *sl) in sbd_zvol_get_volume_params()
135 sbd_zvol_numsegs(sbd_lu_t *sl, uint64_t off, uint32_t len) in sbd_zvol_numsegs()
153 sbd_zvol_alloc_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_alloc_read_bufs()
220 sbd_zvol_rele_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_rele_read_bufs()
238 sbd_zvol_alloc_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_alloc_write_bufs()
312 sbd_zvol_rele_write_bufs_abort(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_rele_write_bufs_abort()
333 sbd_zvol_rele_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_rele_write_bufs()
391 sbd_zvol_copy_read(sbd_lu_t *sl, uio_t *uio) in sbd_zvol_copy_read()
419 sbd_zvol_copy_write(sbd_lu_t *sl, uio_t *uio, int flags) in sbd_zvol_copy_write()
H A Dsbd.c56 extern sbd_status_t sbd_pgr_meta_init(sbd_lu_t *sl);
57 extern sbd_status_t sbd_pgr_meta_load(sbd_lu_t *sl);
58 extern void sbd_pgr_reset(sbd_lu_t *sl);
80 int no_register, sbd_lu_t **slr);
81 int sbd_import_active_lu(sbd_import_lu_t *ilu, sbd_lu_t *sl, uint32_t *err_ret);
90 static char *sbd_get_zvol_name(sbd_lu_t *);
93 sbd_status_t sbd_create_zfs_meta_object(sbd_lu_t *sl);
94 sbd_status_t sbd_open_zfs_meta(sbd_lu_t *sl);
95 sbd_status_t sbd_read_zfs_meta(sbd_lu_t *sl, uint8_t *buf, uint64_t sz,
97 sbd_status_t sbd_write_zfs_meta(sbd_lu_t *sl, uint8_t *buf, uint64_t sz,
[all …]
H A Dsbd_scsi.c109 extern void sbd_pgr_reset(sbd_lu_t *);
110 extern void sbd_pgr_remove_it_handle(sbd_lu_t *, sbd_it_data_t *);
135 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_do_read_xfer()
211 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_do_sgl_read_xfer()
336 DTRACE_PROBE5(backing__store__read__start, sbd_lu_t *, sl, in sbd_do_sgl_read_xfer()
342 DTRACE_PROBE6(backing__store__read__end, sbd_lu_t *, sl, in sbd_do_sgl_read_xfer()
508 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_handle_sgl_read_xfer_completion()
598 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_handle_sgl_write_xfer_completion()
622 DTRACE_PROBE5(backing__store__write__start, sbd_lu_t *, sl, in sbd_handle_sgl_write_xfer_completion()
639 DTRACE_PROBE6(backing__store__write__end, sbd_lu_t *, sl, in sbd_handle_sgl_write_xfer_completion()
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/stmf_sbd/
H A Dstmf_sbd.c273 sbd_lu_t slu; in stmf_sbd_lu_walk_step()
278 if (mdb_vread(&slu, sizeof (sbd_lu_t), addr) == -1) { in stmf_sbd_lu_walk_step()
294 stmf_sbd_lu_cb(uintptr_t addr, const sbd_lu_t *slu, stmf_sbd_cb_t *cb_st) in stmf_sbd_lu_cb()
441 sbd_lu_t slu; in stmf_sbd_lu()
452 if (mdb_vread(&slu, sizeof (sbd_lu_t), addr) == -1) { in stmf_sbd_lu()
472 sbd_lu_t slu; in stmf_sbd_pgr_key()
500 if (mdb_vread(&slu, sizeof (sbd_lu_t), addr) == -1) { in stmf_sbd_pgr_key()
565 sbd_lu_t slu; in stmf_sbd_it()
581 if (mdb_vread(&slu, sizeof (sbd_lu_t), addr) == -1) { in stmf_sbd_it()