Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/sfc/
Def10_sriov.c567 int rc = 0, rc2 = 0; in efx_ef10_sriov_set_vf_vlan() local
633 rc2 = efx_ef10_vport_add_mac(efx, vf->vport_id, vf->mac); in efx_ef10_sriov_set_vf_vlan()
634 if (rc2) { in efx_ef10_sriov_set_vf_vlan()
641 rc2 = efx_ef10_evb_port_assign(efx, vf->vport_id, vf_i); in efx_ef10_sriov_set_vf_vlan()
642 if (rc2) in efx_ef10_sriov_set_vf_vlan()
649 rc2 = efx_ef10_vadaptor_alloc(vf->efx, EVB_PORT_ID_ASSIGNED); in efx_ef10_sriov_set_vf_vlan()
650 if (rc2) in efx_ef10_sriov_set_vf_vlan()
656 rc2 = vf->efx->type->filter_table_probe(vf->efx); in efx_ef10_sriov_set_vf_vlan()
657 if (rc2) in efx_ef10_sriov_set_vf_vlan()
665 rc2 = efx_net_open(vf->efx->net_dev); in efx_ef10_sriov_set_vf_vlan()
[all …]
Defx.c790 int rc, rc2; in efx_realloc_channels() local
870 rc2 = efx_soft_enable_interrupts(efx); in efx_realloc_channels()
871 if (rc2) { in efx_realloc_channels()
872 rc = rc ? rc : rc2; in efx_realloc_channels()
2670 int rc, rc2; in efx_reset() local
2704 rc2 = efx_reset_up(efx, method, !disabled); in efx_reset()
2705 if (rc2) { in efx_reset()
2708 rc = rc2; in efx_reset()
Dsiena.c103 int rc, rc2; in siena_test_chip() local
121 rc2 = efx_reset_up(efx, reset_method, rc == 0); in siena_test_chip()
122 return rc ? rc : rc2; in siena_test_chip()
Def10.c4627 int rc, rc2; in efx_ef10_vport_set_mac_address() local
4654 rc2 = efx_ef10_vport_add_mac(efx, nic_data->vport_id, mac_old); in efx_ef10_vport_set_mac_address()
4655 if (rc2) { in efx_ef10_vport_set_mac_address()
4663 rc2 = efx_ef10_vadaptor_alloc(efx, nic_data->vport_id); in efx_ef10_vport_set_mac_address()
4664 if (rc2) in efx_ef10_vport_set_mac_address()
4668 rc2 = efx_ef10_filter_table_probe(efx); in efx_ef10_vport_set_mac_address()
4670 if (rc2) in efx_ef10_vport_set_mac_address()
4673 rc2 = efx_net_open(efx->net_dev); in efx_ef10_vport_set_mac_address()
4674 if (rc2) in efx_ef10_vport_set_mac_address()
4686 return rc ? rc : rc2; in efx_ef10_vport_set_mac_address()
[all …]
Dfalcon.c1900 int rc, rc2; in falcon_b0_test_chip() local
1922 rc2 = efx_reset_up(efx, reset_method, rc == 0); in falcon_b0_test_chip()
1923 return rc ? rc : rc2; in falcon_b0_test_chip()
/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
191 rc2 = LNetMEUnlink(me_h); in ptlrpc_register_bulk()
192 LASSERT(rc2 == 0); in ptlrpc_register_bulk()
484 int rc2; in ptl_send_rpc() local
670 rc2 = LNetMEUnlink(reply_me_h); in ptl_send_rpc()
671 LASSERT(rc2 == 0); in ptl_send_rpc()
Dptlrpcd.c277 int rc2; in ptlrpcd_check() local
298 rc2 = lu_env_refill(env); in ptlrpcd_check()
299 if (rc2 != 0) { in ptlrpcd_check()
310 CERROR("Failure to refill session: %d\n", rc2); in ptlrpcd_check()
Dnrs.c1177 int rc2; in ptlrpc_nrs_policy_register() local
1194 rc2 = nrs_policy_unregister_locked(desc); in ptlrpc_nrs_policy_register()
1198 LASSERT(rc2 == 0); in ptlrpc_nrs_policy_register()
1217 rc2 = nrs_policy_unregister_locked(desc); in ptlrpc_nrs_policy_register()
1221 LASSERT(rc2 == 0); in ptlrpc_nrs_policy_register()
/drivers/staging/lustre/lnet/lnet/
Dapi-ni.c905 int rc, rc2; in lnet_ping_info_setup() local
952 rc2 = LNetMEUnlink(me_handle); in lnet_ping_info_setup()
953 LASSERT(!rc2); in lnet_ping_info_setup()
2155 int rc2; in lnet_ping() local
2202 rc2 = LNetMDUnlink(mdh); in lnet_ping()
2203 LASSERT(!rc2); in lnet_ping()
2215 rc2 = LNetEQPoll(&eqh, 1, timeout_ms, &event, &which); in lnet_ping()
2220 CDEBUG(D_NET, "poll %d(%d %d)%s\n", rc2, in lnet_ping()
2221 (rc2 <= 0) ? -1 : event.type, in lnet_ping()
2222 (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/llite/
Dxattr.c438 int rc = 0, rc2 = 0; in ll_listxattr() local
480 rc2 = -1; in ll_listxattr()
482 rc2 = ll_dir_getstripe(inode, (void **)&lmm, &lmmsize, in ll_listxattr()
486 if (rc2 < 0) { in ll_listxattr()
487 rc2 = 0; in ll_listxattr()
505 rc2 = total_len; in ll_listxattr()
509 rc = rc + rc2; in ll_listxattr()
Dfile.c752 int rc2; in ll_lease_open() local
870 rc2 = ll_close_inode_openhandle(sbi->ll_md_exp, inode, och, NULL); in ll_lease_open()
871 if (rc2 < 0) in ll_lease_open()
874 PFID(&ll_i2info(inode)->lli_fid), rc2); in ll_lease_open()
2595 int rc2 = 0; in ll_file_flock() local
2695 rc2 = locks_lock_file_wait(file, file_lock); in ll_file_flock()
2697 if (rc2 && file_lock->fl_type != F_UNLCK) { in ll_file_flock()
2701 rc = rc2; in ll_file_flock()
/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/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.c780 int rc1 = 0, rc2 = 0; in ibmveth_set_csum_offload() local
855 rc2 = ibmveth_open(dev); in ibmveth_set_csum_offload()
857 return rc1 ? rc1 : rc2; in ibmveth_set_csum_offload()
865 int rc1 = 0, rc2 = 0; in ibmveth_set_tso() local
917 rc2 = ibmveth_open(dev); in ibmveth_set_tso()
919 return rc1 ? rc1 : rc2; in ibmveth_set_tso()
928 int rc1 = 0, rc2 = 0; in ibmveth_set_features() local
939 rc2 = ibmveth_set_tso(dev, large_send); in ibmveth_set_features()
940 if (rc2 && !adapter->large_send) in ibmveth_set_features()
945 return rc1 ? rc1 : rc2; in ibmveth_set_features()
/drivers/staging/lustre/lustre/osc/
Dosc_lock.c387 int rc2 = 0; in osc_lock_flush() local
403 rc2 = osc_lock_discard_pages(env, obj, start, end, mode); in osc_lock_flush()
404 if (rc == 0 && rc2 < 0) in osc_lock_flush()
405 rc = rc2; in osc_lock_flush()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c1447 int rc2; in mgc_process_recover_log() local
1451 rc2 = mgc_apply_recover_logs(obd, cld, res->mcr_offset, ptr, in mgc_process_recover_log()
1455 if (rc2 < 0) { in mgc_process_recover_log()
1457 cld->cld_logname, rc2); in mgc_process_recover_log()
/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1214 int rc2; in echo_client_page_debug_check() local
1225 rc2 = block_debug_check("test_brw", in echo_client_page_debug_check()
1228 if (rc2 != 0) { in echo_client_page_debug_check()
1230 rc = rc2; in echo_client_page_debug_check()
/drivers/staging/lustre/lustre/include/
Dobd_class.h1201 int rc2; in obd_notify_observer() local
1214 rc2 = onu->onu_upcall(observer, observed, ev, in obd_notify_observer()
1217 rc2 = 0; in obd_notify_observer()
1219 return rc1 ? rc1 : rc2; in obd_notify_observer()
/drivers/s390/net/
Dqeth_l2_main.c1279 int rc = 0, rc2 = 0, rc3 = 0; in __qeth_l2_set_offline() local
1296 rc2 = ccw_device_set_offline(CARD_WDEV(card)); in __qeth_l2_set_offline()
1299 rc = (rc2) ? rc2 : rc3; in __qeth_l2_set_offline()
Dqeth_core_main.c1613 int rc1 = 0, rc2 = 0, rc3 = 0; in qeth_halt_channels() local
1617 rc2 = qeth_halt_channel(&card->write); in qeth_halt_channels()
1621 if (rc2) in qeth_halt_channels()
1622 return rc2; in qeth_halt_channels()
1628 int rc1 = 0, rc2 = 0, rc3 = 0; in qeth_clear_channels() local
1632 rc2 = qeth_clear_channel(&card->write); in qeth_clear_channels()
1636 if (rc2) in qeth_clear_channels()
1637 return rc2; in qeth_clear_channels()
Dqeth_l3_main.c3315 int rc = 0, rc2 = 0, rc3 = 0; in __qeth_l3_set_offline() local
3337 rc2 = ccw_device_set_offline(CARD_WDEV(card)); in __qeth_l3_set_offline()
3340 rc = (rc2) ? rc2 : rc3; in __qeth_l3_set_offline()
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd_cb.c316 int rc2; in kiblnd_handle_rx() local
331 rc2 = conn->ibc_credits; in kiblnd_handle_rx()
336 rc2, credits, conn->ibc_queue_depth); in kiblnd_handle_rx()
424 rc2 = kiblnd_init_rdma(conn, tx, IBLND_MSG_PUT_DONE, in kiblnd_handle_rx()
428 if (rc2 < 0) in kiblnd_handle_rx()
430 libcfs_nid2str(conn->ibc_peer->ibp_nid), rc2); in kiblnd_handle_rx()
/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c547 int rc2; in lmv_check_connect() local
555 rc2 = obd_disconnect(tgt->ltd_exp); in lmv_check_connect()
556 if (rc2) { in lmv_check_connect()
558 tgt->ltd_uuid.uuid, i, rc2); in lmv_check_connect()

12