2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * This file contains generic SCSI related functions for scsi plug-in 2N/A /* Check for valid handle */ 2N/A "Signature expected=0x%x, found=0x%x\n",
2N/A /* Check for valid handle */ 2N/A /* Check for valid handle */ 2N/A /* Check for valid handle */ 2N/A "Error in raw write. errnum = 0x%x blk_num = 0x%x(%d)\n",
2N/A /* Check for valid handle */ 2N/A * Check if another thread is doing an IO with same handle. 2N/A * In that case ww block here. 2N/A "Error in raw read. errnum = 0x%x blk_num = 0x%x(%d)\n",
2N/A /* Check for valid handle */ 2N/A /* Check for valid handle */ 2N/A /* Check for valid handle */ 2N/A /* Check for valid handle */ 2N/A "Error in reassign_block. block = 0x%x errnum = 0x%x \n",
2N/A /* Check for valid handle */ 2N/A /* Check for valid handle */ 2N/A /* Check for valid handle */ 2N/A * We will be validating the user supplied buffer lengths and 2N/A * Check if another thread is doing an IO with same handle. 2N/A * In that case we block here. 2N/A * The uscsi_buflen has been validated in the call to 2N/A * remap_shared_buf() done earlier. 2N/A /* Check for write */ 2N/A * Invalid resid value. return error. 2N/A DPRINTF2(
"Error in uscsi_cmd: retval=0x%x uscsi_status=0x%x\n",
2N/A /* extend the file and re-map */ 2N/A /* create a new file and mapping */ 2N/A /* Need to start at the beginning of the file when enlarging */ 2N/A DPRINTF(
"Returned successful from remap shared buf routine.\n");