dma_addr_t outdma = 0; int err;  outdma = pci_map_single(dev->pdev, qp_context, MTHCA_QP_CONTEXT_SIZE, PCI_DMA_FROMDEVICE); if (pci_dma_mapping_error(outdma)) return -ENOMEM;  err = mthca_cmd_box(dev, 0, outdma, (!!is_ee << 24) | num, 0, CMD_QUERY_QPEE, CMD_TIME_CLASS_A, status);  pci_unmap_single(dev->pdev, outdma, MTHCA_QP_CONTEXT_SIZE, PCI_DMA_FROMDEVICE); return err; 
return mthca_cmd_box(dev, 0, mailbox->dma, (!!is_ee << 24) | num, 0, CMD_QUERY_QPEE, CMD_TIME_CLASS_A, status); 
int mthca_QUERY_QP(struct mthca_dev *dev, u32 num, int is_ee,		   void *qp_context, u8 *status){	dma_addr_t outdma = 0;	int err;	outdma = pci_map_single(dev->pdev, qp_context,				MTHCA_QP_CONTEXT_SIZE,				PCI_DMA_FROMDEVICE);	if (pci_dma_mapping_error(outdma))		return -ENOMEM;	err = mthca_cmd_box(dev, 0, outdma, (!!is_ee << 24) | num, 0,			    CMD_QUERY_QPEE,			    CMD_TIME_CLASS_A, status);	pci_unmap_single(dev->pdev, outdma,			 MTHCA_QP_CONTEXT_SIZE,			 PCI_DMA_FROMDEVICE);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/ed878458eeff9754d66f1b0325df6ebbfcdce668/mthca_cmd.c/clean/drivers/infiniband/hw/mthca/mthca_cmd.c