Lines Matching refs:txn
100 md_rename_t txn;
155 (void) memset(&txn, 0, sizeof (txn));
157 txn.op = op;
158 txn.revision = MD_RENAME_VERSION;
159 txn.flags = 0;
160 txn.from.mnum = meta_getminor(from_np->dev);
161 txn.from.key = from_np->key;
188 txn.to.mnum = meta_getminor(to_np->dev);
189 txn.to.key = to_np->key;
192 (void) fprintf(stderr, "\top: %s\n", OP_STR(txn.op));
194 txn.revision, txn.flags);
197 txn.from.mnum, txn.from.key,
198 txn.to.mnum, txn.to.key);
202 if (metaioctl(MD_IOCRENAME, &txn, &txn.mde, from_np->cname) != 0) {
208 (void) metaioctl(MD_IOCREM_DEV, &txn.from.mnum,
217 (void) metaioctl(MD_IOCREM_DEV, &txn.to.mnum,
221 return (mdstealerror(ep, &txn.mde));