Home
last modified time | relevance | path

Searched refs:ra (Results 1 – 25 of 172) sorted by relevance

1234567

/freebsd/sys/net80211/
H A Dieee80211_rssadapt.c157 rssadapt_updatestats(struct ieee80211_rssadapt_node *ra) in rssadapt_updatestats() argument
161 ra->ra_pktrate = (ra->ra_pktrate + 10*(ra->ra_nfail + ra->ra_nok))/2; in rssadapt_updatestats()
162 ra->ra_nfail = ra->ra_nok = 0; in rssadapt_updatestats()
168 interval = MAX(10*1000, 10*1000 / MAX(1, 10 * ra->ra_pktrate)); in rssadapt_updatestats()
169 ra->ra_raise_interval = msecs_to_ticks(interval); in rssadapt_updatestats()
175 struct ieee80211_rssadapt_node *ra; in rssadapt_node_init() local
187 ni->ni_rctls = ra = in rssadapt_node_init()
190 if (ra == NULL) { in rssadapt_node_init()
196 ra = ni->ni_rctls; in rssadapt_node_init()
197 ra->ra_rs = rsa; in rssadapt_node_init()
[all …]
/freebsd/contrib/lua/src/
H A Dlvm.c210 static int forprep (lua_State *L, StkId ra) { in forprep() argument
211 TValue *pinit = s2v(ra); in forprep()
212 TValue *plimit = s2v(ra + 1); in forprep()
213 TValue *pstep = s2v(ra + 2); in forprep()
220 setivalue(s2v(ra + 3), init); /* control variable */ in forprep()
257 setfltvalue(s2v(ra), init); /* internal index */ in forprep()
258 setfltvalue(s2v(ra + 3), init); /* control variable */ in forprep()
270 static int floatforloop (StkId ra) { in floatforloop() argument
271 lua_Number step = fltvalue(s2v(ra + 2)); in floatforloop()
272 lua_Number limit = fltvalue(s2v(ra + 1)); in floatforloop()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dpthread8.sh64 struct runner_arg *ra;
69 ra = arg;
71 for (i = 0; i < ra->lock_cnt; i++) {
72 l = &ra->locks[i];
78 for (i = 0; i < ra->lock_cnt; i++) {
79 l = &ra->locks[i];
92 struct runner_arg ra;
108 ra.lock_cnt = 100;
109 ra.locks = calloc(ra.lock_cnt, sizeof(pthread_mutex_t));
110 if (ra.locks == NULL)
[all …]
/freebsd/crypto/openssl/crypto/
H A Ds390xcpuid.pl24 $ra="%r14";
52 br $ra
158 br $ra
171 br $ra
175 br $ra
188 br $ra
208 br $ra
243 br $ra
270 br $ra
286 br $ra
[all …]
H A Dalphacpuid.pl169 my ($v0,$ra,$sp,$zero)=("\$0","\$26","\$30","\$31");
175 .frame $sp,0,$ra
204 ret ($ra)
210 .frame $sp,0,$ra
251 ret ($ra)
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlvm.c335 void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) { in luaV_objlen() argument
342 setnvalue(ra, cast_num(luaH_getn(h))); /* else primitive len */ in luaV_objlen()
346 setnvalue(ra, cast_num(tsvalue(rb)->len)); in luaV_objlen()
356 callTM(L, tm, rb, rb, ra, 1); in luaV_objlen()
409 void luaV_arith (lua_State *L, StkId ra, const TValue *rb, in luaV_arith() argument
427 setnvalue(ra, res); in luaV_arith()
429 else if (!call_binTM(L, rb, rc, ra, op)) in luaV_arith()
462 StkId ra) { in pushclosure() argument
468 setclLvalue(L, ra, ncl); /* anchor new closure in stack */ in pushclosure()
585 setnvalue(ra, op(L, nb, nc)); \
[all …]
/freebsd/sbin/ifconfig/
H A Diflagg.c73 struct lagg_reqall ra; in setlaggproto() local
75 bzero(&ra, sizeof(ra)); in setlaggproto()
76 ra.ra_proto = LAGG_PROTO_MAX; in setlaggproto()
80 ra.ra_proto = lpr[i].lpr_proto; in setlaggproto()
84 if (ra.ra_proto == LAGG_PROTO_MAX) in setlaggproto()
87 strlcpy(ra.ra_ifname, ctx->ifname, sizeof(ra.ra_ifname)); in setlaggproto()
88 if (ioctl_ctx(ctx, SIOCSLAGG, &ra) != 0) in setlaggproto()
212 struct lagg_reqall *ra; in lagg_status() local
223 ra = lagg->ra; in lagg_status()
226 ports = ra->ra_port; in lagg_status()
[all …]
/freebsd/stand/common/
H A Dbcache.c65 size_t ra; member
165 bc->ra = BCACHE_READAHEAD; /* optimistic read ahead */ in bcache_allocate()
216 size_t i, nblk, p_size, r_size, complete, ra; in read_strategy() local
253 if (bc->ra < BCACHE_READAHEAD) in read_strategy()
254 bc->ra <<= 1; /* increase read ahead */ in read_strategy()
257 bc->ra > BCACHE_MINREADAHEAD) in read_strategy()
258 bc->ra >>= 1; /* reduce read ahead */ in read_strategy()
310 ra = 0; in read_strategy()
312 ra = bc->bcache_nblks - BHASH(bc, p_blk + p_size); in read_strategy()
318 if ((bc->bcache_nextblkno != blk) && ra != 0) { in read_strategy()
[all …]
/freebsd/sys/powerpc/fpu/
H A Dfpu_emu.c265 int ra, rb, rc, rt, type, mask, fsr, cx, bf, setcr; in fpu_execute() local
315 ra = instr.i_x.i_ra; in fpu_execute()
319 ra, (uintmax_t)tf->fixreg[ra], rb, in fpu_execute()
323 if (ra != 0) in fpu_execute()
324 addr += tf->fixreg[ra]; in fpu_execute()
347 ra = instr.i_x.i_ra; in fpu_execute()
350 ra, (uintmax_t)tf->fixreg[ra], rb, in fpu_execute()
353 if (ra != 0) in fpu_execute()
354 addr += tf->fixreg[ra]; in fpu_execute()
365 ra = instr.i_d.i_ra; in fpu_execute()
[all …]
/freebsd/sbin/ipf/libipf/
H A Dprintaps.c23 raudio_t ra; in printaps() local
61 if (!strcmp(apr.apr_label, "raudio") && ap.aps_psiz == sizeof(ra)) { in printaps()
62 if (kmemcpy((char *)&ra, (long)ap.aps_data, sizeof(ra))) in printaps()
66 ra.rap_seenpna, ra.rap_version, ra.rap_eos); in printaps()
67 PRINTF("\t\tMode: %#x\tSBF: %#x\n", ra.rap_mode, ra.rap_sbf); in printaps()
69 ra.rap_plport, ra.rap_prport, ra.rap_srport); in printaps()
/freebsd/crypto/openssl/crypto/aes/asm/
H A Daes-s390x.pl123 $ra="%r14";
271 stm${g} %r3,$ra,3*$SIZE_T($sp)
279 bras $ra,_s390x_AES_encrypt
287 lm${g} %r6,$ra,6*$SIZE_T($sp)
288 br $ra
294 st${g} $ra,15*$SIZE_T($sp)
343 srlg $ra,$s3,`8-3` # i1
345 nr $ra,$mask
366 x $s1,2($ra,$tbl) # Te2[s3>>8]
422 srlg $ra,$s3,`8-3` # i1
[all …]
/freebsd/crypto/openssl/crypto/perlasm/
H A Dppc-xlate.pl248 my ($f,$ra,$rs,$n,$b) = @_;
250 " rldicl $ra,$rs,$b,$n";
261 my ($f,$idx,$ra) = @_;
263 " or $ra,$ra,$ra";
265 " mtspr $idx,$ra";
279 my ($f, $vrt, $ra, $rb, $op) = @_;
280 " .long ".sprintf "0x%X",(31<<26)|($vrt<<21)|($ra<<16)|($rb<<11)|($op*2+1);
344 my ($f, $vrt, $ra) = @_;
345 " .long ".sprintf "0x%X",(31<<26)|($vrt<<21)|($ra<<16)|(179<<1)|1;
348 my ($f, $vrt, $ra) = @_;
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/
H A DEmulateInstructionPPC64.cpp230 uint32_t ra = Bits32(opcode, 20, 16); in EmulateLD() local
237 if (ra != gpr_r1_ppc64le || rt != gpr_r1_ppc64le || ids != 0) in EmulateLD()
241 LLDB_LOG(log, "EmulateLD: {0:X+8}: ld r{1}, {2}(r{3})", m_addr, rt, ids, ra); in EmulateLD()
260 uint32_t ra = Bits32(opcode, 20, 16); in EmulateSTD() local
265 if (ra != gpr_r1_ppc64le) in EmulateSTD()
280 u ? "u" : "", rs, ids, ra); in EmulateSTD()
298 std::optional<RegisterInfo> ra_info = GetRegisterInfo(eRegisterKindLLDB, ra); in EmulateSTD()
307 uint64_t ra_val = ReadRegisterUnsigned(eRegisterKindLLDB, ra, 0, &success); in EmulateSTD()
319 WriteRegisterUnsigned(ctx, eRegisterKindLLDB, ra, addr); in EmulateSTD()
328 uint32_t ra = Bits32(opcode, 20, 16); in EmulateOR() local
[all …]
/freebsd/lib/libifconfig/
H A Dlibifconfig_lagg.c48 struct lagg_reqall ra; member
76 ls->l.ra = &ls->ra; in ifconfig_lagg_get_lagg_status()
81 ls->ra.ra_port = ls->rpbuf; in ifconfig_lagg_get_lagg_status()
82 ls->ra.ra_size = sizeof(ls->rpbuf); in ifconfig_lagg_get_lagg_status()
92 strlcpy(ls->ra.ra_ifname, name, sizeof(ls->ra.ra_ifname)); in ifconfig_lagg_get_lagg_status()
93 if (ifconfig_ioctlwrap(h, AF_LOCAL, SIOCGLAGG, &ls->ra) != 0) { in ifconfig_lagg_get_lagg_status()
/freebsd/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c78 struct sockaddr_rfcomm ra; in main() local
244 aaddrlen = sizeof(ra); in main()
245 s = accept(acceptsock, (struct sockaddr *)&ra, in main()
250 memcmp(&addr, &ra.rfcomm_bdaddr, sizeof(addr))) { in main()
272 memset(&ra, 0, sizeof(ra)); in main()
273 ra.rfcomm_len = sizeof(ra); in main()
274 ra.rfcomm_family = AF_BLUETOOTH; in main()
276 if (bind(s, (struct sockaddr *) &ra, sizeof(ra)) < 0) in main()
279 memcpy(&ra.rfcomm_bdaddr, &addr, sizeof(ra.rfcomm_bdaddr)); in main()
280 ra.rfcomm_channel = channel; in main()
[all …]
/freebsd/sys/powerpc/booke/
H A Dspe.c475 uint32_t cr_shift, ra, rb, rd, src; in spe_handle_fpdata() local
500 ra = (instr >> 16) & 0x1f; in spe_handle_fpdata()
515 high = spe_save_reg_high(ra) & ~(1U << 31); in spe_handle_fpdata()
516 frame->fixreg[rd] = frame->fixreg[ra] & ~(1U << 31); in spe_handle_fpdata()
520 high = spe_save_reg_high(ra) | (1U << 31); in spe_handle_fpdata()
521 frame->fixreg[rd] = frame->fixreg[ra] | (1U << 31); in spe_handle_fpdata()
525 high = spe_save_reg_high(ra) ^ (1U << 31); in spe_handle_fpdata()
526 frame->fixreg[rd] = frame->fixreg[ra] ^ (1U << 31); in spe_handle_fpdata()
532 spe_save_reg_high(ra), 0); in spe_handle_fpdata()
547 frame->fixreg[ra], 0); in spe_handle_fpdata()
[all …]
/freebsd/contrib/llvm-project/lld/MachO/
H A DICF.cpp108 auto f = [](const Reloc &ra, const Reloc &rb) { in equalsConstant() argument
109 if (ra.type != rb.type) in equalsConstant()
111 if (ra.pcrel != rb.pcrel) in equalsConstant()
113 if (ra.length != rb.length) in equalsConstant()
115 if (ra.offset != rb.offset) in equalsConstant()
117 if (ra.referent.is<Symbol *>() != rb.referent.is<Symbol *>()) in equalsConstant()
124 if (ra.referent.is<Symbol *>()) { in equalsConstant()
125 const auto *sa = ra.referent.get<Symbol *>(); in equalsConstant()
132 return sa == sb && ra.addend == rb.addend; in equalsConstant()
138 return da->value + ra.addend == db->value + rb.addend; in equalsConstant()
[all …]
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_arm.c77 uintptr_t pc, ra, fp; in pmc_save_kernel_callchain() local
95 ra = fp + PC_OFF * sizeof(uintptr_t); in pmc_save_kernel_callchain()
96 if (!PMC_IN_KERNEL_STACK(ra)) in pmc_save_kernel_callchain()
98 pc = *(uintptr_t *)ra; in pmc_save_kernel_callchain()
105 ra = fp + FP_OFF * sizeof(uintptr_t); in pmc_save_kernel_callchain()
106 if (!PMC_IN_KERNEL_STACK(ra)) in pmc_save_kernel_callchain()
108 fp = *(uintptr_t *)ra; in pmc_save_kernel_callchain()
H A Dhwpmc_x86.c156 uintptr_t fp, pc, ra, sp; in pmc_save_kernel_callchain() local
168 ra = fp + sizeof(uintptr_t); /* points to return address */ in pmc_save_kernel_callchain()
174 !PMC_IN_KERNEL_STACK(ra) || !PMC_IN_KERNEL_STACK(sp) || in pmc_save_kernel_callchain()
206 pc = *(uintptr_t *)ra; in pmc_save_kernel_callchain()
216 ra = fp + sizeof(uintptr_t); in pmc_save_kernel_callchain()
217 if (!PMC_IN_KERNEL_STACK(fp) || !PMC_IN_KERNEL_STACK(ra)) in pmc_save_kernel_callchain()
219 pc = *(uintptr_t *)ra; in pmc_save_kernel_callchain()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_vfork_loongarch64.inc.S16 st.d $ra, $sp, 8
19 ld.d $ra, $sp, 8
23 st.d $ra, $a0, 0
29 jirl $ra, $a0, 0
46 ld.d $ra, $a0, 0
51 jr $ra
/freebsd/contrib/llvm-project/lld/ELF/
H A DICF.cpp238 bool ICF<ELFT>::constantEq(const InputSection *secA, Relocs<RelTy> ra, in constantEq() argument
240 if (ra.size() != rb.size()) in constantEq()
242 auto rai = ra.begin(), rae = ra.end(), rbi = rb.begin(); in constantEq()
325 const RelsOrRelas<ELFT> ra = a->template relsOrRelas<ELFT>(); in equalsConstant() local
327 if (ra.areRelocsCrel() || rb.areRelocsCrel()) in equalsConstant()
328 return constantEq(a, ra.crels, b, rb.crels); in equalsConstant()
329 return ra.areRelocsRel() || rb.areRelocsRel() in equalsConstant()
330 ? constantEq(a, ra.rels, b, rb.rels) in equalsConstant()
331 : constantEq(a, ra.relas, b, rb.relas); in equalsConstant()
338 bool ICF<ELFT>::variableEq(const InputSection *secA, Relocs<RelTy> ra, in variableEq() argument
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_mips.S28 sw $ra, 32($sp)
56 lw $ra, 32($sp)
58 jr $ra
75 sw $ra, 32($sp)
103 lw $ra, 32($sp)
105 jr $ra
H A Dxray_trampoline_loongarch64.S63 st.d $ra, $sp, 128
76 jirl $ra, $t2, 0
81 ld.d $ra, $sp, 128
98 st.d $ra, $sp, 40
112 jirl $ra, $t2, 0
118 ld.d $ra, $sp, 40
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_loongarch64.S14 st.d $ra, $sp, 24
40 ld.d $ra, $sp, 24
62 st.d $ra, $sp, 24
88 ld.d $ra, $sp, 24
110 st.d $ra, $sp, 24
136 ld.d $ra, $sp, 24
158 st.d $ra, $sp, 24
184 ld.d $ra, $sp, 24
H A Dtsan_rtl_mips64.S13 sd $ra,24($sp)
45 ld $ra,24($sp)
65 sd $ra,24($sp)
97 ld $ra,24($sp)
117 sd $ra,32($sp)
151 ld $ra,32($sp)
171 sd $ra,32($sp)
205 ld $ra,32($sp)

1234567