Searched refs:sctns (Results 1 – 2 of 2) sorted by relevance
173 static void fill_hdr(struct sthyi_sctns *sctns) in fill_hdr() argument175 sctns->hdr.infhdln = sizeof(sctns->hdr); in fill_hdr()176 sctns->hdr.infmoff = sizeof(sctns->hdr); in fill_hdr()177 sctns->hdr.infmlen = sizeof(sctns->mac); in fill_hdr()178 sctns->hdr.infplen = sizeof(sctns->par); in fill_hdr()179 sctns->hdr.infpoff = sctns->hdr.infhdln + sctns->hdr.infmlen; in fill_hdr()180 sctns->hdr.infhtotl = sctns->hdr.infpoff + sctns->hdr.infplen; in fill_hdr()183 static void fill_stsi_mac(struct sthyi_sctns *sctns, in fill_stsi_mac() argument186 sclp_ocf_cpc_name_copy(sctns->mac.infmname); in fill_stsi_mac()187 if (*(u64 *)sctns->mac.infmname != 0) in fill_stsi_mac()[all …]
409 struct sthyi_sctns *sctns = NULL; in handle_sthyi() local434 sctns = (void *)get_zeroed_page(GFP_KERNEL_ACCOUNT); in handle_sthyi()435 if (!sctns) in handle_sthyi()438 cc = sthyi_fill(sctns, &rc); in handle_sthyi()440 free_page((unsigned long)sctns); in handle_sthyi()446 memcpy(sida_addr(vcpu->arch.sie_block), sctns, PAGE_SIZE); in handle_sthyi()448 r = write_guest(vcpu, addr, reg2, sctns, PAGE_SIZE); in handle_sthyi()450 free_page((unsigned long)sctns); in handle_sthyi()456 free_page((unsigned long)sctns); in handle_sthyi()