HomeSort by: relevance | last modified time | path
    Searched refs:rs (Results 1 - 25 of 147) sorted by relevancy

1 2 3 4 5 6

  /src/usr.bin/rs/
Makefile 5 PROG= rs
  /src/sys/external/isc/atheros_hal/dist/ar5416/
ar5416_recv.c 94 struct ath_rx_status *rs)
110 rs->rs_status = 0;
111 rs->rs_flags = 0;
113 rs->rs_datalen = ads->ds_rxstatus1 & AR_DataLen;
114 rs->rs_tstamp = ads->AR_RcvTimestamp;
118 rs->rs_rssi = MS(ads->ds_rxstatus4, AR_RxRSSICombined);
119 rs->rs_rssi_ctl[0] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt00);
120 rs->rs_rssi_ctl[1] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt01);
121 rs->rs_rssi_ctl[2] = MS(ads->ds_rxstatus0, AR_RxRSSIAnt02);
122 rs->rs_rssi_ext[0] = MS(ads->ds_rxstatus4, AR_RxRSSIAnt10)
    [all...]
  /src/sys/netbt/
rfcomm_session.c 172 struct rfcomm_session *rs; local in function:rfcomm_session_alloc
176 rs = malloc(sizeof(*rs), M_BLUETOOTH, M_NOWAIT | M_ZERO);
177 if (rs == NULL)
180 rs->rs_state = RFCOMM_SESSION_CLOSED;
182 callout_init(&rs->rs_timeout, 0);
183 callout_setfunc(&rs->rs_timeout, rfcomm_session_timeout, rs);
185 SIMPLEQ_INIT(&rs->rs_credits);
186 LIST_INIT(&rs->rs_dlcs)
267 struct rfcomm_session *rs; local in function:rfcomm_session_lookup
305 struct rfcomm_session *rs = arg; local in function:rfcomm_session_timeout
348 struct rfcomm_session *rs = arg; local in function:rfcomm_session_connected
387 struct rfcomm_session *rs = arg; local in function:rfcomm_session_disconnected
414 struct rfcomm_session *new, *rs = arg; local in function:rfcomm_session_newconn
447 struct rfcomm_session *rs = arg; local in function:rfcomm_session_complete
515 struct rfcomm_session *rs = arg; local in function:rfcomm_session_linkmode
611 struct rfcomm_session *rs = arg; local in function:rfcomm_session_input
    [all...]
rfcomm_upper.c 137 struct rfcomm_session *rs; local in function:rfcomm_connect_pcb
162 rs = rfcomm_session_lookup(&dlc->rd_laddr, &dlc->rd_raddr);
163 if (rs == NULL) {
164 rs = rfcomm_session_alloc(&rfcomm_session_active,
166 if (rs == NULL)
169 rs->rs_flags |= RFCOMM_SESSION_INITIATOR;
170 rs->rs_state = RFCOMM_SESSION_WAIT_CONNECT;
172 err = l2cap_connect_pcb(rs->rs_l2cap, &dlc->rd_raddr);
174 rfcomm_session_free(rs);
185 dlc->rd_dlci = RFCOMM_MKDLCI(IS_INITIATOR(rs) ? 0:1, dest->bt_channel)
225 struct rfcomm_session *rs = dlc->rd_session; local in function:rfcomm_disconnect_pcb
314 struct rfcomm_session *rs; local in function:rfcomm_listen_pcb
    [all...]
rfcomm_dlc.c 55 rfcomm_dlc_lookup(struct rfcomm_session *rs, int dlci)
59 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next) {
73 rfcomm_dlc_newconn(struct rfcomm_session *rs, int dlci)
87 l2cap_sockaddr_pcb(rs->rs_l2cap, &laddr);
88 l2cap_peeraddr_pcb(rs->rs_l2cap, &raddr);
125 rfcomm_session_send_frame(rs, RFCOMM_FRAME_DM, dlci);
139 new->rd_session = rs;
141 LIST_INSERT_HEAD(&rs->rs_dlcs, new, rd_next);
154 struct rfcomm_session *rs; local in function:rfcomm_dlc_close
160 rs = dlc->rd_session
338 struct rfcomm_session *rs = dlc->rd_session; local in function:rfcomm_dlc_start
    [all...]
hci_ioctl.c 60 struct rfcomm_session *rs; local in function:hci_dump
100 LIST_FOREACH(rs, &rfcomm_session_active, rs_next) {
101 chan = rs->rs_l2cap;
105 rs->rs_state, rs->rs_flags, chan->lc_raddr.bt_psm,
108 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next) {
120 LIST_FOREACH(rs, &rfcomm_session_listen, rs_next) {
121 chan = rs->rs_l2cap;
126 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next)
  /src/sbin/rndctl/
rndctl.c 141 rndsave_t rs; local in function:update_seed
147 memset(&rs, 0, sizeof rs);
182 SHAKE128_Final(rs.data, sizeof(rs.data), &shake128);
195 rs.entropy = MIN(MAX(systementropy, extraentropy),
196 MIN(sizeof(rs.data), UINT32_MAX/NBBY)*NBBY);
203 SHA1Update(&s, (const uint8_t *)&rs.entropy, sizeof(rs.entropy));
204 SHA1Update(&s, rs.data, sizeof(rs.data))
280 rndsave_t rs; local in function:do_load
551 rndpoolstat_t rs; local in function:do_stats
    [all...]
  /src/sys/arch/vax/vax/
crx.c 143 struct rx50state *rs; local in function:crxrw
158 rs = &rx50state;
162 while (rs->rs_flags & RS_BUSY) {
163 rs->rs_flags |= RS_WANT;
166 rs->rs_flags |= RS_BUSY;
167 rs->rs_drive = rx50unit(dev);
174 rs->rs_blkno = uio->uio_offset >> 9;
175 if (rs->rs_blkno >= RX50MAXSEC) {
176 if (rs->rs_blkno > RX50MAXSEC)
183 rs->rs_flags &= ~(RS_ERROR | RS_DONE)
247 struct rx50state *rs = &rx50state; local in function:crxintr
    [all...]
  /src/sys/arch/hp300/stand/common/
rd.c 123 struct rd_softc *rs = &rd_softc[ctlr][unit]; local in function:rdinit
125 rs->sc_type = rdident(ctlr, unit);
126 if (rs->sc_type < 0)
128 rs->sc_alive = 1;
216 rdgetinfo(struct rd_softc *rs)
218 struct rdminilabel *pi = &rs->sc_pinfo;
228 savepart = rs->sc_part;
229 rs->sc_part = RAW_PART;
230 err = rdstrategy(rs, F_READ, LABELSECTOR,
232 rs->sc_part = savepart
260 struct rd_softc *rs; local in function:rdopen
292 struct rd_softc *rs = f->f_devdata; local in function:rdclose
309 struct rd_softc *rs = devdata; local in function:rdstrategy
    [all...]
ct.c 85 struct ct_softc *rs = &ct_softc[ctlr][unit]; local in function:ctinit
93 ct_ssmc.unit = C_SUNIT(rs->sc_punit);
102 rs->sc_alive = 1;
158 struct ct_softc *rs; local in function:ctpunit
164 rs = &ct_softc[ctlr][slave];
166 if (rs->sc_alive == 0)
169 *punit = rs->sc_punit;
178 struct ct_softc *rs; local in function:ctopen
192 rs = &ct_softc[ctlr][unit];
193 rs->sc_blkno = 0
220 struct ct_softc *rs = devdata; local in function:ctstrategy
292 struct ct_softc *rs = &ct_softc[ctlr][unit]; local in function:cterror
    [all...]
  /src/distrib/utils/embedded/files/
resize_disklabel 45 local disk rawpart ts rs oldsize newsize
57 rs=${PART1SIZE}
59 if [ "$ts" = "$rs" ]; then
63 oldsize=$(($rs / 2048))
71 local disk part rawpart ts rs oldsize newsize
78 rs=$(get_rawpart_sectors $disk $rawpart)
80 if [ "$ts" = "$rs" ]; then
84 oldsize=$(($rs / 2048))
  /src/sys/external/isc/atheros_hal/dist/ar5211/
ar5211_recv.c 205 struct ath_rx_status *rs)
220 rs->rs_datalen = ads->ds_status0 & AR_DataLen;
221 rs->rs_tstamp = MS(ads->ds_status1, AR_RcvTimestamp);
222 rs->rs_status = 0;
225 rs->rs_status |= HAL_RXERR_CRC;
227 rs->rs_status |= HAL_RXERR_DECRYPT;
229 rs->rs_status |= HAL_RXERR_PHY;
230 rs->rs_phyerr = MS(ads->ds_status1, AR_PHYErr);
234 rs->rs_rssi = MS(ads->ds_status0, AR_RcvSigStrength);
236 rs->rs_keyix = MS(ads->ds_status1, AR_KeyIdx)
    [all...]
  /src/sys/external/isc/libsodium/dist/test/default/
stream3.c 16 static unsigned char rs[32]; variable in typeref:typename:unsigned char[32]
23 crypto_stream(rs, 32, nonce, firstkey);
26 printf(",0x%02x", (unsigned int) rs[i]);
  /src/sys/external/isc/atheros_hal/dist/ar5212/
ar5212_recv.c 239 struct ath_rx_status *rs)
254 rs->rs_datalen = ads->ds_rxstatus0 & AR_DataLen;
255 rs->rs_tstamp = MS(ads->ds_rxstatus1, AR_RcvTimestamp);
256 rs->rs_status = 0;
258 rs->rs_rssi = MS(ads->ds_rxstatus0, AR_RcvSigStrength);
260 if (rs->rs_rssi == -128)
261 rs->rs_rssi = 0;
263 rs->rs_keyix = MS(ads->ds_rxstatus1, AR_KeyIdx);
265 rs->rs_keyix = HAL_RXKEYIX_INVALID;
267 rs->rs_rate = MS(ads->ds_rxstatus0, AR_RcvRate)
    [all...]
  /src/sys/kern/
kern_entropy.c 344 struct krndsource *rs; local in function:entropy_init
421 LIST_FOREACH(rs, &E->sources, list)
422 rs->state = percpu_alloc(sizeof(struct rndsource_cpu));
1770 * rndsource_setcb(rs, get, getarg)
1772 * Set the request callback for the entropy source rs, if it can
1776 rndsource_setcb(struct krndsource *rs, void (*get)(size_t, void *),
1780 rs->get = get;
1781 rs->getarg = getarg;
1785 * rnd_attach_source(rs, name, type, flags)
1787 * Attach the entropy source rs. Must be done afte
1972 struct krndsource *rs; local in function:entropy_request
2485 struct krndsource *rs; local in function:entropy_ioctl
    [all...]
  /src/sys/external/isc/atheros_hal/dist/ar5210/
ar5210_recv.c 211 struct ath_rx_status *rs)
227 rs->rs_datalen = ads->ds_status0 & AR_DataLen;
239 rs->rs_tstamp = rstamp & 0x7fff;
240 rs->rs_status = 0;
243 rs->rs_status |= HAL_RXERR_CRC;
245 rs->rs_status |= HAL_RXERR_DECRYPT;
247 rs->rs_status |= HAL_RXERR_FIFO;
249 rs->rs_status |= HAL_RXERR_PHY;
250 rs->rs_phyerr =
255 rs->rs_rssi = MS(ads->ds_status0, AR_RcvSigStrength)
    [all...]
  /src/sys/arch/powerpc/powerpc/
fixup.c 126 const u_int rs = i.i_x.i_rs; local in function:powerpc_fixup_stubs
134 r_lr = rs;
136 valid_mask |= (1 << rs);
142 KASSERT(valid_mask & (1 << rs));
145 ctr = fixreg[rs];
150 KASSERT(valid_mask & (1 << rs));
153 fixreg[ra] = fixreg[rs] | fixreg[rb];
165 const u_int rs = i.i_d.i_rs; local in function:powerpc_fixup_stubs
172 fixreg[rs] = d;
173 valid_mask |= (1 << rs);
177 const u_int rs = i.i_d.i_rs; local in function:powerpc_fixup_stubs
    [all...]
  /src/sys/arch/atari/dev/
md_root.c 153 struct read_info rs; local in function:loaddisk
171 rs.bp = buf;
172 rs.nbytes = md->md_size;
173 rs.offset = 0;
174 rs.bufp = md->md_addr;
175 rs.ebufp = (char *)md->md_addr + md->md_size;
176 rs.chunk = RAMD_CHUNK;
177 rs.media_sz = md->md_size;
178 rs.strat = bdp->d_strategy;
189 rs.chunk = dl.d_secsize * dl.d_secpercyl
    [all...]
  /src/sys/external/bsd/ipf/netinet/
ip_rpcb_pxy.c 153 rpcb_session_t *rs; local in function:ipf_p_rpcb_new
160 KMALLOC(rs, rpcb_session_t *);
161 if (rs == NULL)
164 bzero((char *)rs, sizeof(*rs));
165 MUTEX_INIT(&rs->rs_rxlock, "ipf Sun RPCB proxy session lock");
167 aps->aps_data = rs;
182 rpcb_session_t *rs; local in function:ipf_p_rpcb_del
183 rs = (rpcb_session_t *)aps->aps_data;
185 MUTEX_ENTER(&rs->rs_rxlock)
208 rpcb_session_t *rs; local in function:ipf_p_rpcb_in
276 rpcb_session_t *rs; local in function:ipf_p_rpcb_out
    [all...]
  /src/sys/net80211/
ieee80211_rssadapt.c 193 struct ieee80211_rateset *rs, struct ieee80211_frame *wh, u_int len,
213 if ((rs->rs_rates[fixed_rate] & flags) == flags) {
220 i = rs->rs_nrates;
224 if ((rs->rs_rates[i] & flags) != flags)
237 (rs->rs_rates[rateidx] & IEEE80211_RATE_VAL) / 2,
238 (rs->rs_rates[rateidx] & IEEE80211_RATE_VAL) * 5 % 10,
289 struct ieee80211_rateset *rs = &ni->ni_rates; local in function:ieee80211_rssadapt_lower_rate
295 if (id->id_rateidx >= rs->rs_nrates) {
299 rs->rs_nrates - 1));
319 (rs->rs_rates[id->id_rateidx] & IEEE80211_RATE_VAL) / 2
330 struct ieee80211_rateset *rs = &ni->ni_rates; local in function:ieee80211_rssadapt_raise_rate
    [all...]
  /src/usr.sbin/mlxctl/
cmds.c 86 static struct mlx_rebuild_status rs; variable in typeref:struct:mlx_rebuild_status
141 if (rs.rs_drive == md->hwunit &&
142 rs.rs_code != MLX_REBUILDSTAT_IDLE) {
143 switch(rs.rs_code) {
161 printf(": %d/%d, %d%% complete]\n", rs.rs_remaining, rs.rs_size,
162 ((rs.rs_size - rs.rs_remaining) / (rs.rs_size / 100)));
170 if (ioctl(mlxfd, MLX_REBUILDSTAT, &rs) < 0
    [all...]
  /src/sys/dev/raidframe/
rf_compat32.c 82 rf_config_netbsd32(struct raid_softc *rs, void *data)
124 return rf_construct(rs, k_cfg);
146 raidframe_netbsd32_ioctl(struct raid_softc *rs, u_long cmd, void *data)
148 RF_Raid_t *raidPtr = rf_get_raid(rs);
152 if (!rf_inited(rs))
156 return rf_config_netbsd32(rs, data);
rf_netbsdkintf.c 433 rf_inited(const struct raid_softc *rs) {
434 return (rs->sc_flags & RAIDF_INITED) != 0;
438 rf_get_raid(struct raid_softc *rs) {
439 return &rs->sc_r;
443 rf_get_unit(const struct raid_softc *rs) {
444 return rs->sc_unit;
802 struct raid_softc *rs; local in function:raidsize
807 if ((rs = raidget(unit, false)) == NULL)
809 dksc = &rs->sc_dksc;
811 if ((rs->sc_flags & RAIDF_INITED) == 0
821 struct raid_softc *rs; local in function:raiddump
845 struct raid_softc *rs = raidsoftc(dev); local in function:raid_dumpblocks
955 struct raid_softc *rs; local in function:raidopen
1002 struct raid_softc *rs = raidsoftc(self); local in function:raid_lastclose
1024 struct raid_softc *rs; local in function:raidclose
1071 struct raid_softc *rs; local in function:raidstrategy
1105 struct raid_softc *rs = raidsoftc(dev); local in function:raid_diskstart
1123 struct raid_softc *rs; local in function:raiddone
1144 struct raid_softc *rs; local in function:raidread
1161 struct raid_softc *rs; local in function:raidwrite
1576 struct raid_softc *rs; local in function:raidioctl
2036 struct raid_softc *rs; local in function:raidstart
2702 struct raid_softc *rs = raidPtr->softc; local in function:rf_update_component_labels
3752 struct raid_softc *rs; local in function:rf_buf_queue_check
3802 struct raid_softc *rs = raidsoftc(self); local in function:raid_detach
    [all...]
  /src/usr.sbin/gspa/gspa/
gsp_inst.c 444 int rs, rd; local in function:encode_instr
451 rs = rd = 0;
506 rs = op0->reg_no;
510 if ((rs & rd & GSPA_REGFILE) == 0)
513 if (rs == GSPA_SP)
514 rs |= rd;
516 rd |= rs;
524 opc |= rs & 0x1F;
527 opc |= ((rs & 0x0F) << 5) | (rd & 0x1F);
554 rs = val[0]
    [all...]
  /src/sys/arch/mips/mips/
db_disasm.c 262 (i.RType.rs == 0) &&
301 reg_name[i.RType.rs]);
306 && i.RType.rs == 1) {
339 reg_name[i.RType.rs]);
349 db_printf("\t%s%s", reg_name[i.RType.rs],
355 db_printf("\t%s", reg_name[i.RType.rs]);
367 reg_name[i.RType.rs],
380 db_printf("\t%d", (i.RType.rs << 5) | i.RType.rt);
385 reg_name[i.RType.rs],
393 reg_name[i.RType.rs],
    [all...]

Completed in 24 milliseconds

1 2 3 4 5 6