Home
last modified time | relevance | path

Searched refs:work_area (Results 1 – 4 of 4) sorted by relevance

/linux/arch/powerpc/platforms/pseries/
H A Dpapr-sysparm.c99 struct rtas_work_area *work_area; in papr_sysparm_get() local
114 work_area = rtas_work_area_alloc(sizeof(*buf)); in papr_sysparm_get()
116 memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf)); in papr_sysparm_get()
120 rtas_work_area_phys(work_area), in papr_sysparm_get()
121 rtas_work_area_size(work_area)); in papr_sysparm_get()
127 memcpy(buf, rtas_work_area_raw_buf(work_area), sizeof(*buf)); in papr_sysparm_get()
147 rtas_work_area_free(work_area); in papr_sysparm_get()
155 struct rtas_work_area *work_area; in papr_sysparm_set() local
170 work_area = rtas_work_area_alloc(sizeof(*buf)); in papr_sysparm_set()
172 memcpy(rtas_work_area_raw_buf(work_area), buf, sizeof(*buf)); in papr_sysparm_set()
[all …]
H A Dpapr-vpd.c42 struct rtas_work_area *work_area; member
71 struct rtas_work_area *work_area = params->work_area; in rtas_ibm_get_vpd() local
82 rtas_work_area_phys(work_area), in rtas_ibm_get_vpd()
83 rtas_work_area_size(work_area), in rtas_ibm_get_vpd()
105 if (WARN(params->written > rtas_work_area_size(work_area), in rtas_ibm_get_vpd()
255 .work_area = rtas_work_area_alloc(SZ_4K), in vpd_sequence_begin()
270 rtas_work_area_free(seq->params.work_area); in vpd_sequence_end()
333 return rtas_work_area_raw_buf(p->work_area); in vpd_sequence_fill_work_area()
H A Ddlpar.c142 struct rtas_work_area *work_area; in dlpar_configure_connector() local
151 work_area = rtas_work_area_alloc(SZ_4K); in dlpar_configure_connector()
152 data_buf = rtas_work_area_raw_buf(work_area); in dlpar_configure_connector()
161 rtas_work_area_phys(work_area), NULL); in dlpar_configure_connector()
222 rtas_work_area_free(work_area); in dlpar_configure_connector()
H A Drtas-work-area.c74 static void __init rtas_work_area_free_early(struct rtas_work_area *work_area) in rtas_work_area_free_early() argument
76 WARN_ON(work_area != &early_work_area); in rtas_work_area_free_early()