Searched refs:ipl_info (Results 1 - 10 of 10) sorted by relevance

/linux-4.1.27/arch/s390/kernel/
H A Dipl.c256 if (ipl->ipl_info.fcp.opt == DIAG308_IPL_OPT_DUMP) get_ipl_type()
261 struct ipl_info ipl_info; variable in typeref:struct:ipl_info
262 EXPORT_SYMBOL_GPL(ipl_info); variable
267 return sprintf(page, "%s\n", ipl_type_str(ipl_info.type)); ipl_type_show()
281 if ((ipb->ipl_info.ccw.vm_flags & DIAG308_VM_FLAGS_VP_VALID) && reipl_get_ascii_vmparm()
282 (ipb->ipl_info.ccw.vm_parm_len > 0)) { reipl_get_ascii_vmparm()
284 len = min_t(size_t, size - 1, ipb->ipl_info.ccw.vm_parm_len); reipl_get_ascii_vmparm()
285 memcpy(dest, ipb->ipl_info.ccw.vm_parm, len); reipl_get_ascii_vmparm()
343 count = min(size - 1, scpdata_length(ipb->ipl_info.fcp.scp_data, reipl_append_ascii_scpdata()
344 ipb->ipl_info.fcp.scp_data_len)); reipl_append_ascii_scpdata()
350 if (!isascii(ipb->ipl_info.fcp.scp_data[i])) { reipl_append_ascii_scpdata()
354 if (!has_lowercase && islower(ipb->ipl_info.fcp.scp_data[i])) reipl_append_ascii_scpdata()
359 memcpy(dest, ipb->ipl_info.fcp.scp_data, count); reipl_append_ascii_scpdata()
362 dest[i] = tolower(ipb->ipl_info.fcp.scp_data[i]); reipl_append_ascii_scpdata()
389 switch (ipl_info.type) { sys_ipl_device_show()
394 return sprintf(page, "0.0.%04x\n", ipl->ipl_info.fcp.devno); sys_ipl_device_show()
418 unsigned int size = IPL_PARMBLOCK_START->ipl_info.fcp.scp_data_len; ipl_scp_data_read()
419 void *scp_data = &IPL_PARMBLOCK_START->ipl_info.fcp.scp_data; ipl_scp_data_read()
435 IPL_PARMBLOCK_START->ipl_info.fcp.wwpn);
437 IPL_PARMBLOCK_START->ipl_info.fcp.lun);
439 IPL_PARMBLOCK_START->ipl_info.fcp.bootprog);
441 IPL_PARMBLOCK_START->ipl_info.fcp.br_lba);
534 else if (ipl_info.type == IPL_TYPE_CCW) __ipl_run()
535 reipl_ccw_dev(&ipl_info.data.ccw.dev_id); __ipl_run()
552 switch (ipl_info.type) { ipl_init()
619 memset(ipb->ipl_info.ccw.vm_parm, 0, DIAG308_VMPARM_SIZE); reipl_generic_vmparm_store()
620 ipb->ipl_info.ccw.vm_parm_len = ip_len; reipl_generic_vmparm_store()
622 ipb->ipl_info.ccw.vm_flags |= DIAG308_VM_FLAGS_VP_VALID; reipl_generic_vmparm_store()
623 memcpy(ipb->ipl_info.ccw.vm_parm, buf, ip_len); reipl_generic_vmparm_store()
624 ASCEBC(ipb->ipl_info.ccw.vm_parm, ip_len); reipl_generic_vmparm_store()
626 ipb->ipl_info.ccw.vm_flags &= ~DIAG308_VM_FLAGS_VP_VALID; reipl_generic_vmparm_store()
673 size_t size = reipl_block_fcp->ipl_info.fcp.scp_data_len; reipl_fcp_scpdata_read()
674 void *scp_data = reipl_block_fcp->ipl_info.fcp.scp_data; reipl_fcp_scpdata_read()
695 memcpy(reipl_block_fcp->ipl_info.fcp.scp_data, buf + off, count); reipl_fcp_scpdata_write()
700 memset(reipl_block_fcp->ipl_info.fcp.scp_data + scpdata_len, reipl_fcp_scpdata_write()
705 reipl_block_fcp->ipl_info.fcp.scp_data_len = scpdata_len; reipl_fcp_scpdata_write()
721 reipl_block_fcp->ipl_info.fcp.wwpn);
723 reipl_block_fcp->ipl_info.fcp.lun);
725 reipl_block_fcp->ipl_info.fcp.bootprog);
727 reipl_block_fcp->ipl_info.fcp.br_lba);
729 reipl_block_fcp->ipl_info.fcp.devno);
812 reipl_block_ccw->ipl_info.ccw.devno);
874 memcpy(dst, ipb->ipl_info.ccw.nss_name, NSS_NAME_SIZE); reipl_get_ascii_nss_name()
902 memset(reipl_block_nss->ipl_info.ccw.nss_name, 0x40, NSS_NAME_SIZE); reipl_nss_name_store()
904 reipl_block_nss->ipl_info.ccw.vm_flags |= reipl_nss_name_store()
906 memcpy(reipl_block_nss->ipl_info.ccw.nss_name, buf, nss_len); reipl_nss_name_store()
907 ASCEBC(reipl_block_nss->ipl_info.ccw.nss_name, nss_len); reipl_nss_name_store()
908 EBC_TOUPPER(reipl_block_nss->ipl_info.ccw.nss_name, nss_len); reipl_nss_name_store()
910 reipl_block_nss->ipl_info.ccw.vm_flags &= reipl_nss_name_store()
1031 pos = sprintf(dst, "IPL %X CLEAR", ipb->ipl_info.ccw.devno); get_ipl_string()
1052 devid.devno = reipl_block_ccw->ipl_info.ccw.devno; __reipl_run()
1119 (ipl_block.ipl_info.ccw.vm_flags & DIAG308_VM_FLAGS_VP_VALID)) { reipl_block_ccw_fill_parms()
1121 ipb->ipl_info.ccw.vm_flags |= DIAG308_VM_FLAGS_VP_VALID; reipl_block_ccw_fill_parms()
1122 ipb->ipl_info.ccw.vm_parm_len = reipl_block_ccw_fill_parms()
1123 ipl_block.ipl_info.ccw.vm_parm_len; reipl_block_ccw_fill_parms()
1124 memcpy(ipb->ipl_info.ccw.vm_parm, reipl_block_ccw_fill_parms()
1125 ipl_block.ipl_info.ccw.vm_parm, DIAG308_VMPARM_SIZE); reipl_block_ccw_fill_parms()
1148 if (ipl_info.type == IPL_TYPE_NSS) { reipl_nss_init()
1149 memset(reipl_block_nss->ipl_info.ccw.nss_name, reipl_nss_init()
1151 memcpy(reipl_block_nss->ipl_info.ccw.nss_name, reipl_nss_init()
1153 ASCEBC(reipl_block_nss->ipl_info.ccw.nss_name, NSS_NAME_SIZE); reipl_nss_init()
1154 reipl_block_nss->ipl_info.ccw.vm_flags |= reipl_nss_init()
1187 if (ipl_info.type == IPL_TYPE_CCW) { reipl_ccw_init()
1188 reipl_block_ccw->ipl_info.ccw.devno = ipl_devno; reipl_ccw_init()
1201 if (ipl_info.type == IPL_TYPE_FCP) { reipl_fcp_init()
1227 if (ipl_info.type == IPL_TYPE_FCP) { reipl_fcp_init()
1241 reipl_block_fcp->ipl_info.fcp.opt = DIAG308_IPL_OPT_IPL; reipl_fcp_init()
1249 enum ipl_type reipl_type = ipl_info.type; reipl_type_init()
1307 dump_block_fcp->ipl_info.fcp.wwpn);
1309 dump_block_fcp->ipl_info.fcp.lun);
1311 dump_block_fcp->ipl_info.fcp.bootprog);
1313 dump_block_fcp->ipl_info.fcp.br_lba);
1315 dump_block_fcp->ipl_info.fcp.devno);
1334 dump_block_ccw->ipl_info.ccw.devno);
1414 devid.devno = dump_block_ccw->ipl_info.ccw.devno; __dump_run()
1421 sprintf(buf, "IPL %X", dump_block_ccw->ipl_info.ccw.devno); __dump_run()
1483 dump_block_fcp->ipl_info.fcp.opt = DIAG308_IPL_OPT_DUMP; dump_fcp_init()
1932 ipl_info.type = get_ipl_type(); setup_ipl()
1933 switch (ipl_info.type) { setup_ipl()
1935 ipl_info.data.ccw.dev_id.devno = ipl_devno; setup_ipl()
1936 ipl_info.data.ccw.dev_id.ssid = 0; setup_ipl()
1940 ipl_info.data.fcp.dev_id.devno = setup_ipl()
1941 IPL_PARMBLOCK_START->ipl_info.fcp.devno; setup_ipl()
1942 ipl_info.data.fcp.dev_id.ssid = 0; setup_ipl()
1943 ipl_info.data.fcp.wwpn = IPL_PARMBLOCK_START->ipl_info.fcp.wwpn; setup_ipl()
1944 ipl_info.data.fcp.lun = IPL_PARMBLOCK_START->ipl_info.fcp.lun; setup_ipl()
1947 strncpy(ipl_info.data.nss.name, kernel_nss_name, setup_ipl()
1948 sizeof(ipl_info.data.nss.name)); setup_ipl()
H A Dcrash_dump.c606 if (!OLDMEM_BASE && ipl_info.type != IPL_TYPE_FCP_DUMP) elfcorehdr_alloc()
612 if (ipl_info.type == IPL_TYPE_FCP_DUMP && !sclp_get_hsa_size()) elfcorehdr_alloc()
H A Dsuspend.c151 return ipl_info.type == IPL_TYPE_NSS ? 1 : 0; pfn_is_nosave()
H A Dsetup.c216 if (ipl_info.type != IPL_TYPE_FCP_DUMP) setup_zfcpdump()
512 if (ipl_info.type == IPL_TYPE_FCP_DUMP && reserve_memory_end()
H A Dsmp.c569 * condition: OLDMEM_BASE == NULL && ipl_info.type == IPL_TYPE_FCP_DUMP
575 * condition: OLDMEM_BASE != NULL && ipl_info.type == IPL_TYPE_FCP_DUMP
600 if (!(OLDMEM_BASE || ipl_info.type == IPL_TYPE_FCP_DUMP)) smp_store_cpu_states()
/linux-4.1.27/arch/s390/include/asm/
H A Dipl.h82 } ipl_info; member in struct:ipl_parameter_block
121 struct ipl_info struct
139 extern struct ipl_info ipl_info;
/linux-4.1.27/drivers/s390/cio/
H A Dblacklist.c177 if (ipl_info.type == IPL_TYPE_CCW) { blacklist_parse_parameters()
179 from_ssid = ipl_info.data.ccw.dev_id.ssid; blacklist_parse_parameters()
180 from = ipl_info.data.ccw.dev_id.devno; blacklist_parse_parameters()
181 } else if (ipl_info.type == IPL_TYPE_FCP || blacklist_parse_parameters()
182 ipl_info.type == IPL_TYPE_FCP_DUMP) { blacklist_parse_parameters()
184 from_ssid = ipl_info.data.fcp.dev_id.ssid; blacklist_parse_parameters()
185 from = ipl_info.data.fcp.dev_id.devno; blacklist_parse_parameters()
/linux-4.1.27/drivers/s390/char/
H A Dzcore.c642 if (ipl_info.type != IPL_TYPE_FCP_DUMP) zcore_init()
651 TRACE("devno: %x\n", ipl_info.data.fcp.dev_id.devno); zcore_init()
652 TRACE("wwpn: %llx\n", (unsigned long long) ipl_info.data.fcp.wwpn); zcore_init()
653 TRACE("lun: %llx\n", (unsigned long long) ipl_info.data.fcp.lun); zcore_init()
H A Dsclp_sdias.c257 if (ipl_info.type != IPL_TYPE_FCP_DUMP) sclp_sdias_init()
/linux-4.1.27/drivers/s390/block/
H A Ddasd_devmap.c138 if (ipl_info.type != IPL_TYPE_CCW) { dasd_busid()
143 *id1 = ipl_info.data.ccw.dev_id.ssid; dasd_busid()
144 *devno = ipl_info.data.ccw.dev_id.devno; dasd_busid()

Completed in 303 milliseconds