Home
last modified time | relevance | path

Searched full:rs (Results 1 – 25 of 1229) sorted by relevance

12345678910>>...50

/freebsd/contrib/ofed/librdmacm/
H A Drsocket.c84 struct rsocket *rs; member
284 struct rsocket *rs; member
421 static void ds_insert_qp(struct rsocket *rs, struct ds_qp *qp) in ds_insert_qp() argument
423 if (!rs->qp_list) in ds_insert_qp()
426 dlist_insert_head(&qp->list, &rs->qp_list->list); in ds_insert_qp()
427 rs->qp_list = qp; in ds_insert_qp()
430 static void ds_remove_qp(struct rsocket *rs, struct ds_qp *qp) in ds_remove_qp() argument
433 rs->qp_list = ds_next_qp(qp); in ds_remove_qp()
436 rs->qp_list = NULL; in ds_remove_qp()
440 static int rs_notify_svc(struct rs_svc *svc, struct rsocket *rs, int cmd) in rs_notify_svc() argument
[all …]
/freebsd/sys/kern/
H A Dsubr_rangeset.c39 static void rangeset_check(struct rangeset *rs);
41 #define rangeset_check(rs) argument
54 SYSINIT(rs, SI_SUB_LOCK, SI_ORDER_ANY, rs_rangeset_init, NULL);
59 struct rangeset *rs; in rs_node_alloc() local
61 rs = __containerof(ptree, struct rangeset, rs_trie); in rs_node_alloc()
62 return (uma_zalloc(rs_node_zone, rs->rs_alloc_flags)); in rs_node_alloc()
75 rangeset_init(struct rangeset *rs, rs_dup_data_t dup_data, in rangeset_init() argument
79 pctrie_init(&rs->rs_trie); in rangeset_init()
80 rs->rs_dup_data = dup_data; in rangeset_init()
81 rs->rs_free_data = free_data; in rangeset_init()
[all …]
/freebsd/sys/netinet/
H A Dtcp_ratelimit.c295 rl_add_syctl_entries(struct sysctl_oid *rl_sysctl_root, struct tcp_rate_set *rs) in rl_add_syctl_entries() argument
300 if (rs->rs_flags & RS_INTF_NO_SUP) { in rl_add_syctl_entries()
301 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
304 &rs->rs_disable, 0, in rl_add_syctl_entries()
307 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
310 &rs->rs_disable, 0, in rl_add_syctl_entries()
313 SYSCTL_ADD_S32(&rs->sysctl_ctx, in rl_add_syctl_entries()
316 &rs->rs_min_seg, 0, in rl_add_syctl_entries()
318 SYSCTL_ADD_U64(&rs->sysctl_ctx, in rl_add_syctl_entries()
321 &rs->rs_flow_limit, 0, in rl_add_syctl_entries()
[all …]
/freebsd/sys/dev/rtwn/rtl8812a/
H A Dr12a_rom.c63 struct r12a_softc *rs = sc->sc_priv; in r12a_parse_rom_common() local
68 rs->crystalcap = RTWN_GET_ROM_VAR(rom->crystalcap, in r12a_parse_rom_common()
70 rs->tx_bbswing_2g = RTWN_GET_ROM_VAR(rom->tx_bbswing_2g, 0); in r12a_parse_rom_common()
71 rs->tx_bbswing_5g = RTWN_GET_ROM_VAR(rom->tx_bbswing_5g, 0); in r12a_parse_rom_common()
82 rs->cck_tx_pwr[i][j] = in r12a_parse_rom_common()
85 rs->ht40_tx_pwr_2g[i][j] = in r12a_parse_rom_common()
89 rs->cck_tx_pwr[i][j] = RTWN_GET_ROM_VAR(pwr_2g->cck[j], in r12a_parse_rom_common()
92 rs->cck_tx_pwr_diff_2g[i][0] = 0; in r12a_parse_rom_common()
93 rs->ofdm_tx_pwr_diff_2g[i][0] = RTWN_SIGN4TO8( in r12a_parse_rom_common()
95 rs->bw20_tx_pwr_diff_2g[i][0] = RTWN_SIGN4TO8( in r12a_parse_rom_common()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/
H A Ddio_aligned_block.ksh44 zfs set recordsize=$rs $TESTPOOL/$TESTFS
54 rs=$(get_prop recordsize $TESTPOOL/$TESTFS)
58 file_size=$((rs * 8))
63 check_write $TESTPOOL $tmp_file $rs 1 0 "-D" 0 1
64 check_write $TESTPOOL $tmp_file $rs 2 0 "-D" 0 2
65 check_write $TESTPOOL $tmp_file $rs 4 0 "-D" 0 4
66 check_write $TESTPOOL $tmp_file $rs 8 0 "-D" 0 8
69 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 0 "-D" 0 2
70 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 1 "-D" 0 2
71 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 2 "-D" 0 2
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Drange_tree.c102 range_seg_t *rs; in range_tree_stat_verify() local
107 for (rs = zfs_btree_first(&rt->rt_root, &where); rs != NULL; in range_tree_stat_verify()
108 rs = zfs_btree_next(&rt->rt_root, &where, &where)) { in range_tree_stat_verify()
109 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in range_tree_stat_verify()
127 range_tree_stat_incr(range_tree_t *rt, range_seg_t *rs) in range_tree_stat_incr() argument
129 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in range_tree_stat_incr()
141 range_tree_stat_decr(range_tree_t *rt, range_seg_t *rs) in range_tree_stat_decr() argument
143 uint64_t size = rs_get_end(rs, rt) - rs_get_start(rs, rt); in range_tree_stat_decr()
267 range_tree_adjust_fill(range_tree_t *rt, range_seg_t *rs, int64_t delta) in range_tree_adjust_fill() argument
269 if (delta < 0 && delta * -1 >= rs_get_fill(rs, rt)) { in range_tree_adjust_fill()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonPatterns.td46 // 5. Compound instructions (e.g. Rx+Rs*Rt) are generated under the condition
120 def LoReg: OutPatFrag<(ops node:$Rs), (EXTRACT_SUBREG $Rs, isub_lo)>;
121 def HiReg: OutPatFrag<(ops node:$Rs), (EXTRACT_SUBREG $Rs, isub_hi)>;
246 def I1toI32: OutPatFrag<(ops node:$Rs), (C2_muxii (i1 $Rs), 1, 0)>;
247 def I32toI1: OutPatFrag<(ops node:$Rs), (i1 (C2_cmpgtui (i32 $Rs), (i32 0)))>;
248 def ToZext64: OutPatFrag<(ops node:$Rs), (i64 (A4_combineir 0, (i32 $Rs)))>;
249 def ToSext64: OutPatFrag<(ops node:$Rs), (i64 (A2_sxtw (i32 $Rs)))>;
250 def ToAext64: OutPatFrag<(ops node:$Rs),
251 (REG_SEQUENCE DoubleRegs, (i32 (IMPLICIT_DEF)), isub_hi, (i32 $Rs), isub_lo)>;
253 def Combinew: OutPatFrag<(ops node:$Rs, node:$Rt),
[all …]
H A DHexagonIntrinsics.td12 : Pat <(IntID I32:$Rs),
13 (MI I32:$Rs)>;
16 : Pat <(IntID I32:$Rs, I32:$Rt),
17 (MI I32:$Rs, I32:$Rt)>;
20 : Pat <(IntID I32:$Rs, I64:$Rt),
21 (MI I32:$Rs, I64:$Rt)>;
23 def: Pat<(int_hexagon_A2_add IntRegs:$Rs, IntRegs:$Rt),
24 (A2_add IntRegs:$Rs, IntRegs:$Rt)>;
25 def: Pat<(int_hexagon_A2_addi IntRegs:$Rs, timm:$s16),
26 (A2_addi IntRegs:$Rs, imm:$s16)>;
[all …]
/freebsd/sys/net/route/
H A Droute_subscription.c59 struct rib_subscription *rs; in rib_notify() local
61 CK_STAILQ_FOREACH(rs, &rnh->rnh_subscribers, next) { in rib_notify()
62 if (rs->type == type) in rib_notify()
63 rs->func(rnh, rc, rs->arg); in rib_notify()
71 struct rib_subscription *rs; in allocate_subscription() local
74 rs = malloc(sizeof(struct rib_subscription), M_RTABLE, flags); in allocate_subscription()
75 if (rs == NULL) in allocate_subscription()
78 rs->func = f; in allocate_subscription()
79 rs->arg = arg; in allocate_subscription()
80 rs->type = type; in allocate_subscription()
[all …]
/freebsd/contrib/ofed/librdmacm/examples/
H A Drcopy.c121 static size_t _recv(int rs, char *msg, size_t len) in _recv() argument
126 ret = rrecv(rs, msg + offset, len - offset, 0); in _recv()
134 static int msg_recv_hdr(int rs, struct msg_hdr *hdr) in msg_recv_hdr() argument
138 ret = _recv(rs, (char *) hdr, sizeof *hdr); in msg_recv_hdr()
151 static int msg_get_resp(int rs, struct msg_hdr *msg, uint8_t cmd) in msg_get_resp() argument
155 ret = msg_recv_hdr(rs, msg); in msg_get_resp()
168 static void msg_send_resp(int rs, struct msg_hdr *msg, uint32_t status) in msg_send_resp() argument
177 rsend(rs, (char *) &resp, sizeof resp, 0); in msg_send_resp()
183 int ret, rs; in server_listen() local
193 rs = rsocket(res->ai_family, res->ai_socktype, res->ai_protocol); in server_listen()
[all …]
/freebsd/contrib/netbsd-tests/usr.bin/awk/
H A Dt_awk.sh118 atf_set "descr" "Test awk(1) with single character RS"
124 -x "echo 1a2aa3aaa4 | $awk 1 RS=a"
130 atf_set "descr" "Test awk(1) with two characters RS"
136 -x "echo 1ab2ab3ab4 | $awk 1 RS=ab"
142 atf_set "descr" "Test awk(1) with single character regex group RS"
148 -x "echo 1a2aa3aaa4 | $awk 1 RS='[a]'"
154 atf_set "descr" "Test awk(1) with two characters regex group RS"
160 -x "echo 1a2ab3aba4 | $awk 1 RS='[ab]'"
166 atf_set "descr" "Test awk(1) with single character regex star RS"
172 -x "echo 1a2aa3aaa4 | $awk 1 RS='a*'"
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Drange_tree.h114 void (*rtop_add)(range_tree_t *rt, void *rs, void *arg);
115 void (*rtop_remove)(range_tree_t *rt, void *rs, void *arg);
120 rs_get_start_raw(const range_seg_t *rs, const range_tree_t *rt) in rs_get_start_raw() argument
125 return (((const range_seg32_t *)rs)->rs_start); in rs_get_start_raw()
127 return (((const range_seg64_t *)rs)->rs_start); in rs_get_start_raw()
129 return (((const range_seg_gap_t *)rs)->rs_start); in rs_get_start_raw()
137 rs_get_end_raw(const range_seg_t *rs, const range_tree_t *rt) in rs_get_end_raw() argument
142 return (((const range_seg32_t *)rs)->rs_end); in rs_get_end_raw()
144 return (((const range_seg64_t *)rs)->rs_end); in rs_get_end_raw()
146 return (((const range_seg_gap_t *)rs)->rs_end); in rs_get_end_raw()
[all …]
/freebsd/crypto/openssl/crypto/
H A Dmips_arch.h26 # define dmultu(rs,rt) argument
27 # define mflo(rd,rs,rt) dmulu rd,rs,rt argument
28 # define mfhi(rd,rs,rt) dmuhu rd,rs,rt argument
30 # define multu(rs,rt) argument
31 # define mflo(rd,rs,rt) mulu rd,rs,rt argument
32 # define mfhi(rd,rs,rt) muhu rd,rs,rt argument
34 # define dmultu(rs,rt) dmultu rs,rt argument
35 # define multu(rs,rt) multu rs,rt argument
36 # define mflo(rd,rs,rt) mflo rd argument
37 # define mfhi(rd,rs,rt) mfhi rd argument
/freebsd/sys/dev/rtwn/rtl8812a/usb/
H A Dr12au_attach.c79 struct r12a_softc *rs = sc->sc_priv; in r12au_postattach() local
82 rs->ac_usb_dma_size = 0x07; in r12au_postattach()
83 rs->ac_usb_dma_time = 0x1a; in r12au_postattach()
85 rs->ac_usb_dma_size = 0x01; in r12au_postattach()
86 rs->ac_usb_dma_time = 0x10; in r12au_postattach()
89 if (rs->chip & R12A_CHIP_C_CUT) in r12au_postattach()
94 if (rs->board_type == R92C_BOARD_TYPE_MINICARD || in r12au_postattach()
95 rs->board_type == R92C_BOARD_TYPE_SOLO || in r12au_postattach()
96 rs->board_type == R92C_BOARD_TYPE_COMBO) in r12au_postattach()
101 if (!(rs->ext_pa_2g || rs->ext_lna_2g || in r12au_postattach()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.td232 let rs = 1;
237 let rs = 0;
258 def Br : I16rr<0b0100, (outs), (ins GR16:$rs),
259 "br\t$rs",
260 [(brind GR16:$rs)]>;
288 (outs), (ins GR16:$rs),
289 "call\t$rs", [(MSP430call GR16:$rs)]>;
293 def CALLn : II16n<0b101, (outs), (ins indreg:$rs), "call\t$rs", []>;
[all...]
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_recv.c171 struct ath_rx_status *rs) in ar5416ProcRxDesc() argument
178 rs->rs_status = 0; in ar5416ProcRxDesc()
179 rs->rs_flags = 0; in ar5416ProcRxDesc()
181 rs->rs_datalen = ads->ds_rxstatus1 & AR_DataLen; in ar5416ProcRxDesc()
182 rs->rs_tstamp = ads->AR_RcvTimestamp; in ar5416ProcRxDesc()
184 rs->rs_rssi = MS(ads->ds_rxstatus4, AR_RxRSSICombined); in ar5416ProcRxDesc()
185 rs->rs_rssi_ctl[0] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt00); in ar5416ProcRxDesc()
186 rs->rs_rssi_ctl[1] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt01); in ar5416ProcRxDesc()
187 rs->rs_rssi_ctl[2] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt02); in ar5416ProcRxDesc()
188 rs->rs_rssi_ext[0] = MS(ads->ds_rxstatus4, AR_RxRSSIAnt10); in ar5416ProcRxDesc()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_random.c185 static struct arc4_stream rs;
198 rs.s[n] = n; in arc4_init()
199 rs.i = 0; in arc4_init()
200 rs.j = 0; in arc4_init()
209 rs.i--; in arc4_addrandom()
211 rs.i = (rs.i + 1); in arc4_addrandom()
212 si = rs.s[rs.i]; in arc4_addrandom()
213 rs in arc4_addrandom()
186 static struct arc4_stream rs; global() variable
[all...]
/freebsd/sys/dev/rtwn/rtl8192c/usb/
H A Dr92cu_attach.c65 struct r92c_softc *rs = sc->sc_priv; in r92cu_postattach() local
68 if (!(rs->chip & R92C_CHIP_92C) && in r92cu_postattach()
69 rs->board_type == R92C_BOARD_TYPE_HIGHPA) { in r92cu_postattach()
72 rs->rs_txagc = &rtl8188ru_txagc[0]; in r92cu_postattach()
76 rs->rs_txagc = &rtl8192cu_txagc[0]; in r92cu_postattach()
79 if ((rs->chip & (R92C_CHIP_UMC_A_CUT | R92C_CHIP_92C)) == in r92cu_postattach()
87 rs->rs_scan_start = ic->ic_scan_start; in r92cu_postattach()
89 rs->rs_scan_end = ic->ic_scan_end; in r92cu_postattach()
96 struct r92c_softc *rs = sc->sc_priv; in r92cu_set_name() local
98 if (!(rs->chip & R92C_CHIP_92C)) { in r92cu_set_name()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips64InstrInfo.td409 (ins GPR32Opnd:$rs, uimm5_report_uimm6:$pos, uimm5_plus1:$size),
410 "dext $rt, $rs, $pos, $size", [], II_EXT, FrmR, "dext">,
414 let isCodeGenOnly = 1, rs = 0, shamt = 0 in {
456 InstSE<(outs RO:$rd), (ins RO:$rs), !strconcat(opstr, "\t$rd, $rs"),
457 [(set RO:$rd, (ctpop RO:$rs))], II_POP, FrmR, opstr> {
458 let TwoOperandAliasConstraint = "$rd = $rs";
463 InstSE<(outs RO:$rt), (ins RO:$rs, uimm5:$pos, uimm5:$lenm1),
464 !strconcat(opstr, "\t$rt, $rs, $pos, $lenm1"),
465 [(set RO:$rt, (Op RO:$rs, PosImm:$pos, imm:$lenm1))],
467 let TwoOperandAliasConstraint = "$rt = $rs";
[all …]
/freebsd/usr.bin/rs/tests/
H A Drs_test.sh38 " rs -c, 2 <<EOF
53 " rs -s% 2 <<EOF
69 " rs -C, 2 <<EOF
84 " rs -S, 2 <<EOF
100 " rs -t 3 <<EOF
116 " rs -T <<EOF
131 " rs -k 1 2 <<EOF
147 " rs -K 1 < /dev/null
160 " rs -g 1 2 <<EOF
175 " rs -G 50 2 <<EOF
[all …]
/freebsd/sys/dev/rtwn/rtl8821a/usb/
H A Dr21au_attach.c77 struct r12a_softc *rs = sc->sc_priv; in r21a_postattach() local
79 if (rs->board_type == R92C_BOARD_TYPE_MINICARD || in r21a_postattach()
80 rs->board_type == R92C_BOARD_TYPE_SOLO || in r21a_postattach()
81 rs->board_type == R92C_BOARD_TYPE_COMBO) in r21a_postattach()
86 TIMEOUT_TASK_INIT(taskqueue_thread, &rs->rs_chan_check, 0, in r21a_postattach()
92 rs->rs_scan_start = ic->ic_scan_start; in r21a_postattach()
94 rs->rs_scan_end = ic->ic_scan_end; in r21a_postattach()
102 struct r12a_softc *rs = sc->sc_priv; in r21au_vap_preattach() local
108 KASSERT(rvp->id >= 0 && rvp->id <= nitems(rs->rs_newstate), in r21au_vap_preattach()
111 rs->rs_newstate[rvp->id] = vap->iv_newstate; in r21au_vap_preattach()
[all …]
/freebsd/sys/dev/rtwn/rtl8192e/
H A Dr92e_rom.c63 struct r92e_softc *rs = sc->sc_priv; in r92e_parse_rom() local
69 rs->crystalcap = RTWN_GET_ROM_VAR(rom->crystalcap, in r92e_parse_rom()
78 rs->cck_tx_pwr[i][j] = in r92e_parse_rom()
81 rs->ht40_tx_pwr_2g[i][j] = in r92e_parse_rom()
85 rs->cck_tx_pwr[i][j] = RTWN_GET_ROM_VAR(pwr_2g->cck[j], in r92e_parse_rom()
88 rs->cck_tx_pwr_diff_2g[i][0] = 0; in r92e_parse_rom()
89 rs->ofdm_tx_pwr_diff_2g[i][0] = RTWN_SIGN4TO8( in r92e_parse_rom()
91 rs->bw20_tx_pwr_diff_2g[i][0] = RTWN_SIGN4TO8( in r92e_parse_rom()
93 rs->bw40_tx_pwr_diff_2g[i][0] = 0; in r92e_parse_rom()
97 rs->ofdm_tx_pwr_diff_2g[i][0] = RTWN_SIGN4TO8( in r92e_parse_rom()
[all …]
/freebsd/contrib/unbound/compat/
H A Darc4random.c66 } *rs; variable
149 if (rs == NULL) { in _rs_init()
151 if ((rs = mmap(NULL, sizeof(*rs), PROT_READ|PROT_WRITE, in _rs_init()
155 if (minherit(rs, sizeof(*rs), MAP_INHERIT_ZERO) == -1) in _rs_init()
159 rs = malloc(sizeof(*rs)); in _rs_init()
160 if(!rs) in _rs_init()
197 if (!rs) in _rs_stir()
204 rs->rs_have = 0; in _rs_stir()
210 rs->rs_count = REKEY_BASE + (rekey_fuzz % REKEY_BASE); in _rs_stir()
223 if (rs) in _rs_stir_if_needed()
[all …]
/freebsd/sys/dev/rtwn/rtl8192c/pci/
H A Dr92ce_attach.c69 struct r92c_softc *rs = sc->sc_priv; in r92ce_postattach() local
72 if (!(rs->chip & R92C_CHIP_92C) && in r92ce_postattach()
73 rs->board_type == R92C_BOARD_TYPE_HIGHPA) in r92ce_postattach()
74 rs->rs_txagc = &rtl8188ru_txagc[0]; in r92ce_postattach()
76 rs->rs_txagc = &rtl8192cu_txagc[0]; in r92ce_postattach()
78 if ((rs->chip & (R92C_CHIP_UMC_A_CUT | R92C_CHIP_92C)) == in r92ce_postattach()
85 rs->rs_scan_start = ic->ic_scan_start; in r92ce_postattach()
87 rs->rs_scan_end = ic->ic_scan_end; in r92ce_postattach()
94 struct r92c_softc *rs = sc->sc_priv; in r92ce_set_name() local
96 if (rs->chip & R92C_CHIP_92C) in r92ce_set_name()
[all …]
/freebsd/sys/powerpc/powerpc/
H A Dsupport.S193 #define rs %r3 macro
216 dcbt 0, rs
226 LOAD t1, 0(rs)
227 LOAD t2, WORD*1(rs)
228 LOAD t3, WORD*2(rs)
229 LOAD t4, WORD*3(rs)
230 addi rs, rs, WORD*4
238 LOAD t1, 0(rs)
239 LOAD t2, WORD*1(rs)
240 addi rs, rs, WORD*2
[all …]

12345678910>>...50