Searched refs:rc (Results 26 - 50 of 1210) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Drefcount.c59 zfs_refcount_create(zfs_refcount_t *rc) argument
61 mutex_init(&rc->rc_mtx, NULL, MUTEX_DEFAULT, NULL);
62 list_create(&rc->rc_list, sizeof (reference_t),
64 list_create(&rc->rc_removed, sizeof (reference_t),
66 rc->rc_count = 0;
67 rc->rc_removed_count = 0;
68 rc->rc_tracked = reference_tracking_enable;
72 zfs_refcount_create_tracked(zfs_refcount_t *rc) argument
74 zfs_refcount_create(rc);
75 rc
79 zfs_refcount_create_untracked(zfs_refcount_t *rc) argument
86 zfs_refcount_destroy_many(zfs_refcount_t *rc, uint64_t number) argument
107 zfs_refcount_destroy(zfs_refcount_t *rc) argument
113 zfs_refcount_is_zero(zfs_refcount_t *rc) argument
119 zfs_refcount_count(zfs_refcount_t *rc) argument
125 zfs_refcount_add_many(zfs_refcount_t *rc, uint64_t number, const void *holder) argument
147 zfs_refcount_add(zfs_refcount_t *rc, const void *holder) argument
153 zfs_refcount_remove_many(zfs_refcount_t *rc, uint64_t number, const void *holder) argument
202 zfs_refcount_remove(zfs_refcount_t *rc, const void *holder) argument
239 zfs_refcount_transfer_ownership_many(zfs_refcount_t *rc, uint64_t number, const void *current_holder, const void *new_holder) argument
265 zfs_refcount_transfer_ownership(zfs_refcount_t *rc, const void *current_holder, const void *new_holder) argument
278 zfs_refcount_held(zfs_refcount_t *rc, const void *holder) argument
306 zfs_refcount_not_held(zfs_refcount_t *rc, const void *holder) argument
[all...]
/freebsd-13-stable/lib/libsecureboot/
H A Dpass_manifest.c57 int rc; local
66 rc = stat(path, &st);
67 if (rc != 0)
71 rc = EINVAL;
75 rc = is_verified(&st);
77 if (rc != VE_NOT_CHECKED && rc != VE_VERIFIED) {
78 rc = EPERM;
82 if (rc == VE_VERIFIED)
89 rc
127 int rc; local
[all...]
/freebsd-13-stable/contrib/apr-util/ldap/
H A Dapr_ldap_option.c66 result->rc = ldap_get_option(ldap, option, outvalue);
69 if (result->rc != LDAP_SUCCESS) {
70 result->msg = ldap_err2string(result-> rc);
116 result->rc = -1;
121 result->rc = ldapssl_set_verify_mode(LDAPSSL_VERIFY_SERVER);
124 result->rc = ldapssl_set_verify_mode(LDAPSSL_VERIFY_NONE);
133 result->rc = ldap_set_option(NULL, LDAP_OPT_X_TLS_REQUIRE_CERT, &i);
137 result->rc = ldap_set_option(NULL, LDAP_OPT_X_TLS_REQUIRE_CERT, &i);
142 result->rc = -1;
148 if (result->rc !
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/
H A Derr.invalidtype.ksh33 rc=$?
35 exit $rc
H A Derr.invalidtype2.ksh34 rc=$?
36 exit $rc
/freebsd-13-stable/usr.sbin/periodic/etc/daily/
H A D100.clean-disks22 rc=2
27 rc=2
44 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
47 [ -z "$print" ] && rc=0
48 [ $rc -gt 1 ] && rc=1
52 *) rc=0;;
55 exit $rc
H A D130.clean-msgs22 rc=2
29 msgs -c $arg && rc=0 || rc=3
32 *) rc=0;;
35 exit $rc
H A D400.status-disks24 (df $daily_status_disks_df_flags | ${ignore}) && rc=1 || rc=3
33 dump W || rc=3
37 *) rc=0;;
40 exit $rc
H A D410.status-mfi21 rc=3
23 rc=0
26 rc=2
30 *) rc=0;;
33 exit $rc
H A D450.status-security25 rc=0
30 periodic security > $tempfile || rc=3
33 rc=3
39 periodic security || rc=3;;
42 periodic security || rc=3;;
44 *) rc=0;;
47 exit $rc
/freebsd-13-stable/usr.sbin/periodic/etc/weekly/
H A D310.locate21 touch $locdb && rc=0 || rc=3
22 chown nobody $locdb || rc=3
23 chmod 644 $locdb || rc=3
26 echo /usr/libexec/locate.updatedb | nice -n 5 su -fm nobody || rc=3
27 chmod 444 $locdb || rc=3;;
29 *) rc=0;;
32 exit $rc
H A D320.whatis25 rc=3
28 rc=0
32 /usr/libexec/makewhatis.local "${MANPATH}" || rc=3
40 -L "${MANPATH}" || rc=3
45 rc=3
48 *) rc=0;;
51 exit $rc
H A D450.status-security25 rc=0
30 periodic security > $tempfile || rc=3
33 rc=3
39 periodic security || rc=3;;
42 periodic security || rc=3;;
44 *) rc=0;;
47 exit $rc
/freebsd-13-stable/lib/libcompat/4.3/
H A Dre_comp.c57 int rc; local
71 rc = regcomp(&re_regexp, s, REG_EXTENDED);
72 if (rc == 0) {
77 regerror(rc, &re_regexp, re_errstr, sizeof(re_errstr));
85 int rc; local
89 rc = regexec(&re_regexp, s, 0, NULL, 0);
90 return (rc == 0 ? 1 : 0);
/freebsd-13-stable/sys/rpc/
H A Dclnt_rc.c84 struct rc_data *rc = NULL; /* private data */ local
92 rc = mem_alloc(sizeof (*rc));
93 mtx_init(&rc->rc_lock, "rc->rc_lock", NULL, MTX_DEF);
94 (void) memcpy(&rc->rc_addr, svcaddr, (size_t)svcaddr->sa_len);
95 rc->rc_nconf = nconf;
96 rc->rc_prog = program;
97 rc->rc_vers = version;
98 rc
130 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
277 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
383 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
395 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
413 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
538 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
563 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
[all...]
H A Dreplay.c58 replay_alloc(struct replay_cache *rc, struct rpc_msg *msg,
60 static void replay_free(struct replay_cache *rc,
62 static void replay_prune(struct replay_cache *rc);
79 struct replay_cache *rc; local
82 rc = malloc(sizeof(*rc), M_RPC, M_WAITOK|M_ZERO);
84 TAILQ_INIT(&rc->rc_cache[i]);
85 TAILQ_INIT(&rc->rc_all);
86 mtx_init(&rc->rc_lock, "rc_lock", NULL, MTX_DEF);
87 rc
93 replay_setsize(struct replay_cache *rc, size_t newmaxsize) argument
103 replay_freecache(struct replay_cache *rc) argument
114 replay_alloc(struct replay_cache *rc, struct rpc_msg *msg, struct sockaddr *addr, int h) argument
136 replay_free(struct replay_cache *rc, struct replay_cache_entry *rce) argument
152 replay_prune(struct replay_cache *rc) argument
177 replay_find(struct replay_cache *rc, struct rpc_msg *msg, struct sockaddr *addr, struct rpc_msg *repmsg, struct mbuf **mp) argument
231 replay_setreply(struct replay_cache *rc, struct rpc_msg *repmsg, struct sockaddr *addr, struct mbuf *m) argument
[all...]
/freebsd-13-stable/contrib/ntp/libntp/
H A Dxsbprintf.c40 int rc = -1; local
43 rc = vsnprintf(pbuf, blen, pfmt, va);
44 if (rc > 0) {
45 if ((size_t)rc >= blen)
46 rc = 0;
47 pbuf += rc;
54 return rc;
67 int rc; local
70 rc = xvsbprintf(ppbuf, pend, pfmt, va);
72 return rc;
[all...]
/freebsd-13-stable/contrib/ofed/opensm/opensm/
H A Dosm_event_plugin.c72 osm_epi_plugin_t *rc = NULL; local
80 rc = malloc(sizeof(*rc));
81 if (!rc)
84 rc->handle = dlopen(lib_name, RTLD_LAZY);
85 if (!rc->handle) {
92 rc->impl =
93 (osm_event_plugin_t *) dlsym(rc->handle,
95 if (!rc->impl) {
103 old_impl = (struct old_if *) rc
[all...]
/freebsd-13-stable/usr.sbin/periodic/etc/monthly/
H A D200.accounting19 rc=0
26 zcat $W.0.gz > $W.0 || rc=1
30 bzcat $W.0.bz2 > $W.0 || rc=1
34 rc=2
37 if [ $rc -eq 0 ]
42 rc=$(ac -p -w $W.0 | sort -nr -k 2 | tee /dev/stderr | wc -l)
43 [ $rc -gt 0 ] && rc=1
47 *) rc=0;;
51 exit $rc
[all...]
H A D450.status-security25 rc=0
30 periodic security > $tempfile || rc=3
33 rc=3
39 periodic security || rc=3;;
42 periodic security || rc=3;;
44 *) rc=0;;
47 exit $rc
/freebsd-13-stable/sys/contrib/openzfs/include/sys/
H A Dzfs_refcount.h94 #define zfs_refcount_create(rc) ((rc)->rc_count = 0)
95 #define zfs_refcount_create_untracked(rc) ((rc)->rc_count = 0)
96 #define zfs_refcount_create_tracked(rc) ((rc)->rc_count = 0)
97 #define zfs_refcount_destroy(rc) ((rc)->rc_count = 0)
98 #define zfs_refcount_destroy_many(rc, number) ((rc)
[all...]
/freebsd-13-stable/contrib/capsicum-test/
H A Dsmoketest.c40 int rc = cap_rights_limit(cap_fd, &r_rws); local
42 if (rc < 0) fprintf(stderr, "*** cap_rights_limit() failed: errno=%d %s\n", errno, strerror(errno));
47 rc = cap_rights_get(cap_fd, &rights);
50 fprintf(stderr, "[%d] cap_rights_get(cap_fd=%d) rc=%d rights=%s\n", getpid_(), cap_fd, rc, buffer);
51 if (rc < 0) fprintf(stderr, "*** cap_rights_get() failed: errno=%d %s\n", errno, strerror(errno));
55 rc = fstat(cap_fd, &buf);
56 fprintf(stderr, "[%d] fstat(cap_fd=%d) rc=%d errno=%d\n", getpid_(), cap_fd, rc, errno);
57 if (rc !
[all...]
/freebsd-13-stable/sys/dev/random/fenestrasX/
H A Dfx_hash.h49 int rc; local
51 rc = blake2b_init(&h->state, FXRNG_HASH_SZ);
52 ASSERT(rc == 0, "blake2b_init");
58 int rc; local
60 rc = blake2b_update(&h->state, buf, sz);
61 ASSERT(rc == 0, "blake2b_update");
67 int rc; local
69 rc = blake2b_final(&h->state, buf, sz);
70 ASSERT(rc == 0, "blake2b_final(sz=%zu)", sz);
/freebsd-13-stable/usr.sbin/periodic/etc/security/
H A Dsecurity.functions43 rc=0
52 rc=0
69 rc=1
72 cp ${tmpf} ${LOG}/${label}.today || rc=3
76 [ $rc -lt 1 ] && rc=1
81 mv ${LOG}/${label}.today ${LOG}/${label}.yesterday || rc=3
82 mv ${tmpf} ${LOG}/${label}.today || rc=3
86 exit ${rc}
/freebsd-13-stable/release/tools/
H A Dvagrant-virtualbox.conf12 echo 'firstboot_pkgs_list="sudo rsync virtualbox-ose-additions-nox11"' >> ${DESTDIR}/etc/rc.conf
13 echo 'vboxguest_enable="YES"' >> ${DESTDIR}/etc/rc.conf
14 echo 'vboxservice_enable="YES"' >> ${DESTDIR}/etc/rc.conf

Completed in 249 milliseconds

1234567891011>>