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

1234567891011>>

/freebsd-current/usr.sbin/periodic/etc/security/
H A D410.logincheck37 rc=0
49 [ $n -gt 0 ] && rc=1 || rc=0
52 exit "$rc"
H A Dsecurity.functions39 rc=0
48 rc=0
65 rc=1
68 cp ${tmpf} ${LOG}/${label}.today || rc=3
72 [ $rc -lt 1 ] && rc=1
77 mv ${LOG}/${label}.today ${LOG}/${label}.yesterday || rc=3
78 mv ${tmpf} ${LOG}/${label}.today || rc=3
82 exit ${rc}
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Dzfs_refcount.h108 #define zfs_refcount_create(rc) ((rc)->rc_count = 0)
109 #define zfs_refcount_create_untracked(rc) ((rc)->rc_count = 0)
110 #define zfs_refcount_create_tracked(rc) ((rc)->rc_count = 0)
111 #define zfs_refcount_destroy(rc) ((rc)->rc_count = 0)
112 #define zfs_refcount_destroy_many(rc, number) ((rc)
[all...]
/freebsd-current/lib/libsecureboot/
H A Dpass_manifest.c53 int rc; local
62 rc = stat(path, &st);
63 if (rc != 0)
67 rc = EINVAL;
71 rc = is_verified(&st);
73 if (rc != VE_NOT_CHECKED && rc != VE_VERIFIED) {
74 rc = EPERM;
78 if (rc == VE_VERIFIED)
85 rc
123 int rc; local
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/uctf/
H A Derr.invalidtype2.ksh34 rc=$?
36 exit $rc
H A Derr.invalidtype.ksh33 rc=$?
35 exit $rc
/freebsd-current/usr.sbin/periodic/etc/daily/
H A D100.clean-disks21 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 D130.clean-msgs21 rc=2
28 msgs -c $arg && rc=0 || rc=3
31 *) rc=0;;
34 exit $rc
H A D400.status-disks23 (df $daily_status_disks_df_flags | ${ignore}) && rc=1 || rc=3
32 dump W || rc=3
36 *) rc=0;;
39 exit $rc
H A D410.status-mfi20 rc=3
22 rc=0
25 rc=2
29 *) rc=0;;
32 exit $rc
H A D450.status-security24 rc=0
29 periodic security > $tempfile || rc=3
32 rc=3
38 periodic security || rc=3;;
41 periodic security || rc=3;;
43 *) rc=0;;
46 exit $rc
H A D480.status-ntpd13 rc=0
22 rc=1
27 exit $rc
/freebsd-current/lib/libcompat/4.3/
H A Dre_comp.c54 int rc; local
68 rc = regcomp(&re_regexp, s, REG_EXTENDED);
69 if (rc == 0) {
74 regerror(rc, &re_regexp, re_errstr, sizeof(re_errstr));
82 int rc; local
86 rc = regexec(&re_regexp, s, 0, NULL, 0);
87 return (rc == 0 ? 1 : 0);
/freebsd-current/sys/rpc/
H A Dclnt_rc.c83 struct rc_data *rc = NULL; /* private data */ local
91 rc = mem_alloc(sizeof (*rc));
92 mtx_init(&rc->rc_lock, "rc->rc_lock", NULL, MTX_DEF);
93 (void) memcpy(&rc->rc_addr, svcaddr, (size_t)svcaddr->sa_len);
94 rc->rc_nconf = nconf;
95 rc->rc_prog = program;
96 rc->rc_vers = version;
97 rc
129 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
282 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
388 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
400 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
418 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
543 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
568 struct rc_data *rc = (struct rc_data *)cl->cl_private; local
[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; local
79 rc = malloc(sizeof(*rc), M_RPC, M_WAITOK|M_ZERO);
81 TAILQ_INIT(&rc->rc_cache[i]);
82 TAILQ_INIT(&rc->rc_all);
83 mtx_init(&rc->rc_lock, "rc_lock", NULL, MTX_DEF);
84 rc
90 replay_setsize(struct replay_cache *rc, size_t newmaxsize) argument
100 replay_freecache(struct replay_cache *rc) argument
111 replay_alloc(struct replay_cache *rc, struct rpc_msg *msg, struct sockaddr *addr, int h) argument
133 replay_free(struct replay_cache *rc, struct replay_cache_entry *rce) argument
149 replay_prune(struct replay_cache *rc) argument
174 replay_find(struct replay_cache *rc, struct rpc_msg *msg, struct sockaddr *addr, struct rpc_msg *repmsg, struct mbuf **mp) argument
228 replay_setreply(struct replay_cache *rc, struct rpc_msg *repmsg, struct sockaddr *addr, struct mbuf *m) argument
[all...]
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Drefcount.c66 zfs_refcount_create(zfs_refcount_t *rc) argument
68 mutex_init(&rc->rc_mtx, NULL, MUTEX_DEFAULT, NULL);
69 avl_create(&rc->rc_tree, zfs_refcount_compare, sizeof (reference_t),
71 list_create(&rc->rc_removed, sizeof (reference_t),
73 rc->rc_count = 0;
74 rc->rc_removed_count = 0;
75 rc->rc_tracked = reference_tracking_enable;
79 zfs_refcount_create_tracked(zfs_refcount_t *rc) argument
81 zfs_refcount_create(rc);
82 rc
86 zfs_refcount_create_untracked(zfs_refcount_t *rc) argument
93 zfs_refcount_destroy_many(zfs_refcount_t *rc, uint64_t number) argument
110 zfs_refcount_destroy(zfs_refcount_t *rc) argument
116 zfs_refcount_is_zero(zfs_refcount_t *rc) argument
122 zfs_refcount_count(zfs_refcount_t *rc) argument
128 zfs_refcount_add_many(zfs_refcount_t *rc, uint64_t number, const void *holder) argument
153 zfs_refcount_add(zfs_refcount_t *rc, const void *holder) argument
159 zfs_refcount_add_few(zfs_refcount_t *rc, uint64_t number, const void *holder) argument
168 zfs_refcount_remove_many(zfs_refcount_t *rc, uint64_t number, const void *holder) argument
210 zfs_refcount_remove(zfs_refcount_t *rc, const void *holder) argument
216 zfs_refcount_remove_few(zfs_refcount_t *rc, uint64_t number, const void *holder) argument
263 zfs_refcount_transfer_ownership_many(zfs_refcount_t *rc, uint64_t number, const void *current_holder, const void *new_holder) argument
283 zfs_refcount_transfer_ownership(zfs_refcount_t *rc, const void *current_holder, const void *new_holder) argument
296 zfs_refcount_held(zfs_refcount_t *rc, const void *holder) argument
323 zfs_refcount_not_held(zfs_refcount_t *rc, const void *holder) argument
[all...]
/freebsd-current/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-current/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-current/sys/dev/ena/
H A Dena_rss.c89 int rc; local
91 rc = ena_com_get_hash_key(ena_dev, hw_key);
92 if (rc != 0)
93 return rc;
105 int qid, rc, i; local
107 rc = ena_com_rss_init(ena_dev, ENA_RX_RSS_TABLE_LOG_SIZE);
108 if (unlikely(rc != 0)) {
110 return (rc);
119 rc = ena_com_indirect_table_fill_entry(ena_dev, i,
121 if (unlikely((rc !
164 int rc; local
202 int rc; local
232 int rc, i; local
254 int rc, i; local
280 int rc; local
[all...]
/freebsd-current/usr.sbin/periodic/etc/monthly/
H A D200.accounting18 rc=0
30 zcat $W.0.gz > $TMP || rc=1
33 bzcat $W.0.bz2 > $TMP || rc=1
36 xzcat $W.0.xz > $TMP || rc=1
39 zstdcat $W.0.zst > $TMP || rc=1
42 rc=2
47 rc=2
50 if [ $rc -eq 0 ]
55 rc=$(ac -p -w $filetoread | sort -nr -k 2 | tee /dev/stderr | wc -l)
56 [ $rc
[all...]
H A D450.status-security24 rc=0
29 periodic security > $tempfile || rc=3
32 rc=3
38 periodic security || rc=3;;
41 periodic security || rc=3;;
43 *) rc=0;;
46 exit $rc
/freebsd-current/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-current/sys/dev/random/fenestrasX/
H A Dfx_hash.h47 int rc; local
49 rc = blake2b_init(&h->state, FXRNG_HASH_SZ);
50 ASSERT(rc == 0, "blake2b_init");
56 int rc; local
58 rc = blake2b_update(&h->state, buf, sz);
59 ASSERT(rc == 0, "blake2b_update");
65 int rc; local
67 rc = blake2b_final(&h->state, buf, sz);
68 ASSERT(rc == 0, "blake2b_final(sz=%zu)", sz);
/freebsd-current/usr.sbin/periodic/etc/weekly/
H A D320.whatis24 rc=3
27 rc=0
31 /usr/libexec/makewhatis.local "${MANPATH}" || rc=3
39 -L "${MANPATH}" || rc=3
44 rc=3
47 *) rc=0;;
50 exit $rc
H A D450.status-security24 rc=0
29 periodic security > $tempfile || rc=3
32 rc=3
38 periodic security || rc=3;;
41 periodic security || rc=3;;
43 *) rc=0;;
46 exit $rc

Completed in 180 milliseconds

1234567891011>>