Lines Matching defs:trans
395 struct xenbus_dev_transaction *trans;
412 while (trans = (struct xenbus_dev_transaction *)
414 (void) xenbus_transaction_end(trans->handle, 1);
415 list_remove(&xbs->transactions, (void *)trans);
416 kmem_free(trans, sizeof (*trans));
525 struct xenbus_dev_transaction *trans;
580 trans = kmem_alloc(sizeof (*trans), KM_SLEEP);
582 (unsigned long *)&trans->handle);
583 list_insert_tail(&xbs->transactions, (void *)trans);
586 for (trans = (struct xenbus_dev_transaction *)
587 list_head(&xbs->transactions); trans;
588 trans = (struct xenbus_dev_transaction *)
589 list_next(&xbs->transactions, (void *)trans))
590 if (trans->handle ==
594 ASSERT(trans);
596 list_remove(&xbs->transactions, (void *)trans);
597 kmem_free(trans, sizeof (*trans));