Lines Matching refs:ppp_data
179 static unsigned int h_get_ppp(struct hvcall_ppp_data *ppp_data)
186 ppp_data->entitlement = retbuf[0];
187 ppp_data->unallocated_entitlement = retbuf[1];
189 ppp_data->group_num = (retbuf[2] >> 2 * 8) & 0xffff;
190 ppp_data->pool_num = retbuf[2] & 0xffff;
192 ppp_data->capped = (retbuf[3] >> 6 * 8) & 0x01;
193 ppp_data->weight = (retbuf[3] >> 5 * 8) & 0xff;
194 ppp_data->unallocated_weight = (retbuf[3] >> 4 * 8) & 0xff;
195 ppp_data->active_procs_in_pool = (retbuf[3] >> 2 * 8) & 0xffff;
196 ppp_data->active_system_procs = retbuf[3] & 0xffff;
198 ppp_data->phys_platform_procs = retbuf[4] >> 6 * 8;
199 ppp_data->max_proc_cap_avail = (retbuf[4] >> 3 * 8) & 0xffffff;
200 ppp_data->entitled_proc_cap_avail = retbuf[4] & 0xffffff;
225 struct hvcall_ppp_data ppp_data;
230 rc = h_get_ppp(&ppp_data);
235 ppp_data.entitlement);
236 seq_printf(m, "group=%d\n", ppp_data.group_num);
238 ppp_data.active_system_procs);
244 seq_printf(m, "pool=%d\n", ppp_data.pool_num);
248 ppp_data.active_procs_in_pool * 100);
256 ppp_data.unallocated_weight);
257 seq_printf(m, "capacity_weight=%d\n", ppp_data.weight);
258 seq_printf(m, "capped=%d\n", ppp_data.capped);
260 ppp_data.unallocated_entitlement);
274 ppp_data.phys_platform_procs);
276 ppp_data.max_proc_cap_avail);
278 ppp_data.entitled_proc_cap_avail);
534 struct hvcall_ppp_data ppp_data;
540 retval = h_get_ppp(&ppp_data);
545 new_weight = ppp_data.weight;
549 new_entitled = ppp_data.entitlement;
554 __func__, ppp_data.entitlement, ppp_data.weight);