Lines Matching refs:status
107 static inline int hv_result(u64 status) in hv_result() argument
109 return status & HV_HYPERCALL_RESULT_MASK; in hv_result()
112 static inline bool hv_result_success(u64 status) in hv_result_success() argument
114 return hv_result(status) == HV_STATUS_SUCCESS; in hv_result_success()
117 static inline unsigned int hv_repcomp(u64 status) in hv_repcomp() argument
120 return (status & HV_HYPERCALL_REP_COMP_MASK) >> in hv_repcomp()
132 u64 status; in hv_do_rep_hypercall() local
139 status = hv_do_hypercall(control, input, output); in hv_do_rep_hypercall()
140 if (!hv_result_success(status)) in hv_do_rep_hypercall()
141 return status; in hv_do_rep_hypercall()
143 rep_comp = hv_repcomp(status); in hv_do_rep_hypercall()
151 return status; in hv_do_rep_hypercall()
315 #define hv_status_printk(level, status, fmt, ...) \ argument
317 u64 __status = (status); \
321 #define hv_status_err(status, fmt, ...) \ argument
322 hv_status_printk(err, status, fmt, ##__VA_ARGS__)
323 #define hv_status_debug(status, fmt, ...) \ argument
324 hv_status_printk(debug, status, fmt, ##__VA_ARGS__)
327 int hv_result_to_errno(u64 status);