Lines Matching full:long

14 static inline long poll_pending(void)  in poll_pending()
29 static inline long cede_processor(void) in cede_processor()
38 static inline long extended_cede_processor(unsigned long latency_hint) in extended_cede_processor()
40 long rc; in extended_cede_processor()
56 static inline long vpa_call(unsigned long flags, unsigned long cpu, in vpa_call()
57 unsigned long vpa) in vpa_call()
64 static inline long unregister_vpa(unsigned long cpu) in unregister_vpa()
69 static inline long register_vpa(unsigned long cpu, unsigned long vpa) in register_vpa()
74 static inline long unregister_slb_shadow(unsigned long cpu) in unregister_slb_shadow()
79 static inline long register_slb_shadow(unsigned long cpu, unsigned long vpa) in register_slb_shadow()
84 static inline long unregister_dtl(unsigned long cpu) in unregister_dtl()
89 static inline long register_dtl(unsigned long cpu, unsigned long vpa) in register_dtl()
96 static inline long plpar_pte_enter(unsigned long flags, in plpar_pte_enter()
97 unsigned long hpte_group, unsigned long hpte_v, in plpar_pte_enter()
98 unsigned long hpte_r, unsigned long *slot) in plpar_pte_enter()
100 long rc; in plpar_pte_enter()
101 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_enter()
110 static inline long plpar_pte_remove(unsigned long flags, unsigned long ptex, in plpar_pte_remove()
111 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove()
112 unsigned long *old_ptel_ret) in plpar_pte_remove()
114 long rc; in plpar_pte_remove()
115 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_remove()
126 static inline long plpar_pte_remove_raw(unsigned long flags, unsigned long ptex, in plpar_pte_remove_raw()
127 unsigned long avpn, unsigned long *old_pteh_ret, in plpar_pte_remove_raw()
128 unsigned long *old_ptel_ret) in plpar_pte_remove_raw()
130 long rc; in plpar_pte_remove_raw()
131 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_remove_raw()
141 static inline long plpar_pte_read(unsigned long flags, unsigned long ptex, in plpar_pte_read()
142 unsigned long *old_pteh_ret, unsigned long *old_ptel_ret) in plpar_pte_read()
144 long rc; in plpar_pte_read()
145 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_read()
156 static inline long plpar_pte_read_raw(unsigned long flags, unsigned long ptex, in plpar_pte_read_raw()
157 unsigned long *old_pteh_ret, unsigned long *old_ptel_ret) in plpar_pte_read_raw()
159 long rc; in plpar_pte_read_raw()
160 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_pte_read_raw()
171 * ptes must be 8*sizeof(unsigned long)
173 static inline long plpar_pte_read_4(unsigned long flags, unsigned long ptex, in plpar_pte_read_4()
174 unsigned long *ptes) in plpar_pte_read_4()
177 long rc; in plpar_pte_read_4()
178 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in plpar_pte_read_4()
182 memcpy(ptes, retbuf, 8*sizeof(unsigned long)); in plpar_pte_read_4()
189 * ptes must be 8*sizeof(unsigned long)
191 static inline long plpar_pte_read_4_raw(unsigned long flags, unsigned long ptex, in plpar_pte_read_4_raw()
192 unsigned long *ptes) in plpar_pte_read_4_raw()
195 long rc; in plpar_pte_read_4_raw()
196 unsigned long retbuf[PLPAR_HCALL9_BUFSIZE]; in plpar_pte_read_4_raw()
200 memcpy(ptes, retbuf, 8*sizeof(unsigned long)); in plpar_pte_read_4_raw()
205 static inline long plpar_pte_protect(unsigned long flags, unsigned long ptex, in plpar_pte_protect()
206 unsigned long avpn) in plpar_pte_protect()
211 static inline long plpar_resize_hpt_prepare(unsigned long flags, in plpar_resize_hpt_prepare()
212 unsigned long shift) in plpar_resize_hpt_prepare()
217 static inline long plpar_resize_hpt_commit(unsigned long flags, in plpar_resize_hpt_commit()
218 unsigned long shift) in plpar_resize_hpt_commit()
223 static inline long plpar_tce_get(unsigned long liobn, unsigned long ioba, in plpar_tce_get()
224 unsigned long *tce_ret) in plpar_tce_get()
226 long rc; in plpar_tce_get()
227 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_tce_get()
236 static inline long plpar_tce_put(unsigned long liobn, unsigned long ioba, in plpar_tce_put()
237 unsigned long tceval) in plpar_tce_put()
242 static inline long plpar_tce_put_indirect(unsigned long liobn, in plpar_tce_put_indirect()
243 unsigned long ioba, unsigned long page, unsigned long count) in plpar_tce_put_indirect()
248 static inline long plpar_tce_stuff(unsigned long liobn, unsigned long ioba, in plpar_tce_stuff()
249 unsigned long tceval, unsigned long count) in plpar_tce_stuff()
255 static inline long plpar_set_mode(unsigned long mflags, unsigned long resource, in plpar_set_mode()
256 unsigned long value1, unsigned long value2) in plpar_set_mode()
268 static inline long enable_reloc_on_exceptions(void) in enable_reloc_on_exceptions()
281 static inline long disable_reloc_on_exceptions(void) { in disable_reloc_on_exceptions()
292 static inline long enable_big_endian_exceptions(void) in enable_big_endian_exceptions()
305 static inline long enable_little_endian_exceptions(void) in enable_little_endian_exceptions()
311 static inline long plpar_set_ciabr(unsigned long ciabr) in plpar_set_ciabr()
316 static inline long plpar_set_watchpoint0(unsigned long dawr0, unsigned long dawrx0) in plpar_set_watchpoint0()
321 static inline long plpar_set_watchpoint1(unsigned long dawr1, unsigned long dawrx1) in plpar_set_watchpoint1()
326 static inline long plpar_signal_sys_reset(long cpu) in plpar_signal_sys_reset()
331 static inline long plpar_get_cpu_characteristics(struct h_cpu_char_result *p) in plpar_get_cpu_characteristics()
333 unsigned long retbuf[PLPAR_HCALL_BUFSIZE]; in plpar_get_cpu_characteristics()
334 long rc; in plpar_get_cpu_characteristics()
357 static inline long pseries_rpt_invalidate(u32 pid, u64 target, u64 type, in pseries_rpt_invalidate()
360 long rc; in pseries_rpt_invalidate()
361 unsigned long all; in pseries_rpt_invalidate()
392 static inline long plpar_set_ciabr(unsigned long ciabr) in plpar_set_ciabr()
397 static inline long plpar_pte_read_4(unsigned long flags, unsigned long ptex, in plpar_pte_read_4()
398 unsigned long *ptes) in plpar_pte_read_4()
403 static inline long pseries_rpt_invalidate(u32 pid, u64 target, u64 type, in pseries_rpt_invalidate()