/titanic_41/usr/src/uts/common/sys/lvm/ |
H A D | md_mddb.h | 147 mddb_recid_t s_nmid; /* set namespace anchor record */ 149 mddb_recid_t s_did_nmid; /* set device id namespace anchor rec */ 584 mddb_recid_t de_recid; 605 mddb_recid_t de_recid; 640 mddb_recid_t de32_recid; 805 mddb_recid_t s_zombie; /* zombie record - createrec */ 838 extern mddb_recid_t mddb_getnextrec(mddb_recid_t, 841 extern void *mddb_getrecaddr(mddb_recid_t); 842 extern void *mddb_getrecaddr_resize(mddb_recid_t, size_t, 844 extern int mddb_getrecprivate(mddb_recid_t); [all …]
|
H A D | md_hotspares.h | 100 mddb_recid_t hs_record_id; /* db record id */ 127 mddb_recid_t hs_record_id; /* db record id */ 158 mddb_recid_t hsp_record_id; 162 mddb_recid_t hsp_hotspares[1]; 180 mddb_recid_t hsp_record_id; /* db record id */ 184 mddb_recid_t hsp_hotspares[1]; /* array of recid's */
|
H A D | md_mirror_shared.h | 56 mddb_recid_t ms_hs_id; 71 mddb_recid_t ms_hs_id; 94 mddb_recid_t nd_hs_id;
|
H A D | mdvar.h | 686 extern void mddb_commitrec_wrapper(mddb_recid_t); 687 extern void mddb_commitrecs_wrapper(mddb_recid_t *); 688 extern void mddb_deleterec_wrapper(mddb_recid_t); 713 extern int md_hot_spare_ifc(hs_cmds_t, mddb_recid_t, u_longlong_t, int, 714 mddb_recid_t *, mdkey_t *, md_dev64_t *, diskaddr_t *); 744 extern mddb_recid_t md_vtoc_to_efi_record(mddb_recid_t, set_t); 832 extern int mddb_reread_rr(set_t, mddb_recid_t); 833 extern int mddb_setowner(mddb_recid_t id, md_mn_nodeid_t owner); 843 mdkey_t key, char *, mddb_recid_t *, int); 847 extern void *alloc_entry(struct nm_next_hdr *, mddb_recid_t, size_t, int, [all …]
|
H A D | mdiox.x | 203 mddb_recid_t dr_selfid; /* db record id */ 207 mddb_recid_t dr_nextrec; /* next record id */ 216 mddb_recid_t dr_selfid; /* db record id */ 220 mddb_recid_t dr_nextrec; /* next record id */ 243 mddb_recid_t nr_selfid; /* db record id */ 247 mddb_recid_t nr_nextrec; /* next node rec id */ 281 mddb_recid_t sr_selfid; /* db record id */ 291 mddb_recid_t sr_driverec; /* first dr record id */ 299 mddb_recid_t sr_selfid; /* db record id */ 309 mddb_recid_t sr_driverec; /* first dr record id */ [all …]
|
H A D | md_mirror.h | 179 mddb_recid_t un_rr_dirty_recid; /* resync region bm record id */ 381 mddb_recid_t un_rr_dirty_recid; /* resync region bm db record id */ 565 extern mddb_recid_t mirror_get_sm_unit(md_dev64_t); 571 extern void mirror_commit(mm_unit_t *, int, mddb_recid_t *); 579 mddb_recid_t *, uint_t, IOLOCK *); 586 mddb_recid_t, IOLOCK *);
|
H A D | md_rename.h | 115 mddb_recid_t *recids; 161 extern void md_store_recid(int *, mddb_recid_t *, md_unit_t *);
|
H A D | md_names.h | 53 mddb_recid_t r_next_recid; /* record id of next record */ 62 mddb_recid_t r_next_recid; /* record id of next record */
|
H A D | md_trans.h | 73 mddb_recid_t un_recid; /* db record id */ 132 mddb_recid_t un_recid; /* db record id */ 647 mddb_recid_t un_l_recid; /* database id */ 698 mddb_recid_t un_l_recid; /* database id */ 820 extern ml_unit_t *ldl_findlog(mddb_recid_t); 821 extern mddb_recid_t ldl_create(mdkey_t, mt_unit_t *);
|
H A D | md_raid.h | 191 mddb_recid_t un_hs_id; 220 mddb_recid_t un_hs_id; 651 extern void raid_commit(mr_unit_t *un, mddb_recid_t *extras); 655 mddb_recid_t *recids, int hs_index);
|
H A D | md_stripe.h | 148 mddb_recid_t *, int, void (**)(), void **);
|
H A D | mdmn_commd.x | 141 mddb_recid_t msg_stch_hs_id; /* hs_id at time of call */ 209 mddb_recid_t msg_allochsp_hs_id; /* hotspare id */
|
H A D | mdio.h | 348 mddb_recid_t hs_id; 357 mddb_recid_t hs_id; 869 mddb_recid_t ur_recid;
|
/titanic_41/usr/src/uts/common/io/lvm/hotspares/ |
H A D | hotspares.c | 75 lookup_hot_spare(set_t setno, mddb_recid_t hs_id, int must_exist) in lookup_hot_spare() 94 mddb_recid_t recid; in seths_create_hsp() 166 mddb_recid_t recid; in seths_add() 167 mddb_recid_t recids[5]; in seths_add() 347 (sizeof (mddb_recid_t) * hsp->hsp_nhotspares); in seths_add() 366 (sizeof (mddb_recid_t) * hsp->hsp_nhotspares); in seths_add() 375 (sizeof (mddb_recid_t) * hsp->hsp_nhotspares) in seths_add() 376 - sizeof (mddb_recid_t)))); in seths_add() 518 mddb_recid_t recids[4]; in seths_delete() 696 mddb_recid_t recid; in seths_replace() [all …]
|
/titanic_41/usr/src/head/ |
H A D | mdmn_changelog.h | 53 mddb_recid_t lr_selfid; 67 mddb_recid_t lr_selfid;
|
/titanic_41/usr/src/uts/common/io/lvm/md/ |
H A D | md_names.c | 42 mdkey_t, char *, mddb_recid_t *, int); 166 mddb_recid_t recid; in cleanup_unused_rec() 193 mddb_recid_t nmid; in create_hdr() 249 mddb_recid_t p_recid, /* parent recid */ in create_record() 259 mddb_recid_t recids[3]; in create_record() 261 mddb_recid_t new_id; in create_record() 314 mddb_recid_t parent_recid, /* parent record id */ in expand_record() 323 mddb_recid_t new_id; in expand_record() 324 mddb_recid_t old_id; in expand_record() 325 mddb_recid_t recids[3]; in expand_record() [all …]
|
H A D | md_rename.c | 334 mddb_recid_t *recid_list, in md_store_recid() 337 mddb_recid_t *rp; in md_store_recid() 1550 rtxnp->recids = kmem_alloc(sizeof (mddb_recid_t) * rtxnp->n_recids, in alloc_recids() 1558 (sizeof (mddb_recid_t) * rtxnp->n_recids)); in alloc_recids() 1787 kmem_free(rtxn.recids, sizeof (mddb_recid_t) * rtxn.n_recids); in md_rename()
|
/titanic_41/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe_ioctl.c | 71 mddb_recid_t recids[6]; in stripe_replace() 136 mddb_recid_t ms_recid; in stripe_set() 137 mddb_recid_t *recids; in stripe_set() 224 recids = kmem_alloc(num_recs * sizeof (mddb_recid_t), KM_SLEEP); in stripe_set() 238 kmem_free(recids, num_recs * sizeof (mddb_recid_t)); in stripe_set() 258 kmem_free(recids, num_recs * sizeof (mddb_recid_t)); in stripe_set() 290 kmem_free(recids, (num_recs * sizeof (mddb_recid_t))); in stripe_set() 407 mddb_recid_t ms_recid; in stripe_grow() 408 mddb_recid_t old_vtoc = 0; in stripe_grow() 409 mddb_recid_t *recids; in stripe_grow() [all …]
|
H A D | stripe.c | 364 mddb_recid_t *recids; in reset_stripe() 365 mddb_recid_t vtoc_id; in reset_stripe() 396 recids = kmem_alloc(sizeof (mddb_recid_t) * (nsv + 3), KM_SLEEP); in reset_stripe() 494 kmem_free(recids, sizeof (mddb_recid_t) * (nsv + 3)); in reset_stripe() 823 mddb_recid_t recid; in stripe_snarf() 1266 mddb_recid_t *recids, int nrecids, void (**replace_done)(), in stripe_replace_dev() 1280 mddb_recid_t hs_id = 0; in stripe_replace_dev() 1416 mddb_recid_t ids[3]; in stripe_replace_dev() 1525 mddb_recid_t *recids, in stripe_hotspare_dev() 1611 mddb_recid_t recid; in stripe_imp_set() [all …]
|
/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_metad_subr.c | 58 mddb_recid_t url_recid; 66 url_addl(ur_recid_lst_t **urlpp, mddb_recid_t recid) in url_addl() 82 url_findl(ur_recid_lst_t *urlp, mddb_recid_t recid) in url_findl() 214 mddb_recid_t *idp, in get_db_rec() 304 mddb_recid_t *idp, in get_ur_rec() 417 sr_del_drv(md_set_record *sr, mddb_recid_t recid) in sr_del_drv() 861 sr_in_cache(mddb_recid_t recid) in sr_in_cache() 880 mddb_recid_t id; in set_snarf() 881 mddb_recid_t *p; in set_snarf() 1193 sr_cache_del(mddb_recid_t recid) in sr_cache_del() [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/raid/ |
H A D | raid_hotspare.c | 86 mddb_recid_t *recids, in raid_hs_release() 106 col->un_hs_id = (mddb_recid_t)0; in raid_hs_release() 131 mddb_recid_t recids[3]; in check_comp_4_hs()
|
H A D | raid_ioctl.c | 206 raid_commit(mr_unit_t *un, mddb_recid_t *extras) in raid_commit() 208 mddb_recid_t *recids; in raid_commit() 227 recids = (mddb_recid_t *) in raid_commit() 228 kmem_zalloc(nrecids * sizeof (mddb_recid_t), KM_SLEEP); in raid_commit() 246 kmem_free(recids, nrecids * sizeof (mddb_recid_t)); in raid_commit() 890 mddb_recid_t mr_recid; in raid_set() 891 mddb_recid_t *recids; in raid_set() 959 recids = kmem_alloc(num_recs * sizeof (mddb_recid_t), KM_SLEEP); in raid_set() 1038 kmem_free(recids, (num_recs * sizeof (mddb_recid_t))); in raid_set() 1124 mddb_recid_t extra_recids[3] = { 0, 0, 0 }; in raid_replace() [all …]
|
/titanic_41/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_log.c | 109 mddb_recid_t recids[4]; in logcommitdb() 361 ldl_findlog(mddb_recid_t recid) in ldl_findlog() 416 mddb_recid_t 420 mddb_recid_t recid; in ldl_create()
|
H A D | mdtrans.c | 215 mddb_recid_t recids[4]; in trans_commit() 499 mddb_recid_t vtoc_id; in trans_reset() 782 mddb_recid_t recid; in trans_snarf() 1141 mddb_recid_t recid; in trans_imp_set() 1145 mddb_recid_t *record_id; /* record id needs to be updated */ in trans_imp_set()
|
/titanic_41/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp_ioctl.c | 161 mddb_recid_t *recids; in sp_setstatus() 177 recids = kmem_alloc((nunits + 1) * sizeof (mddb_recid_t), KM_SLEEP); in sp_setstatus() 205 kmem_free(recids, ((nunits + 1) * sizeof (mddb_recid_t))); in sp_setstatus() 451 mddb_recid_t recids[3]; in sp_set() 749 mddb_recid_t recid; in sp_grow() 751 mddb_recid_t old_vtoc = 0; in sp_grow()
|