Searched refs:sbd_lu_t (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd_pgr.c | 44 void sbd_pgr_reset(sbd_lu_t *); 49 void sbd_pgr_keylist_dealloc(sbd_lu_t *); 50 char *sbd_get_devid_string(sbd_lu_t *); 52 sbd_status_t sbd_pgr_meta_init(sbd_lu_t *); 53 sbd_status_t sbd_pgr_meta_load(sbd_lu_t *); 54 sbd_status_t sbd_pgr_meta_write(sbd_lu_t *); 58 static void sbd_pgr_remove_key(sbd_lu_t *, sbd_pgr_key_t *); 59 static uint32_t sbd_pgr_remove_keys(sbd_lu_t *, sbd_it_data_t *, 66 static void sbd_pgr_set_pgr_check_flag(sbd_lu_t *, boolean_t); 67 static void sbd_pgr_set_ua_conditions(sbd_lu_t *, sbd_it_data_t *, uint8_t); [all …]
|
H A D | sbd_impl.h | 311 int sbd_zvol_get_volume_params(sbd_lu_t *sl); 312 uint32_t sbd_zvol_numsegs(sbd_lu_t *sl, uint64_t off, uint32_t len); 313 int sbd_zvol_alloc_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf); 314 void sbd_zvol_rele_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf); 315 int sbd_zvol_alloc_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf); 316 void sbd_zvol_rele_write_bufs_abort(sbd_lu_t *sl, stmf_data_buf_t *dbuf); 317 int sbd_zvol_rele_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf); 318 int sbd_zvol_copy_read(sbd_lu_t *sl, uio_t *uio); 319 int sbd_zvol_copy_write(sbd_lu_t *sl, uio_t *uio, int flags);
|
H A D | stmf_sbd.h | 252 } sbd_lu_t; typedef 290 sbd_status_t sbd_data_read(sbd_lu_t *sl, scsi_task_t *task, 292 sbd_status_t sbd_data_write(sbd_lu_t *sl, scsi_task_t *task, 304 sbd_status_t sbd_write_lu_info(sbd_lu_t *sl); 305 sbd_status_t sbd_flush_data_cache(sbd_lu_t *sl, int fsync_done); 306 sbd_status_t sbd_wcd_set(int wcd, sbd_lu_t *sl); 307 void sbd_wcd_get(int *wcd, sbd_lu_t *sl); 308 int sbd_unmap(sbd_lu_t *sl, dkioc_free_list_t *dfl);
|
H A D | sbd_zvol.c | 107 sbd_zvol_get_volume_params(sbd_lu_t *sl) in sbd_zvol_get_volume_params() 136 sbd_zvol_numsegs(sbd_lu_t *sl, uint64_t off, uint32_t len) in sbd_zvol_numsegs() 154 sbd_zvol_alloc_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_alloc_read_bufs() 222 sbd_zvol_rele_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_rele_read_bufs() 240 sbd_zvol_alloc_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_alloc_write_bufs() 315 sbd_zvol_rele_write_bufs_abort(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_rele_write_bufs_abort() 336 sbd_zvol_rele_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf) in sbd_zvol_rele_write_bufs() 395 sbd_zvol_copy_read(sbd_lu_t *sl, uio_t *uio) in sbd_zvol_copy_read() 421 sbd_zvol_copy_write(sbd_lu_t *sl, uio_t *uio, int flags) in sbd_zvol_copy_write()
|
H A D | sbd.c | 56 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); 84 int no_register, sbd_lu_t **slr); 85 int sbd_import_active_lu(sbd_import_lu_t *ilu, sbd_lu_t *sl, uint32_t *err_ret); 94 static char *sbd_get_zvol_name(sbd_lu_t *); 97 sbd_status_t sbd_create_zfs_meta_object(sbd_lu_t *sl); 98 sbd_status_t sbd_open_zfs_meta(sbd_lu_t *sl); 99 sbd_status_t sbd_read_zfs_meta(sbd_lu_t *sl, uint8_t *buf, uint64_t sz, 101 sbd_status_t sbd_write_zfs_meta(sbd_lu_t *sl, uint8_t *buf, uint64_t sz, [all …]
|
H A D | sbd_scsi.c | 125 extern void sbd_pgr_reset(sbd_lu_t *); 126 extern void sbd_pgr_remove_it_handle(sbd_lu_t *, sbd_it_data_t *); 151 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_do_read_xfer() 230 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_do_sgl_read_xfer() 358 DTRACE_PROBE5(backing__store__read__start, sbd_lu_t *, sl, in sbd_do_sgl_read_xfer() 366 DTRACE_PROBE6(backing__store__read__end, sbd_lu_t *, sl, in sbd_do_sgl_read_xfer() 538 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_handle_sgl_read_xfer_completion() 639 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_handle_sgl_write_xfer_completion() 666 DTRACE_PROBE5(backing__store__write__start, sbd_lu_t *, sl, in sbd_handle_sgl_write_xfer_completion() 685 DTRACE_PROBE6(backing__store__write__end, sbd_lu_t *, sl, in sbd_handle_sgl_write_xfer_completion() [all …]
|
H A D | ats_copy_mgr.c | 189 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_ats_remove_by_task() 228 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_compare_and_write() 469 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_handle_ats() 603 int sbd_check_reservation_conflict(sbd_lu_t *sl, scsi_task_t *task); 790 sbd_lu_t *src_slu, *dst_slu; in cpmgr_run() 799 src_slu = (sbd_lu_t *)lu->lu_provider_private; in cpmgr_run() 806 dst_slu = (sbd_lu_t *)lu->lu_provider_private; in cpmgr_run()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf_sbd/ |
H A D | stmf_sbd.c | 273 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()
|