Lines Matching defs:hv_ret
115 unsigned long off, new_head, hv_ret;
123 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head);
125 pr_err("CPU[%d]: CWQ gethead[%lx] hv_ret[%lu]\n",
126 smp_processor_id(), new_head, hv_ret);
131 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head);
132 if (hv_ret == HV_EOK)
143 unsigned long head, hv_ret;
150 hv_ret = sun4v_ncs_gethead(q->qhandle, &head);
152 pr_err("CPU[%d]: MAU gethead[%lx] hv_ret[%lu]\n",
153 smp_processor_id(), head, hv_ret);
194 unsigned long hv_ret, new_tail;
198 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail);
199 if (hv_ret == HV_EOK)
201 return hv_ret;
472 unsigned long head, hv_ret;
475 hv_ret = sun4v_ncs_gethead(qp->qhandle, &head);
476 if (hv_ret != HV_EOK) {
485 return hv_ret;
491 unsigned long hv_ret = spu_queue_submit(qp, ent);
493 if (hv_ret == HV_EOK)
494 hv_ret = wait_for_tail(qp);
496 return hv_ret;
967 unsigned long flags, hv_ret;
989 hv_ret = wait_for_tail(qp);
990 if (hv_ret != HV_EOK)
1017 unsigned long flags, hv_ret, iv_paddr;
1079 hv_ret = wait_for_tail(qp);
1080 if (hv_ret != HV_EOK)
1646 unsigned long hv_ret;
1658 hv_ret = sun4v_ncs_qconf(q_type, __pa(p->q),
1660 if (!hv_ret)
1667 return (hv_ret ? -EINVAL : 0);
1689 unsigned long hv_ret;
1694 hv_ret = sun4v_ncs_qconf(p->q_type, p->qhandle, 0, &p->qhandle);
1696 if (!hv_ret)