Lines Matching refs:sysinfo
184 struct sysinfo_1_1_1 *sysinfo) in fill_stsi_mac() argument
190 if (stsi(sysinfo, 1, 1, 1)) in fill_stsi_mac()
193 memcpy(sctns->mac.infmtype, sysinfo->type, sizeof(sctns->mac.infmtype)); in fill_stsi_mac()
194 memcpy(sctns->mac.infmmanu, sysinfo->manufacturer, sizeof(sctns->mac.infmmanu)); in fill_stsi_mac()
195 memcpy(sctns->mac.infmpman, sysinfo->plant, sizeof(sctns->mac.infmpman)); in fill_stsi_mac()
196 memcpy(sctns->mac.infmseq, sysinfo->sequence, sizeof(sctns->mac.infmseq)); in fill_stsi_mac()
202 struct sysinfo_2_2_2 *sysinfo) in fill_stsi_par() argument
204 if (stsi(sysinfo, 2, 2, 2)) in fill_stsi_par()
207 sctns->par.infppnum = sysinfo->lpar_number; in fill_stsi_par()
208 memcpy(sctns->par.infppnam, sysinfo->name, sizeof(sctns->par.infppnam)); in fill_stsi_par()
215 void *sysinfo; in fill_stsi() local
218 sysinfo = (void *)__get_free_page(GFP_KERNEL); in fill_stsi()
219 if (!sysinfo) in fill_stsi()
222 fill_stsi_mac(sctns, sysinfo); in fill_stsi()
223 fill_stsi_par(sctns, sysinfo); in fill_stsi()
225 free_pages((unsigned long)sysinfo, 0); in fill_stsi()