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() argument189 sclp_ocf_cpc_name_copy(sctns->mac.infmname); in fill_stsi_mac()191 memcpy(sctns->mac.infmtype, sysinfo->type, sizeof(sctns->mac.infmtype)); in fill_stsi_mac()[all …]
365 struct sthyi_sctns *sctns = NULL; in handle_sthyi() local390 sctns = (void *)get_zeroed_page(GFP_KERNEL); in handle_sthyi()391 if (!sctns) in handle_sthyi()394 cc = sthyi_fill(sctns, &rc); in handle_sthyi()398 r = write_guest(vcpu, addr, reg2, sctns, PAGE_SIZE); in handle_sthyi()400 free_page((unsigned long)sctns); in handle_sthyi()405 free_page((unsigned long)sctns); in handle_sthyi()