Searched refs:rc (Results 76 - 100 of 1321) sorted by relevance

1234567891011>>

/freebsd-current/usr.bin/mkuzip/
H A Dmkuz_zstd.c50 size_t rc; local
64 rc = ZSTD_CCtx_setParameter(cctx, ZSTD_c_compressionLevel,
66 if (ZSTD_isError(rc))
68 *comp_level, ZSTD_getErrorName(rc));
70 rc = ZSTD_CCtx_setParameter(cctx, ZSTD_c_checksumFlag, 1);
71 if (ZSTD_isError(rc))
73 ZSTD_getErrorName(rc));
82 size_t rc; local
86 rc = ZSTD_compress2(cctx, oblk->data, oblk->alen, iblk->data,
88 if (ZSTD_isError(rc))
[all...]
/freebsd-current/usr.sbin/periodic/etc/daily/
H A D801.trim-zfs23 rc=0
28 rc=2
36 rc=3
40 rc=4
55 rc=0
59 exit $rc
H A D310.accounting19 rc=2
24 rc=2
29 rc=2
35 rc=0
41 [ $m -ge $n ] && { rm $f || rc=3; }
48 [ -f acct.$n.gz ] && { mv -f acct.$n.gz acct.$m.gz || rc=3; }
49 [ -f acct.$n ] && { mv -f acct.$n acct.$m || rc=3; }
54 /etc/rc.d/accounting onerotate_log || rc=3
56 rm -f acct.merge && cp acct.0 acct.merge || rc
[all...]
H A D110.clean-tmps22 rc=2
44 rc=$(for dir in $daily_clean_tmps_dirs
51 [ -z "$print" ] && rc=0
52 [ $rc -gt 1 ] && rc=1
56 *) rc=0;;
59 exit $rc
/freebsd-current/contrib/bearssl/src/ssl/
H A Dssl_engine.c287 br_ssl_engine_fail(br_ssl_engine_context *rc, int err) argument
289 if (rc->iomode != BR_IO_FAILED) {
290 rc->iomode = BR_IO_FAILED;
291 rc->err = err;
299 make_ready_in(br_ssl_engine_context *rc) argument
301 rc->ixa = rc->ixb = 0;
302 rc->ixc = 5;
303 if (rc->iomode == BR_IO_IN) {
304 rc
312 make_ready_out(br_ssl_engine_context *rc) argument
332 br_ssl_engine_new_max_frag_len(br_ssl_engine_context *rc, unsigned max_frag_len) argument
345 br_ssl_engine_set_buffer(br_ssl_engine_context *rc, void *buf, size_t buf_len, int bidi) argument
395 br_ssl_engine_set_buffers_bidi(br_ssl_engine_context *rc, void *ibuf, size_t ibuf_len, void *obuf, size_t obuf_len) argument
458 engine_clearbuf(br_ssl_engine_context *rc) argument
566 recvrec_buf(const br_ssl_engine_context *rc, size_t *len) argument
603 recvrec_ack(br_ssl_engine_context *rc, size_t len) argument
763 br_ssl_engine_recvrec_finished(const br_ssl_engine_context *rc) argument
775 recvpld_buf(const br_ssl_engine_context *rc, size_t *len) argument
793 recvpld_ack(br_ssl_engine_context *rc, size_t len) argument
813 sendpld_buf(const br_ssl_engine_context *rc, size_t *len) argument
839 sendpld_flush(br_ssl_engine_context *rc, int force) argument
859 sendpld_ack(br_ssl_engine_context *rc, size_t len) argument
881 sendrec_buf(const br_ssl_engine_context *rc, size_t *len) argument
903 sendrec_ack(br_ssl_engine_context *rc, size_t len) argument
916 has_rec_tosend(const br_ssl_engine_context *rc) argument
[all...]
/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbsd-flock.c46 int rc = 0; local
70 rc = fcntl(fd, op & LOCK_NB ? F_SETLK : F_SETLKW, &fl);
72 if (rc && (errno == EAGAIN))
75 rc = -1;
79 return rc;
/freebsd-current/sys/dev/jedec_dimm/
H A Djedec_dimm.c200 int rc; local
213 rc = 0;
217 rc = EINVAL;
228 rc = smbus_writeb(sc->smbus, (JEDEC_DTI_PAGE | JEDEC_LSA_PAGE_SET1),
230 if (rc != 0) {
233 orig_offset, rc);
240 return (rc);
267 int rc; local
294 rc = smbus_readb(sc->smbus, sc->spd_addr, SPD_OFFSET_DRAM_TYPE, &byte);
295 if (rc !
515 int rc; local
695 int rc; local
788 int rc; local
912 int rc; local
1007 int rc; local
1070 int rc; local
1094 int rc; local
1118 int rc; local
[all...]
/freebsd-current/contrib/libxo/tests/core/
H A Dtest_07.c44 int rc; local
61 rc = xo_emit("���������� ������������ ���������������������� ������ {:v1/%s}, {:v2/%s}\n",
63 rc = xo_emit("{:columns/%d}\n", rc);
64 xo_emit("{:columns/%d}\n", rc);
66 rc = xo_emit("������������������ {:v1/%s} {:v2/%s}\n",
69 xo_emit("{:columns/%d}\n", rc);
72 rc = xo_emit("{T:First Name/%-25s}{T:Last Name/%-14s}"
74 xo_emit("{:columns/%d}\n", rc);
79 rc
[all...]
/freebsd-current/tools/test/stress2/misc/
H A Dpthread7.sh118 int rc;
120 if ((rc = pthread_mutex_lock(l)) != 0)
121 errc(1, rc, "pthread_mutex_lock");
127 int rc;
129 if ((rc = pthread_mutex_unlock(l)) != 0)
130 errc(1, rc, "pthread_mutex_unlock");
136 int rc;
138 if ((rc = pthread_cond_signal(c)) != 0)
139 errc(1, rc, "pthread_cond_signal");
145 int rc;
[all...]
H A Dpthread2.sh133 int rc;
135 if ((rc = pthread_mutex_lock(l)) != 0)
136 errc(1, rc, "pthread_mutex_lock");
142 int rc;
144 if ((rc = pthread_mutex_unlock(l)) != 0)
145 errc(1, rc, "pthread_mutex_unlock");
151 int rc;
153 if ((rc = pthread_cond_signal(c)) != 0)
154 errc(1, rc, "pthread_cond_signal");
160 int rc;
[all...]
H A Dpthread4.sh128 int rc;
130 if ((rc = pthread_mutex_lock(l)) != 0)
131 errc(1, rc, "pthread_mutex_lock");
137 int rc;
139 if ((rc = pthread_mutex_unlock(l)) != 0)
140 errc(1, rc, "pthread_mutex_unlock");
146 int rc;
148 if ((rc = pthread_cond_signal(c)) != 0)
149 errc(1, rc, "pthread_cond_signal");
155 int rc;
[all...]
/freebsd-current/contrib/capsicum-test/
H A Dmini-me.c19 int rc = (geteuid() == 0); local
20 fprintf(stderr,"[uid:%d] %s immediately returning (geteuid() == 0) = %d\n", geteuid(), argv[0], rc);
21 return rc;
26 int rc = 0; local
31 rc = 1;
33 fprintf(stderr,"[%d] %s --capmode returning %d\n", getpid(), argv[0], rc);
34 return rc;
H A Dwaittest.c22 int rc = pdfork(&procfd, 0); local
23 if (rc < 0) {
24 fprintf(stderr, "pdfork() failed rc=%d errno=%d %s\n", rc, errno, strerror(errno));
27 if (rc == 0) { // Child process
31 fprintf(stderr, "pdfork()ed child pid=%ld procfd=%d\n", (long)rc, procfd);
33 pid_t child = waitpid(-1, &rc, WNOHANG);
/freebsd-current/contrib/ncurses/ncurses/tinfo/
H A Dobsolete.c110 int rc = 0; local
113 rc = 1;
115 rc = 2;
117 rc = 3;
119 rc = 4;
121 rc = 5;
123 rc = 6;
125 if ((unsigned) rc > limit) { /* whatever it is, we cannot decode it */
126 rc = 0;
130 switch (rc) {
184 int rc = 0; local
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Drfb.c276 rfb_send_resize_update_msg(struct rfb_softc *rc, int cfd) argument
290 srect_hdr.width = htons(rc->width);
291 srect_hdr.height = htons(rc->height);
297 rfb_send_extended_keyevent_update_msg(struct rfb_softc *rc, int cfd) argument
311 srect_hdr.width = htons(rc->width);
312 srect_hdr.height = htons(rc->height);
318 rfb_recv_set_pixfmt_msg(struct rfb_softc *rc __unused, int cfd)
327 rfb_recv_set_encodings_msg(struct rfb_softc *rc, int cfd) argument
339 rc->enc_raw_ok = true;
342 if (!rc
392 rfb_send_rect(struct rfb_softc *rc, int cfd, struct bhyvegc_image *gc, int x, int y, int w, int h) argument
473 rfb_send_all(struct rfb_softc *rc, int cfd, struct bhyvegc_image *gc) argument
550 rfb_send_screen(struct rfb_softc *rc, int cfd) argument
724 rfb_recv_update_msg(struct rfb_softc *rc, int cfd) argument
741 rfb_recv_key_msg(struct rfb_softc *rc, int cfd) argument
752 rfb_recv_client_msg(struct rfb_softc *rc, int cfd) argument
769 rfb_recv_ptr_msg(struct rfb_softc *rc, int cfd) argument
807 struct rfb_softc *rc; local
857 rfb_handle(struct rfb_softc *rc, int cfd) argument
1085 struct rfb_softc *rc; local
1139 struct rfb_softc *rc; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_file_os.c79 ssize_t rc;
84 rc = vfs_write(fp, (__force const char __user __user *)buf, count, off);
88 return (rc);
107 ssize_t rc; local
109 rc = zfs_file_write_impl(fp, buf, count, &off);
110 if (rc < 0)
111 return (-rc);
116 *resid = count - rc;
117 } else if (rc != count) {
139 ssize_t rc; local
188 ssize_t rc; local
220 ssize_t rc; local
247 loff_t rc; local
275 int rc; local
[all...]
/freebsd-current/libexec/rc/
H A Drc.resume39 if [ -r /var/run/rc.suspend.pid ]; then
40 kill -9 `cat /var/run/rc.suspend.pid`
41 /bin/rm -f /var/run/rc.suspend.pid
42 echo 'rc.resume: killed rc.suspend that was still around'
52 . /etc/rc.subr
63 files=`rcorder ${rcorder_opts} /etc/rc.d/* ${local_rc} 2>/dev/null`
/freebsd-current/release/tools/
H A Dec2-base.conf14 # Services to enable in rc.conf(5).
23 echo 'firstboot_pkgs_list="devel/py-awscli"' >> ${DESTDIR}/etc/rc.conf
27 echo 'ifconfig_DEFAULT="SYNCDHCP accept_rtadv"' >> ${DESTDIR}/etc/rc.conf
30 echo 'ipv6_activate_all_interfaces="YES"' >> ${DESTDIR}/etc/rc.conf
31 echo 'rtsold_enable="YES"' >> ${DESTDIR}/etc/rc.conf
32 echo 'rtsold_flags="-M /usr/local/libexec/rtsold-M -a"' >> ${DESTDIR}/etc/rc.conf
/freebsd-current/usr.sbin/bhyve/amd64/
H A Dkernemu_dev.c82 int rc; local
84 rc = register_mem(&lapic_mmio);
85 if (rc != 0)
86 errc(4, rc, "register_mem: LAPIC (0x%08x)",
88 rc = register_mem(&ioapic_mmio);
89 if (rc != 0)
90 errc(4, rc, "register_mem: IOAPIC (0x%08x)",
92 rc = register_mem(&hpet_mmio);
93 if (rc != 0)
94 errc(4, rc, "register_me
[all...]
/freebsd-current/contrib/ntp/libparse/
H A Dclk_sel240x.c95 unsigned long rc; local
106 rc = PARSE_INP_SKIP;
109 if( (rc = parse_addchar(parseio, ch)) == PARSE_INP_SKIP )
111 rc = parse_end( parseio );
115 rc = parse_addchar( parseio, ch );
118 return rc;
130 unsigned long rc = CVT_NONE; local
140 rc = CVT_FAIL | CVT_BADFMT;
163 rc = CVT_OK;
167 return rc;
[all...]
/freebsd-current/sys/dev/sfxge/common/
H A Def10_image.c74 efx_rc_t rc; local
77 rc = EINVAL;
84 rc = ENOENT;
90 rc = EINVAL;
105 rc = EINVAL;
110 rc = EINVAL;
115 rc = E2BIG;
128 rc = E2BIG;
147 EFSYS_PROBE1(fail1, efx_rc_t, rc);
149 return (rc);
158 efx_rc_t rc; local
203 efx_rc_t rc; local
247 efx_rc_t rc; local
280 efx_rc_t rc; local
337 efx_rc_t rc; local
463 efx_rc_t rc; local
535 efx_rc_t rc; local
616 efx_rc_t rc; local
[all...]
H A Dhunt_nic.c49 efx_rc_t rc; local
57 if ((rc = efx_mcdi_get_port_modes(enp, &port_modes,
69 if ((rc = efx_nic_calculate_pcie_link_bandwidth(8,
89 EFSYS_PROBE1(fail1, efx_rc_t, rc);
91 return (rc);
103 efx_rc_t rc; local
125 rc = efx_mcdi_set_workaround(enp, MC_CMD_WORKAROUND_BUG35388, B_TRUE,
127 if ((rc == 0) || (rc == EACCES))
129 else if ((rc
[all...]
H A Def10_nvram.c144 efx_rc_t rc; local
146 if ((rc = tlv_validate_state(cursor)) != 0)
152 rc = ENOENT;
159 if ((rc = tlv_validate_state(cursor)) != 0)
169 EFSYS_PROBE1(fail1, efx_rc_t, rc);
171 return (rc);
178 efx_rc_t rc; local
182 if ((rc = tlv_validate_state(cursor)) != 0)
188 EFSYS_PROBE1(fail1, efx_rc_t, rc);
190 return (rc);
198 efx_rc_t rc; local
214 efx_rc_t rc; local
305 efx_rc_t rc; local
328 efx_rc_t rc; local
408 efx_rc_t rc; local
459 efx_rc_t rc; local
509 efx_rc_t rc; local
611 efx_rc_t rc; local
670 efx_rc_t rc; local
783 efx_rc_t rc; local
869 efx_rc_t rc; local
915 efx_rc_t rc; local
1009 efx_rc_t rc; local
1054 efx_rc_t rc; local
1101 efx_rc_t rc; local
1138 efx_rc_t rc; local
1174 efx_rc_t rc; local
1203 efx_rc_t rc; local
1250 efx_rc_t rc; local
1378 efx_rc_t rc; local
1443 efx_rc_t rc; local
1517 efx_rc_t rc; local
1657 efx_rc_t rc; local
1772 efx_rc_t rc; local
1863 efx_rc_t rc; local
1967 efx_rc_t rc; local
1986 efx_rc_t rc; local
2009 efx_rc_t rc; local
2078 efx_rc_t rc; local
2126 efx_rc_t rc; local
2177 efx_rc_t rc; local
2202 efx_rc_t rc; local
2391 efx_rc_t rc; local
2437 efx_rc_t rc; local
2461 efx_rc_t rc; local
2493 efx_rc_t rc; local
[all...]
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dxattrtest.c134 int rc = 0; local
160 rc = 1;
193 rc = 1;
197 rc = 1;
202 if (rc != 0)
203 return (rc);
226 return (rc);
233 int fd, rc; local
241 rc = write(fd, "3", 1);
242 if ((rc
261 int rc, devnull_fd; local
295 int rc; local
352 int i, rc; local
427 ssize_t rc = read(rand, buf + bytes_read, bytes - bytes_read); local
441 int i, j, rnd_size = size, shift, rc = 0; local
515 int i, j, rnd_size, shift, rc = 0; local
619 int i, rc; local
670 int rc; local
[all...]
/freebsd-current/sys/crypto/blake2/
H A Dblake2-sw.c36 int rc; local
38 rc = blake2b_init_ref(&ctx->state, BLAKE2B_OUTBYTES);
39 if (rc != 0)
47 int rc; local
49 rc = blake2b_init_key_ref(&ctx->state, BLAKE2B_OUTBYTES, key,
51 if (rc != 0)
59 int rc; local
61 rc = blake2b_update_ref(&ctx->state, data, len);
62 if (rc != 0)
71 int rc; local
99 int rc; local
110 int rc; local
122 int rc; local
134 int rc; local
[all...]

Completed in 146 milliseconds

1234567891011>>