Searched refs:rn (Results 1 - 25 of 70) sorted by relevance

123

/freebsd-head/sys/tests/callout_test/
H A Dcallout_test.c72 static void execute_the_co_test(struct callout_run *rn);
77 struct callout_run *rn; local
79 rn = (struct callout_run *)arg;
81 rn->index);
83 rn->co_number_callouts);
85 rn->co_return_npa);
86 printf("Callouts that completed:%d\n", rn->co_completed);
87 printf("Drain calls:%d\n", rn->drain_calls);
89 rn->cnt_zero,
90 rn
97 struct callout_run *rn; local
108 struct callout_run *rn; local
131 execute_the_co_test(struct callout_run *rn) argument
190 struct callout_run *rn; local
[all...]
/freebsd-head/sys/net/
H A Dradix_mpath.h66 struct radix_node *next, *rn; local
68 rn = (struct radix_node *)rt;
70 if (!rn->rn_dupedkey)
72 next = rn->rn_dupedkey;
73 if (rn->rn_mask == next->rn_mask)
H A Dradix_mpath.c85 rn_mpath_next(struct radix_node *rn) argument
89 if (!rn->rn_dupedkey)
91 next = rn->rn_dupedkey;
92 if (rn->rn_mask == next->rn_mask)
99 rn_mpath_count(struct radix_node *rn) argument
104 while (rn != NULL) {
105 rt = (struct rtentry *)rn;
107 rn = rn_mpath_next(rn);
115 struct radix_node *rn; local
185 struct radix_node *rn, *rn1; local
226 struct radix_node *rn0, *rn; local
[all...]
H A Dradix.c969 struct radix_node *rn, *last = NULL; /* shut up gcc */ local
980 for (rn = h->rnh_treetop; rn->rn_bit >= 0; ) {
981 last = rn;
983 rn->rn_bit, rn->rn_bmask, xm[rn->rn_offset]); */
984 if (!(rn->rn_bmask & xm[rn->rn_offset])) {
987 if (rn
1072 struct radix_node *rn = h->rnh_treetop; local
1184 rn_freeentry(struct radix_node *rn, void *arg) argument
[all...]
H A Droute.c361 rt_freeentry(struct radix_node *rn, void *arg) argument
366 x = (struct radix_node *)rn_delete(rn + 2, NULL, rnh);
731 struct radix_node *rn; local
741 rn = rh->rnh_matchaddr(__DECONST(void *, dst), &rh->head);
742 if (rn != NULL && ((rn->rn_flags & RNF_ROOT) == 0)) {
743 rt = RNTORT(rn);
1083 struct radix_node *rn; local
1097 rn = rn_mpath_next((struct radix_node *)rt);
1101 if (rn) {
1324 struct radix_node *rn; local
[all...]
/freebsd-head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Drrwlock.c86 rrw_node_t *rn; local
91 for (rn = tsd_get(rrw_tsd_key); rn != NULL; rn = rn->rn_next) {
92 if (rn->rn_rrl == rrl)
93 return (rn);
104 rrw_node_t *rn; local
106 rn = kmem_alloc(sizeof (*rn), KM_SLEE
120 rrw_node_t *rn; local
303 rrw_node_t *rn = arg; local
[all...]
/freebsd-head/sys/netinet/
H A Din_fib.c131 struct radix_node *rn; local
146 rn = rh->rnh_matchaddr((void *)&sin, &rh->head);
147 if (rn != NULL && ((rn->rn_flags & RNF_ROOT) == 0)) {
148 nh = RNTORT(rn)->rt_nhop;
180 struct radix_node *rn; local
196 rn = rh->rnh_matchaddr((void *)&sin, &rh->head);
197 if (rn != NULL && ((rn->rn_flags & RNF_ROOT) == 0)) {
198 rte = RNTORT(rn);
242 struct radix_node *rn; local
331 struct radix_node *rn; local
368 struct radix_node *rn; local
[all...]
/freebsd-head/sys/netinet6/
H A Din6_fib.c151 struct radix_node *rn; local
169 rn = rh->rnh_matchaddr((void *)&sin6, &rh->head);
170 if (rn != NULL && ((rn->rn_flags & RNF_ROOT) == 0)) {
171 nh = RNTORT(rn)->rt_nhop;
201 struct radix_node *rn; local
220 rn = rh->rnh_matchaddr((void *)&sin6, &rh->head);
221 if (rn != NULL && ((rn->rn_flags & RNF_ROOT) == 0)) {
222 rte = RNTORT(rn);
269 struct radix_node *rn; local
362 struct radix_node *rn; local
404 struct radix_node *rn; local
[all...]
/freebsd-head/contrib/lua/src/
H A Dliolib.c401 static int nextc (RN *rn) { argument
402 if (rn->n >= L_MAXLENNUM) { /* buffer overflow? */
403 rn->buff[0] = '\0'; /* invalidate result */
407 rn->buff[rn->n++] = rn->c; /* save current char */
408 rn->c = l_getc(rn->f); /* read next one */
417 static int test2 (RN *rn, const char *set) { argument
418 if (rn
427 readdigits(RN *rn, int hex) argument
441 RN rn; local
[all...]
/freebsd-head/contrib/netbsd-tests/net/route/
H A Dt_flags6.sh51 $DEBUG && rump.netstat -rn -f inet6
66 $DEBUG && rump.netstat -rn -f inet6
99 $DEBUG && rump.netstat -rn -f inet6
113 $DEBUG && rump.netstat -rn -f inet6
121 $DEBUG && rump.netstat -rn -f inet6
141 $DEBUG && rump.netstat -rn -f inet6
148 $DEBUG && rump.netstat -rn -f inet6
165 $DEBUG && rump.netstat -rn -f inet6
172 $DEBUG && rump.netstat -rn -f inet6
185 $DEBUG && rump.netstat -rn
[all...]
H A Dt_flags.sh48 $DEBUG && rump.netstat -rn -f inet
63 $DEBUG && rump.netstat -rn -f inet
86 $DEBUG && rump.netstat -rn -f inet
116 $DEBUG && rump.netstat -rn -f inet
129 $DEBUG && rump.netstat -rn -f inet
136 $DEBUG && rump.netstat -rn -f inet
155 $DEBUG && rump.netstat -rn -f inet
162 $DEBUG && rump.netstat -rn -f inet
177 $DEBUG && rump.netstat -rn -f inet
184 $DEBUG && rump.netstat -rn
[all...]
/freebsd-head/crypto/openssl/crypto/lhash/
H A Dlhash.c99 OPENSSL_LH_NODE *nn, **rn; local
106 rn = getrn(lh, data, &hash);
108 if (*rn == NULL) {
116 *rn = nn;
121 ret = (*rn)->data;
122 (*rn)->data = data;
131 OPENSSL_LH_NODE *nn, **rn; local
135 rn = getrn(lh, data, &hash);
137 if (*rn == NULL) {
141 nn = *rn;
159 OPENSSL_LH_NODE **rn; local
[all...]
/freebsd-head/sys/arm/amlogic/aml8726/
H A Daml8726_rng.c73 uint32_t rn[2]; local
75 rn[0] = CSR_READ_4(sc, AML_RNG_0_REG);
76 rn[1] = CSR_READ_4(sc, AML_RNG_1_REG);
78 random_harvest(rn, sizeof(rn), RANDOM_PURE_AML8726);
/freebsd-head/contrib/binutils/opcodes/
H A Dsh-dis.c34 int rn,
51 fprintf_fn (stream, "@r%d", rn);
58 fprintf_fn (stream, "@r%d+", rn);
62 fprintf_fn (stream, "@r%d+r8", rn);
66 fprintf_fn (stream, "@r%d+r9", rn);
499 int rn = 0; local
637 rn = nibs[n];
645 rn = (nibs[n] & 0xc) >> 2;
648 rn = (nibs[n] & 0xc) >> 2;
656 rn
33 print_movxy(const sh_opcode_info *op, int rn, int rm, fprintf_ftype fprintf_fn, void *stream) argument
[all...]
/freebsd-head/tests/sys/netinet/
H A Dfibs_test.sh125 setfib ${FIB0} netstat -rn -f inet | grep -q "^${ADDR}.*UHS.*lo0"
127 setfib ${FIB0} netstat -rn -f inet
130 setfib 0 netstat -rn -f inet | grep -q "^${ADDR}.*UHS.*lo0"
132 setfib 0 netstat -rn -f inet
137 setfib ${FIB0} netstat -rn -f inet | \
140 setfib ${FIB0} netstat -rn -f inet
143 setfib 0 netstat -rn -f inet | \
146 setfib 0 netstat -rn -f inet
182 setfib ${FIB0} netstat -rn -f inet6 | grep -q "^${ADDR}.*UHS.*lo0"
184 setfib ${FIB0} netstat -rn
[all...]
/freebsd-head/contrib/netbsd-tests/net/icmp/
H A Dt_icmp_redirect.sh62 $DEBUG && rump.netstat -rn -f inet
76 $DEBUG && rump.netstat -rn -f inet
99 $DEBUG && rump.netstat -rn -f inet
135 $DEBUG && rump.netstat -rn -f inet
147 $DEBUG && rump.netstat -rn -f inet
221 $DEBUG && rump.netstat -rn -f inet
238 $DEBUG && rump.netstat -rn -f inet
245 $DEBUG && rump.netstat -rn -f inet
265 $DEBUG && rump.netstat -rn -f inet
/freebsd-head/sys/net/route/
H A Droute_ctl.c79 struct radix_node *rn; local
164 rn = rnh->rnh_addaddr(ndst, netmask, &rnh->head, rt->rt_nodes);
166 if (rn != NULL && rt->rt_expire > 0)
170 if (rn == NULL && (info->rti_flags & RTF_PINNED) != 0) {
184 rn = rnh->rnh_addaddr(ndst, netmask, &rnh->head,
198 if (rn == NULL) {
236 struct radix_node *rn; local
277 rn = rt_mpath_unlink(rnh, info, rt, perror);
280 rn = rnh->rnh_deladdr(dst, netmask, &rnh->head);
281 if (rn
504 rt_checkdelroute(struct radix_node *rn, void *arg) argument
[all...]
H A Droute_ddb.c129 rt_dumpentry_ddb(struct radix_node *rn, void *arg __unused) argument
137 rt = (void *)rn;
210 struct radix_node *rn; local
252 rn = rh->rnh_matchaddr(&u, &rh->head);
253 if (rn && ((rn->rn_flags & RNF_ROOT) == 0))
254 rt = (struct rtentry *)rn;
/freebsd-head/contrib/ipfilter/
H A Dradix_ipf.c1332 ipf_rdx_node_t *rn; local
1348 rn = ipf_rx_match(rnh, &af);
1349 stp = (myst_t *)rn;
1350 printf(" = %s (%s/%d)\n", GNAME(rn),
1351 rn ? addrname(&stp->dst) : "NULL",
1352 rn ? rn->maskbitcount : 0);
1356 rn = ipf_rx_match(rnh, addr);
1357 stp = (myst_t *)rn;
1358 printf(" = %s (%s/%d)\n", GNAME(rn),
1369 ipf_rdx_node_t *rn; local
1413 ipf_rdx_node_t *rn; local
1438 ipf_rdx_node_t *rn; local
[all...]
/freebsd-head/sys/contrib/ipfilter/netinet/
H A Dradix_ipf.c1332 ipf_rdx_node_t *rn; local
1348 rn = ipf_rx_match(rnh, &af);
1349 stp = (myst_t *)rn;
1350 printf(" = %s (%s/%d)\n", GNAME(rn),
1351 rn ? addrname(&stp->dst) : "NULL",
1352 rn ? rn->maskbitcount : 0);
1356 rn = ipf_rx_match(rnh, addr);
1357 stp = (myst_t *)rn;
1358 printf(" = %s (%s/%d)\n", GNAME(rn),
1369 ipf_rdx_node_t *rn; local
1413 ipf_rdx_node_t *rn; local
1438 ipf_rdx_node_t *rn; local
[all...]
/freebsd-head/sys/arm64/arm64/
H A Ddisassem.c342 int shift, rm, rt, rd, rn, imm, sf, idx, option, scale, amount; local
351 shift = rd = rm = rn = imm = idx = option = amount = scale = 0;
396 ret |= arm64_disasm_read_token(i_ptr, insn, "RN", &rn);
408 arm64_reg(sf, rn));
429 ret |= arm64_disasm_read_token(i_ptr, insn, "RN", &rn);
469 di->di_printf("[%s", arm64_reg(1, rn));
474 di->di_printf("[%s]", arm64_reg(1, rn));
483 arm64_reg(sf, rt), arm64_reg(1, rn),
/freebsd-head/sys/kern/
H A Dvfs_export.c71 static int vfs_free_netcred(struct radix_node *rn, void *w);
108 struct radix_node *rn; local
211 rn = (*rnh->rnh_addaddr)(saddr, smask, &rnh->rh, np->netc_rnodes);
213 if (rn == NULL || np != (struct netcred *)rn) { /* already exists */
238 vfs_free_netcred(struct radix_node *rn, void *w) argument
243 (*rnh->rnh_deladdr) (rn->rn_key, rn->rn_mask, &rnh->rh);
244 cred = ((struct netcred *)rn)->netc_anon;
247 free(rn, M_NETADD
[all...]
H A Dsubr_rangeset.c135 struct rs_el *r, *rn; local
212 rn = rs->rs_dup_data(rs->rs_data_ctx, r);
213 if (rn == NULL) {
217 rn->re_start = end;
218 rn->re_end = r->re_end;
219 error = pctrie_insert(&rs->rs_trie, &rn->re_start,
222 rs->rs_free_data(rs->rs_data_ctx, rn);
/freebsd-head/sbin/routed/
H A Dradix.c824 struct radix_node *rn = h->rnh_treetop; local
831 while (rn->rn_b >= 0)
832 rn = rn->rn_l;
834 base = rn;
836 while (rn->rn_p->rn_r == rn && (rn->rn_flags & RNF_ROOT) == 0)
837 rn = rn
[all...]
/freebsd-head/sys/fs/devfs/
H A Ddevfs.h63 #define mkrid(rsn, rn) ((rn) | ((rsn) << 16))

Completed in 128 milliseconds

123