/freebsd/tools/test/stress2/misc/ |
H A D | poll2.sh | 171 int rc; 179 if ((rc = pthread_create(&tid[0], NULL, rd, NULL)) != 0) 180 errc(1, rc, "pthread_create"); 182 errc(1, rc, "pthread_create"); 184 errc(1, rc, "pthread_create"); 189 if ((rc = pthread_join(tid[0], NULL)) != 0) 190 errc(1, rc, "pthread_join"); 191 if ((rc = pthread_join(tid[1], NULL)) != 0) 192 errc(1, rc, "pthread_join"); 193 if ((rc = pthread_join(tid[2], NULL)) != 0) [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_uapi.c | 19 int rc; in uapi_add_elm() local 28 if (rc) { in uapi_add_elm() 178 int rc; in uapi_merge_obj_tree() local 219 if (rc) in uapi_merge_obj_tree() 281 int rc; in uapi_merge_def() local 425 int rc; in uapi_finalize() local 644 int rc; in uverbs_alloc_api() local 654 if (rc) in uverbs_alloc_api() 657 if (rc) in uverbs_alloc_api() 662 if (rc) in uverbs_alloc_api() [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | ef10_phy.c | 264 efx_rc_t rc; in ef10_phy_power() local 280 return (rc); in ef10_phy_power() 292 efx_rc_t rc; in ef10_phy_get_link() local 352 return (rc); in ef10_phy_get_link() 369 efx_rc_t rc; in ef10_phy_reconfigure() local 515 return (rc); in ef10_phy_reconfigure() 526 efx_rc_t rc; in ef10_phy_verify() local 563 return (rc); in ef10_phy_verify() 581 efx_rc_t rc; in ef10_phy_link_state_get() local 595 return (rc); in ef10_phy_link_state_get() [all …]
|
H A D | efx_tx.c | 239 efx_rc_t rc; in efx_tx_init() local 305 return (rc); in efx_tx_init() 340 efx_rc_t rc; in efx_tx_qcreate() local 379 return (rc); in efx_tx_qcreate() 410 efx_rc_t rc; in efx_tx_qpost() local 421 return (rc); in efx_tx_qpost() 445 efx_rc_t rc; in efx_tx_qpace() local 456 return (rc); in efx_tx_qpace() 465 efx_rc_t rc; in efx_tx_qflush() local 476 return (rc); in efx_tx_qflush() [all …]
|
/freebsd/contrib/libdiff/lib/ |
H A D | diff_output_unidiff.c | 257 if (rc < 0) in output_unidiff_chunk() 272 if (rc < 0) in output_unidiff_chunk() 319 if (rc) in output_unidiff_chunk() 320 return rc; in output_unidiff_chunk() 344 if (rc < 0) in output_unidiff_chunk() 362 if (rc) in output_unidiff_chunk() 363 return rc; in output_unidiff_chunk() 383 if (rc) in output_unidiff_chunk() 384 return rc; in output_unidiff_chunk() 404 if (rc) in output_unidiff_chunk() [all …]
|
/freebsd/contrib/sqlite3/ |
H A D | shell.c | 4062 if( rc<0 ) rc = -1; in decimalCmpFunc() 4063 else if( rc>0 ) rc = +1; in decimalCmpFunc() 5212 if( rc!=SQLITE_OK ) return rc; in sqlite3_base_init() 12651 if( rc==SQLITE_OK ) rc = rc2; in idxGetTableInfo() 13627 if( rc!=SQLITE_OK ) return rc; in idxBuildSampleTable() 14378 if( p->rc ) return p->rc; in intckStep() 16263 if( rc==SQLITE_OK ) rc = rc2; in dbdataDbsize() 24107 if( rc!=SQLITE_OK && rc!=SQLITE_ROW && rc!=SQLITE_DONE ){ in tryToCloneData() 30801 if( rc && bail_on_error ) return rc==2 ? 0 : rc; 31058 if( rc ) return rc; [all …]
|
H A D | sqlite3.c | 82341 rc = p->rc; 102204 p->rc = rc; 141947 if( rc > pData->rc ) pData->rc = rc; 219132 p->rc = rc; 220439 p->rc = rc; 220890 p->rc = rc; 222506 p->rc = rc; 222508 rc = p->rc; 222520 p->rc = rc; 238533 if( rc || (rc = sCtx.rc) ){ [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | vdev_raidz.c | 2353 rc->rc_offset, rc->rc_abd, in vdev_raidz_io_start_write() 2365 rc->rc_shadow_offset, rc->rc_abd, in vdev_raidz_io_start_write() 2438 rc->rc_offset, rc->rc_abd, rc->rc_size, in vdev_raidz_io_start_read_row() 2665 if (!rc->rc_tried || rc->rc_error != 0) in raidz_parity_verify() 2785 rc->rc_offset, rc->rc_abd, rc->rc_size, in vdev_raidz_io_done_verified() 2821 rc->rc_shadow_offset, rc->rc_abd, rc->rc_size, in vdev_raidz_io_done_verified() 2840 rc->rc_orig_data, rc->rc_size); in raidz_restore_orig_data() 2935 rc->rc_abd, rc->rc_size); in raidz_reconstruct() 3003 rc, rc->rc_orig_data); in raidz_reconstruct() 3345 if (rc->rc_tried || rc->rc_size == 0) in vdev_raidz_read_all() [all …]
|
H A D | vdev_draid.c | 668 rc->rc_abd = abd_get_offset_struct(&rc->rc_abdstruct, in vdev_draid_map_alloc_write() 724 rc->rc_abd = abd_get_offset_struct(&rc->rc_abdstruct, in vdev_draid_map_alloc_scrub() 772 rc->rc_abd = abd_get_offset_struct(&rc->rc_abdstruct, in vdev_draid_map_alloc_read() 876 vdev_raidz_checksum_error(zio, rc, rc->rc_abd); in vdev_draid_map_verify_empty() 1053 rc->rc_size = 0; in vdev_draid_map_alloc_row() 1069 rc->rc_abd = abd_alloc_linear(rc->rc_size, B_FALSE); in vdev_draid_map_alloc_row() 1838 ASSERT3U(rc->rc_offset + rc->rc_size, ==, physical_rs.rs_end); in vdev_draid_io_verify() 1870 vd->vdev_child[rc->rc_devidx], rc->rc_offset, in vdev_draid_io_start_write() 1871 rc->rc_abd, rc->rc_size, zio->io_type, zio->io_priority, in vdev_draid_io_start_write() 2014 if (rc->rc_error || rc->rc_size == 0) in vdev_draid_io_start_read() [all …]
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_clip.c | 218 int rc; in add_lip() local 232 return (rc); in add_lip() 364 rc = EIO; in t4_release_clip_addr() 369 rc = 0; in t4_release_clip_addr() 375 return (rc); in t4_release_clip_addr() 572 int rc; in update_hw_clip_table() local 577 if (rc != 0) in update_hw_clip_table() 606 rc = 0; in update_hw_clip_table() 637 rc = 0; in update_hw_clip_table() 657 return (rc); in update_hw_clip_table() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoXVentana.td | 32 def : Pat<(i64 (riscv_czero_eqz GPR:$rs1, GPR:$rc)), 33 (VT_MASKC GPR:$rs1, GPR:$rc)>; 34 def : Pat<(i64 (riscv_czero_nez GPR:$rs1, GPR:$rc)), 35 (VT_MASKCN GPR:$rs1, GPR:$rc)>; 37 def : Pat<(i64 (riscv_czero_eqz GPR:$rs1, (riscv_setne (i64 GPR:$rc)))), 38 (VT_MASKC GPR:$rs1, GPR:$rc)>; 39 def : Pat<(i64 (riscv_czero_eqz GPR:$rs1, (riscv_seteq (i64 GPR:$rc)))), 40 (VT_MASKCN GPR:$rs1, GPR:$rc)>; 41 def : Pat<(i64 (riscv_czero_nez GPR:$rs1, (riscv_setne (i64 GPR:$rc)))), 42 (VT_MASKCN GPR:$rs1, GPR:$rc)>; [all …]
|
H A D | RISCVInstrInfoZicond.td | 37 def : Pat<(XLenVT (riscv_czero_eqz GPR:$rs1, GPR:$rc)), 38 (CZERO_EQZ GPR:$rs1, GPR:$rc)>; 39 def : Pat<(XLenVT (riscv_czero_nez GPR:$rs1, GPR:$rc)), 40 (CZERO_NEZ GPR:$rs1, GPR:$rc)>; 42 def : Pat<(XLenVT (riscv_czero_eqz GPR:$rs1, (riscv_setne (XLenVT GPR:$rc)))), 43 (CZERO_EQZ GPR:$rs1, GPR:$rc)>; 44 def : Pat<(XLenVT (riscv_czero_eqz GPR:$rs1, (riscv_seteq (XLenVT GPR:$rc)))), 45 (CZERO_NEZ GPR:$rs1, GPR:$rc)>; 46 def : Pat<(XLenVT (riscv_czero_nez GPR:$rs1, (riscv_setne (XLenVT GPR:$rc)))), 47 (CZERO_NEZ GPR:$rs1, GPR:$rc)>; [all …]
|
/freebsd/sys/net/route/ |
H A D | route_helpers.c | 265 rc->rc_nh_new = wn_src->nh; in notify_add() 274 cb(rc, cbdata); in notify_add() 281 rc->rc_nh_old = wn_src->nh; in notify_del() 290 cb(rc, cbdata); in notify_del() 308 tmp.nh = rc->rc_nh_old; in decompose_change_notification() 309 tmp.weight = rc->rc_nh_weight; in decompose_change_notification() 316 tmp.nh = rc->rc_nh_new; in decompose_change_notification() 317 tmp.weight = rc->rc_nh_weight; in decompose_change_notification() 388 rc_new = *rc; in rib_decompose_notification() 389 switch (rc->rc_cmd) { in rib_decompose_notification() [all …]
|
/freebsd/usr.sbin/periodic/etc/daily/ |
H A D | 100.clean-disks | 21 rc=2 26 rc=2 43 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \ 46 [ -z "$print" ] && rc=0 47 [ $rc -gt 1 ] && rc=1 51 *) rc=0;; 54 exit $rc
|
H A D | 222.backup-gmirror | 23 rc=0 27 rc=1 29 mv "${file}.bak" "${file}.bak2" || rc=3 30 mv "${file}.tmp" "${file}.bak" || rc=3 33 rc=1 34 mv "${file}.tmp" "${file}.bak" || rc=3 52 rc=2 67 *) rc=0;; 70 exit $rc
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_rcmd_pxy.c | 69 rcmdinfo_t *rc; in ipf_p_rcmd_new() local 78 KMALLOC(rc, rcmdinfo_t *); in ipf_p_rcmd_new() 79 if (rc == NULL) { in ipf_p_rcmd_new() 90 KFREE(rc); in ipf_p_rcmd_new() 94 aps->aps_data = rc; in ipf_p_rcmd_new() 95 aps->aps_psiz = sizeof(*rc); in ipf_p_rcmd_new() 96 bzero((char *)rc, sizeof(*rc)); in ipf_p_rcmd_new() 98 rc->rcmd_rule = ipn; in ipf_p_rcmd_new() 142 rcmdinfo_t *rc; in ipf_p_rcmd_portmsg() local 189 if (rc->rcmd_port != 0 && sp != rc->rcmd_port) { in ipf_p_rcmd_portmsg() [all …]
|
/freebsd/contrib/xz/src/liblzma/lzma/ |
H A D | lzma_encoder.c | 113 rc_bit(rc, &lc->choice, 0); in length() 116 rc_bit(rc, &lc->choice, 1); in length() 120 rc_bit(rc, &lc->choice2, 0); in length() 123 rc_bit(rc, &lc->choice2, 1); in length() 163 rc_bittree_reverse(&coder->rc, in match() 194 rc_bit(&coder->rc, in rep_match() 241 rc_bit(&coder->rc, in encode_symbol() 246 rc_bit(&coder->rc, in encode_symbol() 389 rc_forget(&coder->rc); in lzma_lzma_encode() 422 rc_flush(&coder->rc); in lzma_lzma_encode() [all …]
|
/freebsd/contrib/ntp/libparse/ |
H A D | clk_sel240x.c | 95 unsigned long rc; in inp_sel240x() local 106 rc = PARSE_INP_SKIP; in inp_sel240x() 109 if( (rc = parse_addchar(parseio, ch)) == PARSE_INP_SKIP ) in inp_sel240x() 111 rc = parse_end( parseio ); in inp_sel240x() 115 rc = parse_addchar( parseio, ch ); in inp_sel240x() 118 return rc; in inp_sel240x() 130 unsigned long rc = CVT_NONE; in cvt_sel240x() local 140 rc = CVT_FAIL | CVT_BADFMT; in cvt_sel240x() 163 rc = CVT_OK; in cvt_sel240x() 167 return rc; in cvt_sel240x()
|
/freebsd/lib/libnvmf/ |
H A D | nvmf_controller.c | 84 struct nvmf_capsule *rc; in nvmf_send_response() local 88 if (rc == NULL) in nvmf_send_response() 91 nvmf_free_capsule(rc); in nvmf_send_response() 99 struct nvmf_capsule *rc; in nvmf_send_error() local 104 nvmf_free_capsule(rc); in nvmf_send_error() 125 struct nvmf_capsule *rc; in nvmf_connect_invalid_parameters() local 134 nvmf_free_capsule(rc); in nvmf_connect_invalid_parameters() 152 rc = NULL; in nvmf_accept() 324 if (rc != NULL) { in nvmf_accept() 350 if (rc == NULL) in nvmf_finish_accept() [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_sp_commands.c | 69 return rc; in ecore_sp_init_request() 351 return rc; in ecore_sp_pf_start() 452 return rc; in ecore_sp_pf_start() 471 return rc; in ecore_sp_pf_update_dcbx() 501 return rc; in ecore_sp_pf_update_ufp() 547 return rc; in ecore_sp_rl_update() 599 return rc; in ecore_sp_pf_update_tunn_cfg() 616 return rc; in ecore_sp_pf_update_tunn_cfg() 623 return rc; in ecore_sp_pf_update_tunn_cfg() 627 return rc; in ecore_sp_pf_update_tunn_cfg() [all …]
|
/freebsd/sys/crypto/blake2/ |
H A D | blake2_cryptodev.c | 231 int rc; in blake2b_applicator() local 233 rc = blake2b_update(state, buf, len); in blake2b_applicator() 234 if (rc != 0) in blake2b_applicator() 242 int rc; in blake2s_applicator() local 244 rc = blake2s_update(state, buf, len); in blake2s_applicator() 245 if (rc != 0) in blake2s_applicator() 260 int error, rc; in blake2_cipher_process() local 278 if (rc != 0) { in blake2_cipher_process() 287 if (rc != 0) in blake2_cipher_process() 295 if (rc != 0) { in blake2_cipher_process() [all …]
|
/freebsd/sys/contrib/alpine-hal/ |
H A D | al_hal_serdes_25g.c | 560 int rc; in al_serdes_25g_eye_diag_run() local 607 if (rc) { in al_serdes_25g_eye_diag_run() 641 if (rc) { in al_serdes_25g_eye_diag_run() 762 int rc; in al_serdes_25g_calc_eye_size() local 782 if (rc) { in al_serdes_25g_calc_eye_size() 810 if (rc) { in al_serdes_25g_calc_eye_size() 1403 int rc; in al_serdes_25g_rx_advanced_params_get() local 1502 int rc; in al_serdes_25g_tx_diag_info_get() local 1517 if (rc) { in al_serdes_25g_tx_diag_info_get() 1536 if (rc) { in al_serdes_25g_tx_diag_info_get() [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_ttyflags.c | 142 int rc = ERR; in NCURSES_SP_NAME() local 165 rc = OK; in NCURSES_SP_NAME() 169 returnCode(rc); in NCURSES_SP_NAME() 183 int rc = ERR; in NCURSES_SP_NAME() local 203 rc = OK; in NCURSES_SP_NAME() 207 returnCode(rc); in NCURSES_SP_NAME() 221 int rc = ERR; in NCURSES_SP_NAME() local 235 rc = OK; in NCURSES_SP_NAME() 239 returnCode(rc); in NCURSES_SP_NAME() 253 int rc = ERR; in NCURSES_SP_NAME() local [all …]
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ecx_s390x.c | 89 int rc; in s390x_x25519_mul() local 103 if (rc == 1) in s390x_x25519_mul() 107 return rc; in s390x_x25519_mul() 122 int rc; in s390x_x448_mul() local 137 if (rc == 1) { in s390x_x448_mul() 143 return rc; in s390x_x448_mul() 162 int rc; in s390x_ed25519_mul() local 171 if (rc == 1) { in s390x_ed25519_mul() 177 return rc; in s390x_ed25519_mul() 196 int rc; in s390x_ed448_mul() local [all …]
|
/freebsd/contrib/elftoolchain/libelf/ |
H A D | elf_update.c | 484 return (rc); in _libelf_resync_sections() 521 rc = 0; in _libelf_resync_elf() 654 if ((rc = _libelf_resync_sections(e, rc, extents)) < 0) in _libelf_resync_elf() 711 return (rc); in _libelf_resync_elf() 721 off_t rc; in _libelf_write_scn() local 840 return (rc); in _libelf_write_scn() 1088 rc = nrc; in _libelf_write_elf() 1187 return (rc); in _libelf_write_elf() 1203 off_t rc; in elf_update() local 1241 rc = _libelf_write_elf(e, rc, &extents); in elf_update() [all …]
|