Searched defs:mdn (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_svm.c302 mdname_t *mdn; local
305 mdn = (mdl_metaname)(&sp, nlp->namep->cname,
308 if (mdn == NULL) {
312 raid = (mdl_meta_get_raid)(sp, mdn, &error);
336 mdname_t *mdn; local
339 mdn = (mdl_metaname)(&sp, nlp->namep->cname,
342 if (mdn == NULL) {
346 stripe = (mdl_meta_get_stripe)(sp, mdn, &error);
380 mdname_t *mdn; local
383 mdn
652 mdname_t *mdn; local
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_svm_util.c1671 mdname_t *mdn; local
1674 mdn = metaname(&sp, nlp->namep->cname, META_DEVICE, &error);
1676 if (mdn == NULL) {
1680 raid = meta_get_raid(sp, mdn, &error);
1703 mdname_t *mdn; local
1706 mdn = metaname(&sp, nlp->namep->cname, META_DEVICE, &error);
1708 if (mdn == NULL) {
1712 stripe = meta_get_stripe(sp, mdn, &error);
1744 mdname_t *mdn; local
1747 mdn
1901 mdname_t *mdn; local
[all...]
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetastat.c1183 mdname_t *mdn; local
1187 mdn = metaname(&sp, nlp->namep->cname,
1190 if (mdn == NULL) {
1197 soft_part = meta_get_sp_common(sp, mdn, 1, &error);
1224 mdn = metaname(&sp, tnlp->namep->cname,
1228 if (mdn == NULL)
1231 part = meta_get_sp_common(sp, mdn, 1, &error);
1319 mdname_t *mdn; local
1322 mdn = metaname(&sp, nlp->namep->cname, META_DEVICE, &error);
1324 if (mdn
[all...]
/illumos-gate/usr/src/uts/common/pcmcia/cs/
H A Dcs_stubs.c429 csx_MakeDeviceNode(client_handle_t ch, make_device_node_t *mdn) argument
435 return (CardServices(MakeDeviceNode, ch, mdn));
H A Dcs.c7619 cs_make_device_node(client_handle_t client_handle, make_device_node_t *mdn) argument
7671 switch (mdn->Action) {
7676 if (mdn->NumDevNodes) {
7695 for (i = 0; i < mdn->NumDevNodes; i++) {
7696 devnode_desc_t *devnode_desc = &mdn->devnode_desc[i];
7709 if (mdn->Action == CREATE_DEVICE_NODE) {
7720 if (i < (mdn->NumDevNodes - 1))
7727 } /* for (mdn->NumDevNodes) */
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_tx.c413 dnode_t *mdn = DMU_META_DNODE(txh->txh_tx->tx_objset); local
414 uint64_t space = mdn->dn_datablksz +
415 ((mdn->dn_nlevels-1) << mdn->dn_indblkshift);
H A Ddnode.c1064 dnode_t *mdn, *dn; local
1098 mdn = DMU_META_DNODE(os);
1099 ASSERT(mdn->dn_object == DMU_META_DNODE_OBJECT);
1101 DNODE_VERIFY(mdn);
1103 if (!RW_WRITE_HELD(&mdn->dn_struct_rwlock)) {
1104 rw_enter(&mdn->dn_struct_rwlock, RW_READER);
1108 blk = dbuf_whichblock(mdn, 0, object * sizeof (dnode_phys_t));
1110 db = dbuf_hold(mdn, blk, FTAG);
1112 rw_exit(&mdn->dn_struct_rwlock);
1967 * dnode_next_offset(mdn, flag
[all...]
H A Ddmu_objset.c768 dnode_t *mdn; local
777 mdn = DMU_META_DNODE(os);
779 dnode_allocate(mdn, DMU_OT_DNODE, 1 << DNODE_BLOCK_SHIFT,
802 * (mdn->dn_indblkshift - SPA_BLKPTRSHIFT) (10) must be
805 while ((uint64_t)mdn->dn_nblkptr <<
806 (mdn->dn_datablkshift - DNODE_SHIFT +
807 (levels - 1) * (mdn->dn_indblkshift - SPA_BLKPTRSHIFT)) <
811 mdn->dn_next_nlevels[tx->tx_txg & TXG_MASK] =
812 mdn->dn_nlevels = levels;
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dsvm_rcm.c1600 mdname_t *mdn; local
1603 mdn = metaname(&sp, nlp->namep->cname, META_DEVICE,
1605 if (mdn == NULL) {
1609 trans = meta_get_trans(sp, mdn, &error);
1624 mdname_t *mdn; local
1627 mdn = metaname(&sp, nlp->namep->cname, META_DEVICE,
1629 if (mdn == NULL) {
1633 mirror = meta_get_mirror(sp, mdn, &error);
1648 mdname_t *mdn; local
1651 mdn
1672 mdname_t *mdn; local
1696 mdname_t *mdn; local
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c847 * mdn - metadnode to get the object dnode
858 dnode_get(dnode_phys_t *mdn, uint64_t objnum, uint8_t type, dnode_phys_t *buf, argument
866 blksz = mdn->dn_datablkszsec << SPA_MINBLOCKSHIFT;
871 if (dnode_buf != NULL && dnode_mdn == mdn &&
880 dnode_mdn = mdn;
888 if (errnum = dmu_read(mdn, blkid, (char *)dnbuf, stack))
942 * Get the file dnode for a given file name where mdn is the meta dnode
951 dnode_get_path(dnode_phys_t *mdn, char *path, dnode_phys_t *dn, argument
957 if (errnum = dnode_get(mdn, MASTER_NODE_OBJ, DMU_OT_MASTER_NODE,
969 if (errnum = dnode_get(mdn, objnu
1112 get_objset_mdn(dnode_phys_t *mosmdn, char *fsname, uint64_t *obj, dnode_phys_t *mdn, char *stack) argument
1724 dnode_phys_t *mdn; local
[all...]

Completed in 374 milliseconds