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

/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Dmobility.c137 char *rtas_buf; update_dt_node() local
146 rtas_buf = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); update_dt_node()
147 if (!rtas_buf) update_dt_node()
152 kfree(rtas_buf); update_dt_node()
156 upwa = (struct update_props_workarea *)&rtas_buf[0]; update_dt_node()
160 rtas_rc = mobility_rtas_call(update_properties_token, rtas_buf, update_dt_node()
165 prop_data = rtas_buf + sizeof(*upwa); update_dt_node()
213 kfree(rtas_buf); update_dt_node()
241 char *rtas_buf; pseries_devicetree_update() local
250 rtas_buf = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); pseries_devicetree_update()
251 if (!rtas_buf) pseries_devicetree_update()
255 rc = mobility_rtas_call(update_nodes_token, rtas_buf, scope); pseries_devicetree_update()
259 data = (__be32 *)rtas_buf + 4; pseries_devicetree_update()
287 kfree(rtas_buf); pseries_devicetree_update()

Completed in 30 milliseconds