scif_sas_domain.c (231137) | scif_sas_domain.c (250460) |
---|---|
1/*- 2 * This file is provided under a dual BSD/GPLv2 license. When using or 3 * redistributing this file, you may do so under either license. 4 * 5 * GPL LICENSE SUMMARY 6 * 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * --- 37 unchanged lines hidden (view full) --- 46 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 47 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 48 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 49 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 50 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 */ 52 53#include <sys/cdefs.h> | 1/*- 2 * This file is provided under a dual BSD/GPLv2 license. When using or 3 * redistributing this file, you may do so under either license. 4 * 5 * GPL LICENSE SUMMARY 6 * 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 8 * --- 37 unchanged lines hidden (view full) --- 46 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 47 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 48 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 49 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 50 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 */ 52 53#include <sys/cdefs.h> |
54__FBSDID("$FreeBSD: head/sys/dev/isci/scil/scif_sas_domain.c 231137 2012-02-07 17:45:11Z jimharris $"); | 54__FBSDID("$FreeBSD: head/sys/dev/isci/scil/scif_sas_domain.c 250460 2013-05-10 16:41:26Z eadler $"); |
55 56/** 57 * @file 58 * 59 * @brief This file contains the implementation of the SCIF_SAS_DOMAIN 60 * object. 61 */ 62 --- 569 unchanged lines hidden (view full) --- 632 fw_request->state_handlers->abort_handler(&fw_request->parent); 633 } 634 else 635 { 636 SCI_FAST_LIST_ELEMENT_T * element = fw_domain->request_list.list_head; 637 SCIF_SAS_REQUEST_T * request = NULL; 638 639 // Cycle through the fast list of IO requests. Terminate each | 55 56/** 57 * @file 58 * 59 * @brief This file contains the implementation of the SCIF_SAS_DOMAIN 60 * object. 61 */ 62 --- 569 unchanged lines hidden (view full) --- 632 fw_request->state_handlers->abort_handler(&fw_request->parent); 633 } 634 else 635 { 636 SCI_FAST_LIST_ELEMENT_T * element = fw_domain->request_list.list_head; 637 SCIF_SAS_REQUEST_T * request = NULL; 638 639 // Cycle through the fast list of IO requests. Terminate each |
640 // oustanding requests that matches the criteria supplied by the | 640 // outstanding requests that matches the criteria supplied by the |
641 // caller. 642 while (element != NULL) 643 { 644 request = (SCIF_SAS_REQUEST_T*) sci_fast_list_get_object(element); 645 // The current element may be deleted from the list becasue of 646 // IO completion so advance to the next element early 647 element = sci_fast_list_get_next(element); 648 --- 621 unchanged lines hidden (view full) --- 1270) 1271{ 1272 SCI_FAST_LIST_ELEMENT_T * element = fw_domain->request_list.list_head; 1273 SCIF_SAS_REQUEST_T * request = NULL; 1274 U8 count = 0; 1275 SCIC_TRANSPORT_PROTOCOL protocol; 1276 1277 // Cycle through the fast list of IO requests. Terminate each | 641 // caller. 642 while (element != NULL) 643 { 644 request = (SCIF_SAS_REQUEST_T*) sci_fast_list_get_object(element); 645 // The current element may be deleted from the list becasue of 646 // IO completion so advance to the next element early 647 element = sci_fast_list_get_next(element); 648 --- 621 unchanged lines hidden (view full) --- 1270) 1271{ 1272 SCI_FAST_LIST_ELEMENT_T * element = fw_domain->request_list.list_head; 1273 SCIF_SAS_REQUEST_T * request = NULL; 1274 U8 count = 0; 1275 SCIC_TRANSPORT_PROTOCOL protocol; 1276 1277 // Cycle through the fast list of IO requests. Terminate each |
1278 // oustanding requests that matches the criteria supplied by the | 1278 // outstanding requests that matches the criteria supplied by the |
1279 // caller. 1280 while (element != NULL) 1281 { 1282 request = (SCIF_SAS_REQUEST_T*) sci_fast_list_get_object(element); 1283 // The current element may be deleted from the list becasue of 1284 // IO completion so advance to the next element early 1285 element = sci_fast_list_get_next(element); 1286 --- 250 unchanged lines hidden --- | 1279 // caller. 1280 while (element != NULL) 1281 { 1282 request = (SCIF_SAS_REQUEST_T*) sci_fast_list_get_object(element); 1283 // The current element may be deleted from the list becasue of 1284 // IO completion so advance to the next element early 1285 element = sci_fast_list_get_next(element); 1286 --- 250 unchanged lines hidden --- |