/drivers/staging/lustre/lnet/lnet/ |
D | api-ni.c | 1665 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 …]
|
D | acceptor.c | 448 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/ |
D | niobuf.c | 88 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()
|
D | ptlrpcd.c | 269 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()
|
D | nrs.c | 1199 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/ |
D | xattr.c | 550 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()
|
D | file.c | 767 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/ |
D | qd65xx.c | 426 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/ |
D | echo_client.c | 779 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/ |
D | efx.c | 755 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()
|
D | siena.c | 97 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()
|
D | falcon.c | 1884 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()
|
D | ef10.c | 3370 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/ |
D | llog.c | 791 int rc = 0, rc2; in llog_erase() local 805 rc2 = llog_close(env, handle); in llog_erase() 807 rc = rc2; in llog_erase()
|
D | genops.c | 598 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/ |
D | mgc_request.c | 1429 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/ |
D | obd_class.h | 1309 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/ |
D | ibmveth.c | 769 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/ |
D | qeth_l2_main.c | 1133 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()
|
D | qeth_core_main.c | 1597 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()
|
D | qeth_l3_main.c | 3470 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/ |
D | o2iblnd_cb.c | 304 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/ |
D | lmv_obd.c | 594 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/ |
D | hpsa.c | 4532 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/ |
D | lpfc_init.c | 6723 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()
|