Home
last modified time | relevance | path

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

/drivers/staging/lustre/lnet/lnet/
Dapi-ni.c1665 int rc2; in lnet_ping_target_init() local
1716 rc2 = LNetMEUnlink(meh); in lnet_ping_target_init()
1717 LASSERT(rc2 == 0); in lnet_ping_target_init()
1719 rc2 = LNetEQFree(the_lnet.ln_ping_target_eq); in lnet_ping_target_init()
1720 LASSERT(rc2 == 0); in lnet_ping_target_init()
1780 int rc2; in lnet_ping() local
1825 rc2 = LNetMDUnlink(mdh); in lnet_ping()
1826 LASSERT(rc2 == 0); in lnet_ping()
1838 rc2 = LNetEQPoll(&eqh, 1, timeout_ms, &event, &which); in lnet_ping()
1843 CDEBUG(D_NET, "poll %d(%d %d)%s\n", rc2, in lnet_ping()
[all …]
Dacceptor.c448 long rc2; in lnet_acceptor_start() local
466 rc2 = PTR_ERR(kthread_run(lnet_acceptor, in lnet_acceptor_start()
469 if (IS_ERR_VALUE(rc2)) { in lnet_acceptor_start()
470 CERROR("Can't start acceptor thread: %ld\n", rc2); in lnet_acceptor_start()
/drivers/staging/lustre/lustre/ptlrpc/
Dniobuf.c88 int rc2; in ptl_send_buf() local
94 rc2 = LNetMDUnlink(*mdh); in ptl_send_buf()
95 LASSERTF(rc2 == 0, "rc2 = %d\n", rc2); in ptl_send_buf()
119 int rc2; in ptlrpc_register_bulk() local
195 rc2 = LNetMEUnlink(me_h); in ptlrpc_register_bulk()
196 LASSERT(rc2 == 0); in ptlrpc_register_bulk()
491 int rc2; in ptl_send_rpc() local
664 rc2 = LNetMEUnlink(reply_me_h); in ptl_send_rpc()
665 LASSERT(rc2 == 0); in ptl_send_rpc()
Dptlrpcd.c269 int rc2; in ptlrpcd_check() local
290 rc2 = lu_env_refill(env); in ptlrpcd_check()
291 if (rc2 != 0) { in ptlrpcd_check()
302 CERROR("Failure to refill session: %d\n", rc2); in ptlrpcd_check()
Dnrs.c1199 int rc2; in ptlrpc_nrs_policy_register() local
1217 rc2 = nrs_policy_unregister_locked(desc); in ptlrpc_nrs_policy_register()
1221 LASSERT(rc2 == 0); in ptlrpc_nrs_policy_register()
1240 rc2 = nrs_policy_unregister_locked(desc); in ptlrpc_nrs_policy_register()
1244 LASSERT(rc2 == 0); in ptlrpc_nrs_policy_register()
/drivers/staging/lustre/lustre/llite/
Dxattr.c550 int rc = 0, rc2 = 0; in ll_listxattr() local
591 rc2 = -1; in ll_listxattr()
593 rc2 = ll_dir_getstripe(inode, &lmm, &lmmsize, &request); in ll_listxattr()
596 if (rc2 < 0) { in ll_listxattr()
597 rc2 = 0; in ll_listxattr()
615 rc2 = total_len; in ll_listxattr()
619 rc = rc + rc2; in ll_listxattr()
Dfile.c767 int rc2; in ll_lease_open() local
877 rc2 = ll_close_inode_openhandle(sbi->ll_md_exp, inode, och, NULL); in ll_lease_open()
878 if (rc2) in ll_lease_open()
879 CERROR("Close openhandle returned %d\n", rc2); in ll_lease_open()
2699 int rc2 = 0; in ll_file_flock() local
2791 rc2 = flock_lock_file_wait(file, file_lock); in ll_file_flock()
2795 rc2 = posix_lock_file_wait(file, file_lock); in ll_file_flock()
2797 if (rc2 && file_lock->fl_type != F_UNLCK) { in ll_file_flock()
2801 rc = rc2; in ll_file_flock()
/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/staging/lustre/lustre/obdecho/
Decho_client.c779 int rc2; in echo_device_alloc() local
780 rc2 = echo_client_cleanup(obd); in echo_device_alloc()
781 if (rc2) in echo_device_alloc()
783 obd->obd_name, rc2); in echo_device_alloc()
1499 int rc2; in echo_client_page_debug_check() local
1511 rc2 = block_debug_check("test_brw", in echo_client_page_debug_check()
1514 if (rc2 != 0) { in echo_client_page_debug_check()
1516 rc = rc2; in echo_client_page_debug_check()
/drivers/net/ethernet/sfc/
Defx.c755 int rc, rc2; in efx_realloc_channels() local
835 rc2 = efx_soft_enable_interrupts(efx); in efx_realloc_channels()
836 if (rc2) { in efx_realloc_channels()
837 rc = rc ? rc : rc2; in efx_realloc_channels()
2459 int rc, rc2; in efx_reset() local
2493 rc2 = efx_reset_up(efx, method, !disabled); in efx_reset()
2494 if (rc2) { in efx_reset()
2497 rc = rc2; in efx_reset()
Dsiena.c97 int rc, rc2; in siena_test_chip() local
115 rc2 = efx_reset_up(efx, reset_method, rc == 0); in siena_test_chip()
116 return rc ? rc : rc2; in siena_test_chip()
Dfalcon.c1884 int rc, rc2; in falcon_b0_test_chip() local
1906 rc2 = efx_reset_up(efx, reset_method, rc == 0); in falcon_b0_test_chip()
1907 return rc ? rc : rc2; in falcon_b0_test_chip()
Def10.c3370 int rc, rc2; in efx_ef10_test_chip() local
3385 rc2 = efx_reset_up(efx, RESET_TYPE_WORLD, rc == 0); in efx_ef10_test_chip()
3386 return rc ? rc : rc2; in efx_ef10_test_chip()
/drivers/staging/lustre/lustre/obdclass/
Dllog.c791 int rc = 0, rc2; in llog_erase() local
805 rc2 = llog_close(env, handle); in llog_erase()
807 rc = rc2; in llog_erase()
Dgenops.c598 int i, rc = 0, rc2; in class_notify_sptlrpc_conf() local
622 rc2 = obd_set_info_async(NULL, obd->obd_self_export, in class_notify_sptlrpc_conf()
625 rc = rc ? rc : rc2; in class_notify_sptlrpc_conf()
/drivers/staging/lustre/lustre/mgc/
Dmgc_request.c1429 int rc2; in mgc_process_recover_log() local
1433 rc2 = mgc_apply_recover_logs(obd, cld, res->mcr_offset, ptr, in mgc_process_recover_log()
1437 if (rc2 < 0) { in mgc_process_recover_log()
1439 cld->cld_logname, rc2); in mgc_process_recover_log()
/drivers/staging/lustre/lustre/include/
Dobd_class.h1309 int rc2; in obd_notify_observer() local
1322 rc2 = onu->onu_upcall(observer, observed, ev, in obd_notify_observer()
1325 rc2 = 0; in obd_notify_observer()
1327 return rc1 ? rc1 : rc2; in obd_notify_observer()
/drivers/net/ethernet/ibm/
Dibmveth.c769 int rc1 = 0, rc2 = 0; in ibmveth_set_csum_offload() local
844 rc2 = ibmveth_open(dev); in ibmveth_set_csum_offload()
846 return rc1 ? rc1 : rc2; in ibmveth_set_csum_offload()
/drivers/s390/net/
Dqeth_l2_main.c1133 int rc = 0, rc2 = 0, rc3 = 0; in __qeth_l2_set_offline() local
1150 rc2 = ccw_device_set_offline(CARD_WDEV(card)); in __qeth_l2_set_offline()
1153 rc = (rc2) ? rc2 : rc3; in __qeth_l2_set_offline()
Dqeth_core_main.c1597 int rc1 = 0, rc2 = 0, rc3 = 0; in qeth_halt_channels() local
1601 rc2 = qeth_halt_channel(&card->write); in qeth_halt_channels()
1605 if (rc2) in qeth_halt_channels()
1606 return rc2; in qeth_halt_channels()
1612 int rc1 = 0, rc2 = 0, rc3 = 0; in qeth_clear_channels() local
1616 rc2 = qeth_clear_channel(&card->write); in qeth_clear_channels()
1620 if (rc2) in qeth_clear_channels()
1621 return rc2; in qeth_clear_channels()
Dqeth_l3_main.c3470 int rc = 0, rc2 = 0, rc3 = 0; in __qeth_l3_set_offline() local
3492 rc2 = ccw_device_set_offline(CARD_WDEV(card)); in __qeth_l3_set_offline()
3495 rc = (rc2) ? rc2 : rc3; in __qeth_l3_set_offline()
/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd_cb.c304 int rc2; in kiblnd_handle_rx() local
319 rc2 = conn->ibc_credits; in kiblnd_handle_rx()
324 rc2, credits, in kiblnd_handle_rx()
412 rc2 = kiblnd_init_rdma(conn, tx, IBLND_MSG_PUT_DONE, in kiblnd_handle_rx()
416 if (rc2 < 0) in kiblnd_handle_rx()
418 libcfs_nid2str(conn->ibc_peer->ibp_nid), rc2); in kiblnd_handle_rx()
/drivers/staging/lustre/lustre/lmv/
Dlmv_obd.c594 int rc2; in lmv_check_connect() local
601 rc2 = obd_disconnect(tgt->ltd_exp); in lmv_check_connect()
602 if (rc2) { in lmv_check_connect()
605 tgt->ltd_uuid.uuid, i, rc2); in lmv_check_connect()
/drivers/scsi/
Dhpsa.c4532 int rc = 0, rc2 = 0; in hpsa_send_abort_both_ways() local
4561 rc2 = hpsa_send_abort(h, scsi3addr, abort, 1); in hpsa_send_abort_both_ways()
4562 return rc && rc2; in hpsa_send_abort_both_ways()
/drivers/scsi/lpfc/
Dlpfc_init.c6723 int length, i, rc = 0, rc2; in lpfc_sli4_read_config() local
6837 rc2 = lpfc_sli_issue_mbox(phba, pmb, MBX_POLL); in lpfc_sli4_read_config()
6842 if (rc2 || shdr_status || shdr_add_status) { in lpfc_sli4_read_config()