Home
last modified time | relevance | path

Searched full:rc (Results 1 – 25 of 2379) sorted by relevance

12345678910>>...96

/freebsd/sys/contrib/device-tree/Bindings/media/
H A Drc.yaml4 $id: http://devicetree.org/schemas/media/rc.yaml#
17 linux,rc-map-name:
23 - rc-adstech-dvb-t-pci
24 - rc-alink-dtu-m
25 - rc-anysee
26 - rc-apac-viewcomp
27 - rc-astrometa-t2hybrid
28 - rc-asus-pc39
29 - rc-asus-ps3-100
30 - rc-ati-tv-wonder-hd-600
[all …]
/freebsd/sys/rpc/
H A Dclnt_rc.c83 struct rc_data *rc = NULL; /* private data */ in clnt_reconnect_create() local
91 rc = mem_alloc(sizeof (*rc)); in clnt_reconnect_create()
92 mtx_init(&rc->rc_lock, "rc->rc_lock", NULL, MTX_DEF); in clnt_reconnect_create()
93 (void) memcpy(&rc->rc_addr, svcaddr, (size_t)svcaddr->sa_len); in clnt_reconnect_create()
94 rc->rc_nconf = nconf; in clnt_reconnect_create()
95 rc->rc_prog = program; in clnt_reconnect_create()
96 rc->rc_vers = version; in clnt_reconnect_create()
97 rc->rc_sendsz = sendsz; in clnt_reconnect_create()
98 rc->rc_recvsz = recvsz; in clnt_reconnect_create()
99 rc->rc_timeout.tv_sec = -1; in clnt_reconnect_create()
[all …]
H A Dreplay.c55 replay_alloc(struct replay_cache *rc, struct rpc_msg *msg,
57 static void replay_free(struct replay_cache *rc,
59 static void replay_prune(struct replay_cache *rc);
76 struct replay_cache *rc; in replay_newcache() local
79 rc = malloc(sizeof(*rc), M_RPC, M_WAITOK|M_ZERO); in replay_newcache()
81 TAILQ_INIT(&rc->rc_cache[i]); in replay_newcache()
82 TAILQ_INIT(&rc->rc_all); in replay_newcache()
83 mtx_init(&rc->rc_lock, "rc_lock", NULL, MTX_DEF); in replay_newcache()
84 rc->rc_maxsize = maxsize; in replay_newcache()
86 return (rc); in replay_newcache()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonBitTracker.cpp92 const TargetRegisterClass &RC = *MRI.getRegClass(Reg); in mask() local
93 unsigned ID = RC.getID(); in mask()
96 bool IsSubLo = (Sub == HRI.getHexagonSubRegIndex(RC, Hexagon::ps_sub_lo)); in mask()
108 << TRI.getRegClassName(&RC) << '\n'; in mask()
117 for (auto &RC : {HvxVRRegClass, HvxWRRegClass, HvxQRRegClass, in getPhysRegBitWidth()
119 if (RC.contains(Reg)) in getPhysRegBitWidth()
120 return TRI.getRegSizeInBits(RC); in getPhysRegBitWidth()
123 if (const TargetRegisterClass *RC = TRI.getMinimalPhysRegClass(Reg)) in getPhysRegBitWidth() local
124 return TRI.getRegSizeInBits(*RC); in getPhysRegBitWidth()
131 const TargetRegisterClass &RC, unsigned Idx) const { in composeWithSubRegIndex() argument
[all …]
/freebsd/tests/sys/kern/
H A Dpdeathsig.c50 int rc; in ATF_TC_BODY() local
54 rc = procctl(P_PID, 0, PROC_PDEATHSIG_CTL, &signum); in ATF_TC_BODY()
55 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY()
60 rc = procctl(8888, 0, PROC_PDEATHSIG_CTL, &signum); in ATF_TC_BODY()
61 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY()
66 rc = procctl(P_PID, (((getpid() + 1) % 10) + 100), in ATF_TC_BODY()
68 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY()
73 rc = procctl(P_PID, 0, PROC_PDEATHSIG_CTL, NULL); in ATF_TC_BODY()
74 ATF_CHECK_EQ(-1, rc); in ATF_TC_BODY()
79 rc = procctl(P_PID, 0, PROC_PDEATHSIG_CTL, &signum); in ATF_TC_BODY()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Drefcount.c66 zfs_refcount_create(zfs_refcount_t *rc) in zfs_refcount_create() argument
68 mutex_init(&rc->rc_mtx, NULL, MUTEX_DEFAULT, NULL); in zfs_refcount_create()
69 avl_create(&rc->rc_tree, zfs_refcount_compare, sizeof (reference_t), in zfs_refcount_create()
71 list_create(&rc->rc_removed, sizeof (reference_t), in zfs_refcount_create()
73 rc->rc_count = 0; in zfs_refcount_create()
74 rc->rc_removed_count = 0; in zfs_refcount_create()
75 rc->rc_tracked = reference_tracking_enable; in zfs_refcount_create()
79 zfs_refcount_create_tracked(zfs_refcount_t *rc) in zfs_refcount_create_tracked() argument
81 zfs_refcount_create(rc); in zfs_refcount_create_tracked()
82 rc->rc_tracked = B_TRUE; in zfs_refcount_create_tracked()
[all …]
/freebsd/sys/dev/cxgbe/cudbg/
H A Dcudbg_lib.c75 int rc = -1; in read_sge_ctxt() local
78 rc = begin_synchronized_op(padap, NULL, SLEEP_OK | INTR_OK, in read_sge_ctxt()
80 if (rc != 0) in read_sge_ctxt()
82 rc = t4_sge_ctxt_rd(padap, padap->mbox, cid, ctype, in read_sge_ctxt()
88 if (rc) in read_sge_ctxt()
97 int rc = 0; in get_next_ext_entity_hdr() local
103 rc = CUDBG_STATUS_BUFFER_SHORT; in get_next_ext_entity_hdr()
121 rc = CUDBG_STATUS_BUFFER_SHORT; in get_next_ext_entity_hdr()
141 return rc; in get_next_ext_entity_hdr()
157 int rc = -1; in wr_entity_to_flash() local
[all …]
/freebsd/usr.sbin/bhyve/
H A Drfb.c293 rfb_send_resize_update_msg(struct rfb_softc *rc, int cfd) in rfb_send_resize_update_msg() argument
307 srect_hdr.width = htons(rc->width); in rfb_send_resize_update_msg()
308 srect_hdr.height = htons(rc->height); in rfb_send_resize_update_msg()
314 rfb_send_extended_keyevent_update_msg(struct rfb_softc *rc, int cfd) in rfb_send_extended_keyevent_update_msg() argument
328 srect_hdr.width = htons(rc->width); in rfb_send_extended_keyevent_update_msg()
329 srect_hdr.height = htons(rc->height); in rfb_send_extended_keyevent_update_msg()
335 rfb_recv_set_pixfmt_msg(struct rfb_softc *rc __unused, int cfd) in rfb_recv_set_pixfmt_msg()
390 pthread_mutex_lock(&rc->pixfmt_mtx); in rfb_recv_set_pixfmt_msg()
391 rc->new_pixfmt.red_shift = red_shift; in rfb_recv_set_pixfmt_msg()
392 rc->new_pixfmt.green_shift = green_shift; in rfb_recv_set_pixfmt_msg()
[all …]
/freebsd/sys/dev/ena/
H A Dena_rss.c89 int rc; in ena_rss_get_hash_key() local
91 rc = ena_com_get_hash_key(ena_dev, hw_key); in ena_rss_get_hash_key()
92 if (rc != 0) in ena_rss_get_hash_key()
93 return rc; in ena_rss_get_hash_key()
105 int qid, rc, i; in ena_rss_init_default() local
107 rc = ena_com_rss_init(ena_dev, ENA_RX_RSS_TABLE_LOG_SIZE); in ena_rss_init_default()
108 if (unlikely(rc != 0)) { in ena_rss_init_default()
110 return (rc); in ena_rss_init_default()
119 rc = ena_com_indirect_table_fill_entry(ena_dev, i, in ena_rss_init_default()
121 if (unlikely((rc != 0) && (rc != EOPNOTSUPP))) { in ena_rss_init_default()
[all …]
/freebsd/share/man/man8/
H A Drc.835 .Nm rc
39 .Nm rc.conf
40 .Nm rc.conf.local
41 .Nm rc.d/
42 .Nm rc.firewall
43 .Nm rc.local
44 .Nm rc.resume
45 .Nm rc.shutdown
46 .Nm rc.subr
54 .Nm rc.local
[all …]
/freebsd/sys/dev/sfxge/common/
H A Def10_nvram.c144 efx_rc_t rc; in tlv_advance() local
146 if ((rc = tlv_validate_state(cursor)) != 0) in tlv_advance()
152 rc = ENOENT; in tlv_advance()
159 if ((rc = tlv_validate_state(cursor)) != 0) in tlv_advance()
169 EFSYS_PROBE1(fail1, efx_rc_t, rc); in tlv_advance()
171 return (rc); in tlv_advance()
178 efx_rc_t rc; in tlv_rewind() local
182 if ((rc = tlv_validate_state(cursor)) != 0) in tlv_rewind()
188 EFSYS_PROBE1(fail1, efx_rc_t, rc); in tlv_rewind()
190 return (rc); in tlv_rewind()
[all …]
H A Defx_nvram.c86 efx_rc_t rc; in efx_nvram_init() local
119 rc = ENOTSUP; in efx_nvram_init()
131 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_nvram_init()
133 return (rc); in efx_nvram_init()
143 efx_rc_t rc; in efx_nvram_test() local
148 if ((rc = envop->envo_test(enp)) != 0) in efx_nvram_test()
154 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_nvram_test()
156 return (rc); in efx_nvram_test()
169 efx_rc_t rc; in efx_nvram_size() local
174 if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0) in efx_nvram_size()
[all …]
H A Defx_bootcfg.c89 int rc; in efx_bootcfg_sector_info() local
114 rc = EINVAL; in efx_bootcfg_sector_info()
128 rc = EINVAL; in efx_bootcfg_sector_info()
138 rc = ENOTSUP; in efx_bootcfg_sector_info()
159 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_bootcfg_sector_info()
160 return (rc); in efx_bootcfg_sector_info()
184 efx_rc_t rc; in efx_dhcp_verify() local
205 rc = ENOSPC; in efx_dhcp_verify()
212 rc = ENOSPC; in efx_dhcp_verify()
222 rc = EINVAL; in efx_dhcp_verify()
[all …]
H A Defx_vpd.c96 efx_rc_t rc; in efx_vpd_init() local
129 rc = ENOTSUP; in efx_vpd_init()
134 if ((rc = evpdop->evpdo_init(enp)) != 0) in efx_vpd_init()
146 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_vpd_init()
148 return (rc); in efx_vpd_init()
157 efx_rc_t rc; in efx_vpd_size() local
162 if ((rc = evpdop->evpdo_size(enp, sizep)) != 0) in efx_vpd_size()
168 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_vpd_size()
170 return (rc); in efx_vpd_size()
180 efx_rc_t rc; in efx_vpd_read() local
[all …]
H A Def10_image.c74 efx_rc_t rc; in efx_asn1_parse_header_match_tag() local
77 rc = EINVAL; in efx_asn1_parse_header_match_tag()
84 rc = ENOENT; in efx_asn1_parse_header_match_tag()
90 rc = EINVAL; in efx_asn1_parse_header_match_tag()
105 rc = EINVAL; in efx_asn1_parse_header_match_tag()
110 rc = EINVAL; in efx_asn1_parse_header_match_tag()
115 rc = E2BIG; in efx_asn1_parse_header_match_tag()
128 rc = E2BIG; in efx_asn1_parse_header_match_tag()
147 EFSYS_PROBE1(fail1, efx_rc_t, rc); in efx_asn1_parse_header_match_tag()
149 return (rc); in efx_asn1_parse_header_match_tag()
[all …]
/freebsd/tests/sys/netinet/
H A Dsocket_afinet.c50 int sd, rc; in ATF_TC_BODY() local
65 rc = bind(sd, (struct sockaddr *)&sin, sizeof(sin)); in ATF_TC_BODY()
66 ATF_CHECK_EQ(0, rc); in ATF_TC_BODY()
74 int sd, rc; in ATF_TC_BODY() local
85 rc = bind(sd, (struct sockaddr *)&sin, sizeof(sin)); in ATF_TC_BODY()
86 ATF_CHECK_EQ(0, rc); in ATF_TC_BODY()
94 int ss, ss2, cs, rc; in ATF_TC_BODY() local
105 rc = setsockopt(ss, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one)); in ATF_TC_BODY()
106 ATF_CHECK_EQ(0, rc); in ATF_TC_BODY()
112 rc = bind(ss, (struct sockaddr *)&sin, sizeof(sin)); in ATF_TC_BODY()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dxattrtest.c134 int rc = 0; in parse_args() local
160 rc = 1; in parse_args()
193 rc = 1; in parse_args()
197 rc = 1; in parse_args()
202 if (rc != 0) in parse_args()
203 return (rc); in parse_args()
226 return (rc); in parse_args()
233 int fd, rc; in drop_caches() local
241 rc = write(fd, "3", 1); in drop_caches()
242 if ((rc == -1) || (rc != 1)) { in drop_caches()
[all …]
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_roce.c145 enum _ecore_status_t rc = ECORE_SUCCESS; in ecore_roce_dcqcn_cfg() local
149 return rc; in ecore_roce_dcqcn_cfg()
175 rc = ecore_roce_start_rl(p_hwfn, params); in ecore_roce_dcqcn_cfg()
178 if (rc) in ecore_roce_dcqcn_cfg()
179 return rc; in ecore_roce_dcqcn_cfg()
189 return rc; in ecore_roce_dcqcn_cfg()
330 enum _ecore_status_t rc; in ecore_roce_alloc_qp_idx() local
333 rc = ecore_rdma_bmap_alloc_id(p_hwfn, &p_rdma_info->qp_map, &qp_idx); in ecore_roce_alloc_qp_idx()
334 if (rc != ECORE_SUCCESS) { in ecore_roce_alloc_qp_idx()
337 return rc; in ecore_roce_alloc_qp_idx()
[all …]
/freebsd/lib/libiconv_modules/mapper_std/
H A Dcitrus_mapper_std.c83 struct _citrus_mapper_std_rowcol *rc; in rowcol_convert() local
89 rc = &ms->ms_rowcol; in rowcol_convert()
91 for (i = rc->rc_src_rowcol_len * rc->rc_src_rowcol_bits, in rowcol_convert()
92 lz = &rc->rc_src_rowcol[0]; i > 0; ++lz) { in rowcol_convert()
93 i -= rc->rc_src_rowcol_bits; in rowcol_convert()
94 n = (src >> i) & rc->rc_src_rowcol_mask; in rowcol_convert()
96 switch (rc->rc_oob_mode) { in rowcol_convert()
98 *dst = rc->rc_dst_invalid; in rowcol_convert()
108 switch (rc->rc_dst_unit_bits) { in rowcol_convert()
110 conv = _region_peek8(&rc->rc_table, idx); in rowcol_convert()
[all …]
/freebsd/contrib/capsicum-test/
H A Dsmoketest.c40 int rc = cap_rights_limit(cap_fd, &r_rws); in main() local
42 …if (rc < 0) fprintf(stderr, "*** cap_rights_limit() failed: errno=%d %s\n", errno, strerror(errno)… in main()
47 rc = cap_rights_get(cap_fd, &rights); in main()
50 …fprintf(stderr, "[%d] cap_rights_get(cap_fd=%d) rc=%d rights=%s\n", getpid_(), cap_fd, rc, buffer); in main()
51 if (rc < 0) fprintf(stderr, "*** cap_rights_get() failed: errno=%d %s\n", errno, strerror(errno)); in main()
55 rc = fstat(cap_fd, &buf); in main()
56 fprintf(stderr, "[%d] fstat(cap_fd=%d) rc=%d errno=%d\n", getpid_(), cap_fd, rc, errno); in main()
57 if (rc != -1) fprintf(stderr, "*** fstat() unexpectedly succeeded\n"); in main()
61 rc = pdfork(&pd, 0); in main()
62 if (rc < 0) fprintf(stderr, "*** pdfork() failed: errno=%d %s\n", errno, strerror(errno)); in main()
[all …]
H A Dcapability-fd.cc224 int rc = write(cap_fd, "OK!\n", 4); in FORK_TEST() local
225 EXPECT_OK(rc); in FORK_TEST()
226 EXPECT_EQ(4, rc); in FORK_TEST()
558 int rc = fcntl(cap_fd, F_GETFL); in TryFileOps() local
559 CHECK_RIGHT_RESULT(rc, rights, CAP_FCNTL); in TryFileOps()
560 rc = fcntl(cap_fd, F_SETFL, rc); in TryFileOps()
561 CHECK_RIGHT_RESULT(rc, rights, CAP_FCNTL); in TryFileOps()
686 int rc = openat(dfd_cap, "cap_create", O_CREAT | O_RDONLY, 0600); in TryDirOps() local
687 CHECK_RIGHT_RESULT(rc, rights, CAP_CREATE, CAP_READ, CAP_LOOKUP); in TryDirOps()
688 if (rc >= 0) { in TryDirOps()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrFMA.td36 multiclass fma3p_rm_213<bits<8> opc, string OpcodeStr, RegisterClass RC,
39 def r : FMA3<opc, MRMSrcReg, (outs RC:$dst),
40 (ins RC:$src1, RC:$src2, RC:$src3),
43 [(set RC:$dst, (VT (Op RC:$src2, RC:$src1, RC:$src3)))]>,
47 def m : FMA3<opc, MRMSrcMem, (outs RC:$dst),
48 (ins RC:$src1, RC:$src2, x86memop:$src3),
51 [(set RC:$dst, (VT (Op RC:$src2, RC:$src1,
56 multiclass fma3p_rm_231<bits<8> opc, string OpcodeStr, RegisterClass RC,
60 def r : FMA3<opc, MRMSrcReg, (outs RC:$dst),
61 (ins RC:$src1, RC:$src2, RC:$src3),
[all …]
/freebsd/contrib/bearssl/src/ssl/
H A Dssl_engine.c287 br_ssl_engine_fail(br_ssl_engine_context *rc, int err) in br_ssl_engine_fail() argument
289 if (rc->iomode != BR_IO_FAILED) { in br_ssl_engine_fail()
290 rc->iomode = BR_IO_FAILED; in br_ssl_engine_fail()
291 rc->err = err; in br_ssl_engine_fail()
299 make_ready_in(br_ssl_engine_context *rc) in make_ready_in() argument
301 rc->ixa = rc->ixb = 0; in make_ready_in()
302 rc->ixc = 5; in make_ready_in()
303 if (rc->iomode == BR_IO_IN) { in make_ready_in()
304 rc->iomode = BR_IO_INOUT; in make_ready_in()
312 make_ready_out(br_ssl_engine_context *rc) in make_ready_out() argument
[all …]
/freebsd/sys/dev/bnxt/bnxt_en/
H A Dbnxt_dcb.c90 int rc; in bnxt_hwrm_queue_pri2cos_qcfg() local
95 rc = _hwrm_send_message(softc, &req, sizeof(req)); in bnxt_hwrm_queue_pri2cos_qcfg()
96 if (!rc) { in bnxt_hwrm_queue_pri2cos_qcfg()
109 return rc; in bnxt_hwrm_queue_pri2cos_qcfg()
166 int rc, i; in bnxt_hwrm_queue_cos2bw_qcfg() local
170 rc = _hwrm_send_message(softc, &req, sizeof(req)); in bnxt_hwrm_queue_cos2bw_qcfg()
171 if (rc) { in bnxt_hwrm_queue_cos2bw_qcfg()
172 return rc; in bnxt_hwrm_queue_cos2bw_qcfg()
202 int i, j, rc; in bnxt_queue_remap() local
228 rc = bnxt_hwrm_queue_cos2bw_cfg(softc, softc->ieee_ets, softc->max_tc); in bnxt_queue_remap()
[all …]
/freebsd/sys/dev/oce/
H A Doce_mbox.c83 int rc = 0; in oce_reset_fun() local
89 rc = oce_wait_ready(sc); in oce_reset_fun()
90 if (rc) { in oce_reset_fun()
94 return rc; in oce_reset_fun()
114 rc = oce_mbox_dispatch(sc, 2); in oce_reset_fun()
116 return rc; in oce_reset_fun()
190 int rc; in oce_mbox_dispatch() local
199 rc = oce_mbox_wait(sc, tmo_sec); in oce_mbox_dispatch()
200 if (rc == 0) { in oce_mbox_dispatch()
208 rc in oce_mbox_dispatch()
372 int rc = 0; oce_mbox_post() local
566 int rc = 0; oce_if_create() local
624 int rc = 0; oce_if_del() local
671 int rc = 0; oce_config_vlan() local
731 int rc; oce_set_flow_control() local
781 int i = 0, j = 0, rc = 0; oce_rss_itbl_init() local
815 int rc; oce_config_nic_rss() local
885 int rc; oce_rxf_set_promiscuous() local
924 int rc; oce_set_common_iface_rx_filter() local
967 int rc = 0, version; oce_get_link_status() local
1070 int rc = 0; oce_mbox_get_pport_stats() local
1123 int rc = 0; oce_mbox_get_vport_stats() local
1177 int rc = 0; oce_update_multicast() local
1222 int rc = 0; oce_pass_through_mbox() local
1246 int rc = 0; oce_mbox_macaddr_add() local
1284 int rc = 0; oce_mbox_macaddr_del() local
1319 int rc = 0; oce_mbox_check_native_mode() local
1363 int rc = 0; oce_mbox_cmd_set_loopback() local
1405 int rc = 0; oce_mbox_cmd_test_loopback() local
1448 int rc = 0, payload_len = 0; oce_mbox_write_flashrom() local
1493 int rc = 0, payload_len = 0; oce_mbox_get_flashrom_crc() local
1544 int rc = 0; oce_mbox_get_phy_info() local
1591 int rc = 0, payload_len = 0; oce_mbox_lancer_write_flashrom() local
1646 int rc, num_pages = 0; oce_mbox_create_rq() local
1701 int rc = 0, version, num_pages; oce_mbox_create_wq() local
1760 int rc = 0; oce_mbox_create_eq() local
1808 int rc = 0; oce_mbox_cq_create() local
1880 int rc = 0; oce_mbox_read_transrecv_data() local
1950 int rc = 0; oce_mbox_eqd_modify_periodic() local
1994 int rc = 0; oce_get_profile_config() local
2092 int rc = 0; oce_get_func_config() local
2193 int rc = 0; oce_mbox_nic_query_lro_capabilities() local
2232 int rc = 0; oce_mbox_nic_set_iface_lro_config() local
2279 int rc = 0, num_pages = 0; oce_mbox_create_rq_v2() local
[all...]

12345678910>>...96