scsi_ctl.c (249466) | scsi_ctl.c (250460) |
---|---|
1/*- 2 * Copyright (c) 2008, 2009 Silicon Graphics International Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 */ 32/* 33 * Peripheral driver interface between CAM and CTL (CAM Target Layer). 34 * 35 * Author: Ken Merry <ken@FreeBSD.org> 36 */ 37 38#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2008, 2009 Silicon Graphics International Corp. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 22 unchanged lines hidden (view full) --- 31 */ 32/* 33 * Peripheral driver interface between CAM and CTL (CAM Target Layer). 34 * 35 * Author: Ken Merry <ken@FreeBSD.org> 36 */ 37 38#include <sys/cdefs.h> |
39__FBSDID("$FreeBSD: head/sys/cam/ctl/scsi_ctl.c 249466 2013-04-14 09:28:14Z mav $"); | 39__FBSDID("$FreeBSD: head/sys/cam/ctl/scsi_ctl.c 250460 2013-05-10 16:41:26Z eadler $"); |
40 41#include <sys/param.h> 42#include <sys/queue.h> 43#include <sys/systm.h> 44#include <sys/kernel.h> 45#include <sys/lock.h> 46#include <sys/mutex.h> 47#include <sys/condvar.h> --- 2084 unchanged lines hidden (view full) --- 2132 */ 2133 xpt_print(periph->path, "Total %u, Current %u, Resid %u\n", 2134 io->scsiio.kern_total_len, io->scsiio.kern_data_len, 2135 io->scsiio.kern_data_resid); 2136 } 2137 2138 xpt_print(periph->path, "%d requests total waiting for CCBs\n", 2139 num_items); | 40 41#include <sys/param.h> 42#include <sys/queue.h> 43#include <sys/systm.h> 44#include <sys/kernel.h> 45#include <sys/lock.h> 46#include <sys/mutex.h> 47#include <sys/condvar.h> --- 2084 unchanged lines hidden (view full) --- 2132 */ 2133 xpt_print(periph->path, "Total %u, Current %u, Resid %u\n", 2134 io->scsiio.kern_total_len, io->scsiio.kern_data_len, 2135 io->scsiio.kern_data_resid); 2136 } 2137 2138 xpt_print(periph->path, "%d requests total waiting for CCBs\n", 2139 num_items); |
2140 xpt_print(periph->path, "%ju CCBs oustanding (%ju allocated, %ju " | 2140 xpt_print(periph->path, "%ju CCBs outstanding (%ju allocated, %ju " |
2141 "freed)\n", (uintmax_t)(softc->ccbs_alloced - 2142 softc->ccbs_freed), (uintmax_t)softc->ccbs_alloced, 2143 (uintmax_t)softc->ccbs_freed); 2144 xpt_print(periph->path, "%ju CTIOs outstanding (%ju sent, %ju " 2145 "returned\n", (uintmax_t)(softc->ctios_sent - 2146 softc->ctios_returned), softc->ctios_sent, 2147 softc->ctios_returned); 2148} --- 127 unchanged lines hidden --- | 2141 "freed)\n", (uintmax_t)(softc->ccbs_alloced - 2142 softc->ccbs_freed), (uintmax_t)softc->ccbs_alloced, 2143 (uintmax_t)softc->ccbs_freed); 2144 xpt_print(periph->path, "%ju CTIOs outstanding (%ju sent, %ju " 2145 "returned\n", (uintmax_t)(softc->ctios_sent - 2146 softc->ctios_returned), softc->ctios_sent, 2147 softc->ctios_returned); 2148} --- 127 unchanged lines hidden --- |