Lines Matching refs:sidpp
484 struct snapshot_id **sidpp, *sidp; in snap_open() local
509 sidpp = ddi_get_soft_state(statep, minor); in snap_open()
510 if (sidpp == NULL || *sidpp == NULL) in snap_open()
512 sidp = *sidpp; in snap_open()
520 ASSERT(sidpp != NULL && sidp != NULL); in snap_open()
561 struct snapshot_id **sidpp, *sidp; in snap_close() local
575 sidpp = ddi_get_soft_state(statep, minor); in snap_close()
576 if (sidpp == NULL || *sidpp == NULL) { in snap_close()
581 sidp = *sidpp; in snap_close()
637 struct snapshot_id **sidpp; in snap_read() local
640 sidpp = ddi_get_soft_state(statep, minor); in snap_read()
641 if (sidpp == NULL || *sidpp == NULL) { in snap_read()
660 struct snapshot_id **sidpp, *sidp; in snap_strategy() local
678 sidpp = ddi_get_soft_state(statep, minor); in snap_strategy()
679 if (sidpp == NULL || *sidpp == NULL) { in snap_strategy()
688 sidp = *sidpp; in snap_strategy()
921 struct snapshot_id **sidpp; in snap_print() local
925 sidpp = ddi_get_soft_state(statep, minor); in snap_print()
926 if (sidpp == NULL || *sidpp == NULL) { in snap_print()
948 struct snapshot_id **sidpp; in snap_prop_op() local
965 sidpp = ddi_get_soft_state(statep, minor); in snap_prop_op()
966 if (sidpp == NULL || *sidpp == NULL) { in snap_prop_op()
973 if (((*sidpp)->sid_fvp == NULL) || ((*sidpp)->sid_fvp->v_vfsp == NULL)) in snap_prop_op()
978 mdev = (*sidpp)->sid_fvp->v_vfsp->vfs_dev; in snap_prop_op()
1335 struct snapshot_id **sidpp; in fssnap_strategy_impl() local
1357 sidpp = (struct snapshot_id **)snapshot_id; in fssnap_strategy_impl()
1358 sidp = *sidpp; in fssnap_strategy_impl()
1382 (void) fssnap_delete_impl(sidpp); in fssnap_strategy_impl()
1394 if (sidp != *sidpp || SID_INACTIVE(sidp)) { in fssnap_strategy_impl()
1405 if ((error = fssnap_translate(sidpp, bp)) != 0) { in fssnap_strategy_impl()
1412 if (sidp != *sidpp || SID_INACTIVE(sidp)) { in fssnap_strategy_impl()
1442 fssnap_translate(struct snapshot_id **sidpp, struct buf *wbp) in fssnap_translate() argument
1444 snapshot_id_t *sidp = *sidpp; in fssnap_translate()
1556 if (sidp != *sidpp || SID_INACTIVE(sidp)) { in fssnap_translate()
1941 struct snapshot_id **sidpp, *sidp = snapshot_id; in fssnap_create_done_impl() local
1969 sidpp = ddi_get_soft_state(statep, snapnumber); in fssnap_create_done_impl()
1970 *sidpp = sidp; in fssnap_create_done_impl()
2021 struct snapshot_id **sidpp = (struct snapshot_id **)snapshot_id; in fssnap_delete_impl() local
2034 if (sidpp == NULL) { in fssnap_delete_impl()
2038 sidp = *sidpp; in fssnap_delete_impl()
2046 if (*sidpp == NULL) { in fssnap_delete_impl()
2072 *sidpp = NULL; in fssnap_delete_impl()