Lines Matching refs:rc
45 efx_rc_t rc; in efx_proxy_auth_init() local
78 rc = ENOTSUP; in efx_proxy_auth_init()
83 rc = ENOTSUP; in efx_proxy_auth_init()
87 if ((rc = epop->epo_init(enp)) != 0) in efx_proxy_auth_init()
99 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_proxy_auth_init()
101 return (rc); in efx_proxy_auth_init()
127 efx_rc_t rc; in efx_proxy_auth_configure() local
137 rc = EINVAL; in efx_proxy_auth_configure()
143 rc = ENOTSUP; in efx_proxy_auth_configure()
147 rc = epop->epo_mc_config(enp, configp->request_bufferp, in efx_proxy_auth_configure()
151 if (rc != 0) in efx_proxy_auth_configure()
154 rc = epop->epo_privilege_modify(enp, MC_CMD_PRIVILEGE_MODIFY_IN_ALL, in efx_proxy_auth_configure()
156 if (rc != 0) in efx_proxy_auth_configure()
168 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_proxy_auth_configure()
169 return (rc); in efx_proxy_auth_configure()
178 efx_rc_t rc; in efx_proxy_auth_destroy() local
184 rc = ENOTSUP; in efx_proxy_auth_destroy()
188 rc = epop->epo_privilege_modify(enp, MC_CMD_PRIVILEGE_MODIFY_IN_ALL, in efx_proxy_auth_destroy()
190 if (rc != 0) in efx_proxy_auth_destroy()
193 rc = epop->epo_disable(enp); in efx_proxy_auth_destroy()
194 if (rc != 0) in efx_proxy_auth_destroy()
204 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_proxy_auth_destroy()
205 return (rc); in efx_proxy_auth_destroy()
216 efx_rc_t rc; in efx_proxy_auth_complete_request() local
221 rc = ENOTSUP; in efx_proxy_auth_complete_request()
225 rc = epop->epo_complete_request(enp, fn_index, proxy_result, handle); in efx_proxy_auth_complete_request()
226 if (rc != 0) in efx_proxy_auth_complete_request()
233 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_proxy_auth_complete_request()
234 return (rc); in efx_proxy_auth_complete_request()
243 efx_rc_t rc; in efx_proxy_auth_exec_cmd() local
248 rc = EINVAL; in efx_proxy_auth_exec_cmd()
253 rc = ENOTSUP; in efx_proxy_auth_exec_cmd()
257 rc = epop->epo_exec_cmd(enp, paramsp); in efx_proxy_auth_exec_cmd()
258 if (rc != 0) in efx_proxy_auth_exec_cmd()
267 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_proxy_auth_exec_cmd()
268 return (rc); in efx_proxy_auth_exec_cmd()
279 efx_rc_t rc; in efx_proxy_auth_set_privilege_mask() local
284 rc = ENOTSUP; in efx_proxy_auth_set_privilege_mask()
288 rc = epop->epo_set_privilege_mask(enp, vf_index, mask, value); in efx_proxy_auth_set_privilege_mask()
289 if (rc != 0) in efx_proxy_auth_set_privilege_mask()
297 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_proxy_auth_set_privilege_mask()
298 return (rc); in efx_proxy_auth_set_privilege_mask()
309 efx_rc_t rc; in efx_proxy_auth_privilege_mask_get() local
314 rc = ENOTSUP; in efx_proxy_auth_privilege_mask_get()
318 rc = epop->epo_get_privilege_mask(enp, pf_index, vf_index, maskp); in efx_proxy_auth_privilege_mask_get()
319 if (rc != 0) in efx_proxy_auth_privilege_mask_get()
327 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_proxy_auth_privilege_mask_get()
328 return (rc); in efx_proxy_auth_privilege_mask_get()
340 efx_rc_t rc; in efx_proxy_auth_privilege_modify() local
345 rc = ENOTSUP; in efx_proxy_auth_privilege_modify()
349 rc = epop->epo_privilege_modify(enp, MC_CMD_PRIVILEGE_MODIFY_IN_ONE, in efx_proxy_auth_privilege_modify()
352 if (rc != 0) in efx_proxy_auth_privilege_modify()
360 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_proxy_auth_privilege_modify()
361 return (rc); in efx_proxy_auth_privilege_modify()