Home
last modified time | relevance | path

Searched refs:rc2 (Results 1 – 25 of 33) sorted by relevance

12

/drivers/net/ethernet/sfc/
Def10_sriov.c568 int rc = 0, rc2 = 0; in efx_ef10_sriov_set_vf_vlan() local
634 rc2 = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_set_vf_vlan()
635 if (rc2) { in efx_ef10_sriov_set_vf_vlan()
642 rc2 = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_set_vf_vlan()
643 if (rc2) in efx_ef10_sriov_set_vf_vlan()
650 rc2 = efx_ef10_vadaptor_alloc(vf->efx, EVB_PORT_ID_ASSIGNED); in efx_ef10_sriov_set_vf_vlan()
651 if (rc2) in efx_ef10_sriov_set_vf_vlan()
657 rc2 = vf->efx->type->filter_table_probe(vf->efx); in efx_ef10_sriov_set_vf_vlan()
658 if (rc2) in efx_ef10_sriov_set_vf_vlan()
664 rc2 = efx_net_open(vf->efx->net_dev); in efx_ef10_sriov_set_vf_vlan()
[all …]
Dsiena.c102 int rc, rc2; in siena_test_chip() local
120 rc2 = efx_reset_up(efx, reset_method, rc == 0); in siena_test_chip()
121 return rc ? rc : rc2; in siena_test_chip()
Defx.c792 int rc, rc2; in efx_realloc_channels() local
872 rc2 = efx_soft_enable_interrupts(efx); in efx_realloc_channels()
873 if (rc2) { in efx_realloc_channels()
874 rc = rc ? rc : rc2; in efx_realloc_channels()
2710 int rc, rc2; in efx_reset() local
2744 rc2 = efx_reset_up(efx, method, !disabled); in efx_reset()
2745 if (rc2) { in efx_reset()
2748 rc = rc2; in efx_reset()
Def10.c5344 int rc, rc2; in efx_ef10_vport_set_mac_address() local
5371 rc2 = efx_ef10_vport_add_mac(efx, nic_data->vport_id, mac_old); in efx_ef10_vport_set_mac_address()
5372 if (rc2) { in efx_ef10_vport_set_mac_address()
5380 rc2 = efx_ef10_vadaptor_alloc(efx, nic_data->vport_id); in efx_ef10_vport_set_mac_address()
5381 if (rc2) in efx_ef10_vport_set_mac_address()
5385 rc2 = efx_ef10_filter_table_probe(efx); in efx_ef10_vport_set_mac_address()
5387 if (rc2) in efx_ef10_vport_set_mac_address()
5390 rc2 = efx_net_open(efx->net_dev); in efx_ef10_vport_set_mac_address()
5391 if (rc2) in efx_ef10_vport_set_mac_address()
5403 return rc ? rc : rc2; in efx_ef10_vport_set_mac_address()
[all …]
/drivers/staging/lustre/lustre/ptlrpc/
Dniobuf.c83 int rc2; in ptl_send_buf() local
90 rc2 = LNetMDUnlink(*mdh); in ptl_send_buf()
91 LASSERTF(rc2 == 0, "rc2 = %d\n", rc2); in ptl_send_buf()
114 int rc2; in ptlrpc_register_bulk() local
187 rc2 = LNetMEUnlink(me_h); in ptlrpc_register_bulk()
188 LASSERT(rc2 == 0); in ptlrpc_register_bulk()
472 int rc2; in ptl_send_rpc() local
699 rc2 = LNetMEUnlink(reply_me_h); in ptl_send_rpc()
700 LASSERT(rc2 == 0); in ptl_send_rpc()
Dptlrpcd.c278 int rc2; in ptlrpcd_check() local
299 rc2 = lu_env_refill(env); in ptlrpcd_check()
300 if (rc2 != 0) { in ptlrpcd_check()
311 CERROR("Failure to refill session: %d\n", rc2); in ptlrpcd_check()
Dnrs.c1176 int rc2; in ptlrpc_nrs_policy_register() local
1193 rc2 = nrs_policy_unregister_locked(desc); in ptlrpc_nrs_policy_register()
1197 LASSERT(rc2 == 0); in ptlrpc_nrs_policy_register()
1216 rc2 = nrs_policy_unregister_locked(desc); in ptlrpc_nrs_policy_register()
1220 LASSERT(rc2 == 0); in ptlrpc_nrs_policy_register()
/drivers/staging/lustre/lnet/lnet/
Dapi-ni.c907 int rc, rc2; in lnet_ping_info_setup() local
954 rc2 = LNetMEUnlink(me_handle); in lnet_ping_info_setup()
955 LASSERT(!rc2); in lnet_ping_info_setup()
2148 int rc2; in lnet_ping() local
2195 rc2 = LNetMDUnlink(mdh); in lnet_ping()
2196 LASSERT(!rc2); in lnet_ping()
2208 rc2 = LNetEQPoll(&eqh, 1, timeout_ms, &event, &which); in lnet_ping()
2213 CDEBUG(D_NET, "poll %d(%d %d)%s\n", rc2, in lnet_ping()
2214 (rc2 <= 0) ? -1 : event.type, in lnet_ping()
2215 (rc2 <= 0) ? -1 : event.status, in lnet_ping()
[all …]
Dacceptor.c441 long rc2; in lnet_acceptor_start() local
465 rc2 = PTR_ERR(task); in lnet_acceptor_start()
466 CERROR("Can't start acceptor thread: %ld\n", rc2); in lnet_acceptor_start()
/drivers/staging/lustre/lustre/obdclass/
Dcl_lock.c198 int rc2; in cl_lock_request() local
202 rc2 = cl_sync_io_wait(env, anchor, 0); in cl_lock_request()
203 if (rc2 < 0 && rc == 0) in cl_lock_request()
204 rc = rc2; in cl_lock_request()
Dgenops.c527 int i, rc = 0, rc2; in class_notify_sptlrpc_conf() local
551 rc2 = obd_set_info_async(NULL, obd->obd_self_export, in class_notify_sptlrpc_conf()
554 rc = rc ? rc : rc2; in class_notify_sptlrpc_conf()
/drivers/staging/lustre/lustre/llite/
Dxattr.c525 ssize_t rc, rc2; in ll_listxattr() local
567 rc2 = ll_getxattr_lov(inode, NULL, 0); in ll_listxattr()
568 if (rc2 == -ENODATA) in ll_listxattr()
571 if (rc2 < 0) in ll_listxattr()
572 return rc2; in ll_listxattr()
Ddir.c705 int rc2, rc = 0; in ll_ioc_copy_start() local
755 rc2 = obd_iocontrol(LL_IOC_HSM_PROGRESS, sbi->ll_md_exp, sizeof(hpk), in ll_ioc_copy_start()
758 return rc ? rc : rc2; in ll_ioc_copy_start()
780 int rc2, rc = 0; in ll_ioc_copy_end() local
854 rc2 = obd_iocontrol(LL_IOC_HSM_PROGRESS, sbi->ll_md_exp, sizeof(hpk), in ll_ioc_copy_end()
857 return rc ? rc : rc2; in ll_ioc_copy_end()
Dfile.c717 int rc2; in ll_lease_open() local
835 rc2 = ll_close_inode_openhandle(inode, och, 0, NULL); in ll_lease_open()
836 if (rc2 < 0) in ll_lease_open()
839 PFID(&ll_i2info(inode)->lli_fid), rc2); in ll_lease_open()
2423 int rc2 = 0; in ll_file_flock() local
2523 rc2 = locks_lock_file_wait(file, file_lock); in ll_file_flock()
2525 if (rc2 && file_lock->fl_type != F_UNLCK) { in ll_file_flock()
2529 rc = rc2; in ll_file_flock()
Drw.c1128 int rc2; in ll_io_read_page() local
1130 rc2 = ll_readahead(env, io, &queue->c2_qin, ras, in ll_io_read_page()
1133 PFID(ll_inode2fid(inode)), rc2, vvp_index(vpg)); in ll_io_read_page()
/drivers/ide/
Dqd65xx.c426 int rc1, rc2 = -ENODEV; in qd65xx_init() local
433 rc2 = qd_probe(0xb0); in qd65xx_init()
435 if (rc1 < 0 && rc2 < 0) in qd65xx_init()
/drivers/net/ethernet/ibm/
Dibmveth.c782 int rc1 = 0, rc2 = 0; in ibmveth_set_csum_offload() local
856 rc2 = ibmveth_open(dev); in ibmveth_set_csum_offload()
858 return rc1 ? rc1 : rc2; in ibmveth_set_csum_offload()
866 int rc1 = 0, rc2 = 0; in ibmveth_set_tso() local
918 rc2 = ibmveth_open(dev); in ibmveth_set_tso()
920 return rc1 ? rc1 : rc2; in ibmveth_set_tso()
929 int rc1 = 0, rc2 = 0; in ibmveth_set_features() local
940 rc2 = ibmveth_set_tso(dev, large_send); in ibmveth_set_features()
941 if (rc2 && !adapter->large_send) in ibmveth_set_features()
946 return rc1 ? rc1 : rc2; in ibmveth_set_features()
/drivers/staging/lustre/lustre/osc/
Dosc_lock.c389 int rc2 = 0; in osc_lock_flush() local
405 rc2 = osc_lock_discard_pages(env, obj, start, end, mode); in osc_lock_flush()
406 if (rc == 0 && rc2 < 0) in osc_lock_flush()
407 rc = rc2; in osc_lock_flush()
/drivers/net/ethernet/sfc/falcon/
Defx.c774 int rc, rc2; in ef4_realloc_channels() local
854 rc2 = ef4_soft_enable_interrupts(efx); in ef4_realloc_channels()
855 if (rc2) { in ef4_realloc_channels()
856 rc = rc ? rc : rc2; in ef4_realloc_channels()
2463 int rc, rc2; in ef4_reset() local
2497 rc2 = ef4_reset_up(efx, method, !disabled); in ef4_reset()
2498 if (rc2) { in ef4_reset()
2501 rc = rc2; in ef4_reset()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c1442 int rc2; in mgc_process_recover_log() local
1446 rc2 = mgc_apply_recover_logs(obd, cld, res->mcr_offset, ptr, in mgc_process_recover_log()
1450 if (rc2 < 0) { in mgc_process_recover_log()
1452 cld->cld_logname, rc2); in mgc_process_recover_log()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1205 int rc2; in echo_client_page_debug_check() local
1216 rc2 = block_debug_check("test_brw", in echo_client_page_debug_check()
1219 if (rc2 != 0) { in echo_client_page_debug_check()
1221 rc = rc2; in echo_client_page_debug_check()
/drivers/staging/lustre/lustre/include/
Dobd_class.h1084 int rc2; in obd_notify_observer() local
1097 rc2 = onu->onu_upcall(observer, observed, ev, in obd_notify_observer()
1100 rc2 = 0; in obd_notify_observer()
1102 return rc1 ? rc1 : rc2; in obd_notify_observer()
/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c785 int rc1, rc2; in hns_set_coalesce() local
802 rc2 = ops->set_coalesce_frames(priv->ae_handle, in hns_set_coalesce()
806 if (rc1 || rc2) in hns_set_coalesce()
/drivers/net/ethernet/qlogic/qed/
Dqed_dev.c1859 int rc, rc2 = 0; in qed_hw_stop() local
1875 rc2 = -EINVAL; in qed_hw_stop()
1889 rc2 = -EINVAL; in qed_hw_stop()
1902 rc2 = -EINVAL; in qed_hw_stop()
1936 rc2 = -EINVAL; in qed_hw_stop()
1952 rc2 = -EINVAL; in qed_hw_stop()
1956 return rc2; in qed_hw_stop()
/drivers/s390/net/
Dqeth_l2_main.c1176 int rc = 0, rc2 = 0, rc3 = 0; in __qeth_l2_set_offline() local
1193 rc2 = ccw_device_set_offline(CARD_WDEV(card)); in __qeth_l2_set_offline()
1196 rc = (rc2) ? rc2 : rc3; in __qeth_l2_set_offline()

12