ioinst.c (16aaacb307ed607b9780c12702c44f0fe52edc7e) | ioinst.c (46ea3841edaff2a7657b8f6c7f474e5e3850cd62) |
---|---|
1/* 2 * I/O instructions for S/390 3 * 4 * Copyright 2012, 2015 IBM Corp. 5 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com> 6 * 7 * This work is licensed under the terms of the GNU GPL, version 2 or (at 8 * your option) any later version. See the COPYING file in the top-level --- 278 unchanged lines hidden (view full) --- 287 s390_cpu_virt_mem_handle_exc(cpu, ra); 288 } 289 return; 290 } 291 trace_ioinst_sch_id("stsch", cssid, ssid, schid); 292 sch = css_find_subch(m, cssid, ssid, schid); 293 if (sch) { 294 if (css_subch_visible(sch)) { | 1/* 2 * I/O instructions for S/390 3 * 4 * Copyright 2012, 2015 IBM Corp. 5 * Author(s): Cornelia Huck <cornelia.huck@de.ibm.com> 6 * 7 * This work is licensed under the terms of the GNU GPL, version 2 or (at 8 * your option) any later version. See the COPYING file in the top-level --- 278 unchanged lines hidden (view full) --- 287 s390_cpu_virt_mem_handle_exc(cpu, ra); 288 } 289 return; 290 } 291 trace_ioinst_sch_id("stsch", cssid, ssid, schid); 292 sch = css_find_subch(m, cssid, ssid, schid); 293 if (sch) { 294 if (css_subch_visible(sch)) { |
295 css_do_stsch(sch, &schib); 296 cc = 0; | 295 cc = css_do_stsch(sch, &schib); |
297 } else { 298 /* Indicate no more subchannels in this css/ss */ 299 cc = 3; 300 } 301 } else { 302 if (css_schid_final(m, cssid, ssid, schid)) { 303 cc = 3; /* No more subchannels in this css/ss */ 304 } else { --- 509 unchanged lines hidden --- | 296 } else { 297 /* Indicate no more subchannels in this css/ss */ 298 cc = 3; 299 } 300 } else { 301 if (css_schid_final(m, cssid, ssid, schid)) { 302 cc = 3; /* No more subchannels in this css/ss */ 303 } else { --- 509 unchanged lines hidden --- |