Home
last modified time | relevance | path

Searched refs:rs (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/openbmc/qemu/util/
H A Dreadline.c37 rs->printf_func(rs->opaque, "%s", rs->prompt); in readline_show_prompt()
38 rs->flush_func(rs->opaque); in readline_show_prompt()
50 memcmp(rs->cmd_buf, rs->last_cmd_buf, rs->cmd_buf_size) != 0) { in readline_update()
61 rs->printf_func(rs->opaque, "%s", rs->cmd_buf); in readline_update()
64 memcpy(rs->last_cmd_buf, rs->cmd_buf, rs->cmd_buf_size); in readline_update()
82 rs->flush_func(rs->opaque); in readline_update()
133 if (rs->cmd_buf_index == 0 || rs->cmd_buf_index > rs->cmd_buf_size) { in readline_backword()
175 rs->cmd_buf_index = rs->cmd_buf_size; in readline_eol()
198 rs->cmd_buf_index = rs->cmd_buf_size = strlen(rs->cmd_buf); in readline_up_char()
215 rs->cmd_buf_index = rs->cmd_buf_size = strlen(rs->cmd_buf); in readline_down_char()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/rust/files/
H A Drv32-cargo-rustix-0.38.19-fix.patch12 --- a/vendor/rustix-0.38.19/src/backend/libc/termios/syscalls.rs
13 +++ b/vendor/rustix-0.38.19/src/backend/libc/termios/syscalls.rs
37rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe…
39rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe…
40 --- a/vendor/rustix-0.38.19/src/fs/ioctl.rs
41 +++ b/vendor/rustix-0.38.19/src/fs/ioctl.rs
60 --- a/vendor/rustix-0.38.19/src/backend/libc/c.rs
61 +++ b/vendor/rustix-0.38.19/src/backend/libc/c.rs
H A Drv32-rustix-libc-backend.patch5 --- a/vendor/rustix/src/backend/libc/c.rs
6 +++ b/vendor/rustix/src/backend/libc/c.rs
19rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe…
21rs":"e260e67273aa0a37cffdc5cd451699335b8ee656c17275a0d0f2b4563c6018ca","build.rs":"5f93559819ca7fe…
22 --- a/vendor/rustix/src/fs/ioctl.rs
23 +++ b/vendor/rustix/src/fs/ioctl.rs
H A D0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch12 src/lib.rs | 22 ++--------------------
15 Index: rustc-1.72.0-src/vendor/cc/src/lib.rs
17 --- rustc-1.72.0-src.orig/vendor/cc/src/lib.rs
18 +++ rustc-1.72.0-src/vendor/cc/src/lib.rs
64rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"29d0dee08a656…
66rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"29d0dee08a656…
/openbmc/linux/drivers/md/
H A Ddm-raid.c514 if (rs->ctr_flags & ~__valid_flags(rs)) { in rs_check_for_valid_flags()
762 rs->md.new_level = rs->md.level; in raid_set_alloc()
764 rs->md.new_layout = rs->md.layout; in raid_set_alloc()
790 dm_put_device(rs->ti, rs->journal_dev.dev); in raid_set_free()
845 rs->dev[i].rdev.mddev = &rs->md; in parse_dev_params()
1872 return rs->md.new_level != rs->md.level; in rs_takeover_requested()
2025 else if (!(rs_is_raid1(rs) || rs_is_raid10(rs) || rs_is_raid456(rs))) in rs_check_reshape()
2786 mddev->degraded = rs->delta_disks < 0 ? -rs->delta_disks : rs->delta_disks; in rs_prepare_reshape()
3063 rs->array_sectors = rs->md.array_sectors; in raid_ctr()
3064 rs->dev_sectors = rs->md.dev_sectors; in raid_ctr()
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-rockchip.c311 rs->tx += rs->n_bytes; in rockchip_spi_pio_writer()
345 rs->rx += rs->n_bytes; in rockchip_spi_pio_reader()
383 rs->tx_left = rs->tx ? xfer->len / rs->n_bytes : 0; in rockchip_spi_prepare_irq()
384 rs->rx_left = xfer->len / rs->n_bytes; in rockchip_spi_prepare_irq()
592 if ((xfer->len / rs->n_bytes) < rs->fifo_len) in rockchip_spi_config()
629 rs->rx = rs->xfer->rx_buf; in rockchip_spi_target_abort()
636 rs->rx += rs->xfer->len - rs->n_bytes * state.residue; in rockchip_spi_target_abort()
650 rs->rx += rs->n_bytes; in rockchip_spi_target_abort()
652 rs->xfer->len = (unsigned int)(rs->rx - rs->xfer->rx_buf); in rockchip_spi_target_abort()
823 rs->freq = clk_get_rate(rs->spiclk); in rockchip_spi_probe()
[all …]
H A Dspi-mt7621.c95 rs->pending_write = 0; in mt7621_spi_set_cs()
122 rs->speed = speed; in mt7621_spi_prepare()
168 rs->pending_write = 0; in mt7621_spi_read_half_duplex()
220 rs->pending_write = len; in mt7621_spi_write_half_duplex()
221 mt7621_spi_flush(rs); in mt7621_spi_write_half_duplex()
245 rs->pending_write = len; in mt7621_spi_write_half_duplex()
292 mt7621_spi_flush(rs); in mt7621_spi_transfer_one_message()
329 struct mt7621_spi *rs; in mt7621_spi_probe() local
364 rs->base = base; in mt7621_spi_probe()
365 rs->master = master; in mt7621_spi_probe()
[all …]
/openbmc/linux/lib/reed_solomon/
H A Dreed_solomon.c76 rs = kzalloc(sizeof(*rs), gfp); in codec_init()
77 if (!rs) in codec_init()
105 rs->alpha_to[rs->nn] = 0; /* alpha**-inf = 0 */ in codec_init()
140 rs->genpoly[j] = rs->genpoly[j -1] ^ in codec_init()
141 rs->alpha_to[rs_modnn(rs, in codec_init()
142 rs->index_of[rs->genpoly[j]] + root)]; in codec_init()
144 rs->genpoly[j] = rs->genpoly[j - 1]; in codec_init()
148 rs->alpha_to[rs_modnn(rs, in codec_init()
149 rs->index_of[rs->genpoly[0]] + root)]; in codec_init()
153 rs->genpoly[i] = rs->index_of[rs->genpoly[i]]; in codec_init()
[all …]
/openbmc/linux/net/rds/
H A Daf_rds.c62 struct rds_sock *rs; in rds_release() local
67 rs = rds_sk_to_rs(sk); in rds_release()
76 rds_remove_bound(rs); in rds_release()
242 if (rs->rs_snd_bytes < rds_sk_sndbuf(rs)) in rds_poll()
272 if (rs->rs_tos || rs->rs_conn) { in rds_ioctl()
276 rs->rs_tos = tos; in rds_ioctl()
281 tos = rs->rs_tos; in rds_ioctl()
519 trans = (rs->rs_transport ? rs->rs_transport->t_type : in rds_getsockopt()
662 WARN_ON((&rs->rs_item != rs->rs_item.next || in rds_sock_destruct()
663 &rs->rs_item != rs->rs_item.prev)); in rds_sock_destruct()
[all …]
H A Dbind.c76 struct rds_sock *rs; in rds_find_bound() local
81 if (rs && (sock_flag(rds_rs_to_sk(rs), SOCK_DEAD) || in rds_find_bound()
83 rs = NULL; in rds_find_bound()
90 return rs; in rds_find_bound()
122 memcpy(rs->rs_bound_key, key, sizeof(rs->rs_bound_key)); in rds_add_bound()
128 rds_sock_addref(rs); in rds_add_bound()
139 rds_sock_put(rs); in rds_add_bound()
155 rs, &rs->rs_bound_addr, in rds_remove_bound()
159 rds_sock_put(rs); in rds_remove_bound()
245 if (rs->rs_transport) { in rds_bind()
[all …]
H A Drecv.c107 now_congested = rs->rs_rcv_bytes > rds_sk_rcvbuf(rs); in rds_recv_rcvbuf_delta()
111 rs, &rs->rs_bound_addr, in rds_recv_rcvbuf_delta()
112 ntohs(rs->rs_bound_port), rs->rs_rcv_bytes, in rds_recv_rcvbuf_delta()
117 rs->rs_congested = 1; in rds_recv_rcvbuf_delta()
124 else if (rs->rs_congested && (rs->rs_rcv_bytes < (rds_sk_rcvbuf(rs)/2))) { in rds_recv_rcvbuf_delta()
125 rs->rs_congested = 0; in rds_recv_rcvbuf_delta()
364 if (!rs) { in rds_recv_incoming()
373 sk = rds_rs_to_sk(rs); in rds_recv_incoming()
395 if (rs) in rds_recv_incoming()
396 rds_sock_put(rs); in rds_recv_incoming()
[all …]
/openbmc/linux/fs/jffs2/
H A Dcompr_rubin.c92 rs->q = 0; in init_rubin()
109 ((rs->p + rs->q) <= UPPER_BIT_RUBIN)) { in encode()
129 rs->p = i0; in encode()
131 rs->p = i1; in encode()
159 rs->rec_q = rs->rec_q * 2 + (long) (pullbit(&rs->pp))) in init_decode()
182 rs->p = p; in __do_decode()
183 rs->q = q; in __do_decode()
202 unsigned long p = rs->p, q = rs->q; in decode()
223 rs->p = i0; in decode()
237 ret = encode(rs, rs->bit_divider-rs->bits[i], in out_byte()
[all …]
/openbmc/qemu/
H A Dreplication.c28 rs->ops = ops; in replication_new()
31 return rs; in replication_new()
36 if (rs) { in replication_remove()
51 if (rs->ops && rs->ops->start) { in replication_start_all()
52 rs->ops->start(rs, mode, &local_err); in replication_start_all()
67 if (rs->ops && rs->ops->checkpoint) { in replication_do_checkpoint_all()
68 rs->ops->checkpoint(rs, &local_err); in replication_do_checkpoint_all()
83 if (rs->ops && rs->ops->get_error) { in replication_get_error_all()
84 rs->ops->get_error(rs, &local_err); in replication_get_error_all()
99 if (rs->ops && rs->ops->stop) { in replication_stop_all()
[all …]
/openbmc/qemu/target/rx/
H A Dinsns.decode23 &jreg rs
24 &rr rd rs
26 &rrr rd rs rs2
88 # ABS rs, rd
93 # ADC rs, rd
104 # ADD rs, rd
116 # AND rs, rd
173 # BRA.l rs
193 # BSR.l rs
297 # JMP rs
[all …]
/openbmc/u-boot/drivers/spi/
H A Dmt7621_spi.c183 if (rs->tx_len > 4) in mt7621_spi_xfer()
202 rs->data[rs->tx_len / 4] |= in mt7621_spi_xfer()
209 if (rs->tx_len) { in mt7621_spi_xfer()
210 rs->data[0] = swab32(rs->data[0]); in mt7621_spi_xfer()
212 rs->data[0] >>= (4 - rs->tx_len) * 8; in mt7621_spi_xfer()
215 iowrite32(rs->data[i / 4], rs->base + in mt7621_spi_xfer()
222 if (rs->tx_len > 4) in mt7621_spi_xfer()
235 rs->tx_len = 0; in mt7621_spi_xfer()
236 memset(rs->data, 0, sizeof(rs->data)); in mt7621_spi_xfer()
271 if (!rs->base) in mt7621_spi_probe()
[all …]
/openbmc/linux/net/ipv4/
H A Dtcp_rate.c81 struct rate_sample *rs) in tcp_rate_skb_delivered() argument
91 if (!rs->prior_delivered || in tcp_rate_skb_delivered()
142 rs->delivered = -1; in tcp_rate_gen()
143 rs->interval_us = -1; in tcp_rate_gen()
146 rs->delivered = tp->delivered - rs->prior_delivered; in tcp_rate_gen()
148 rs->delivered_ce = tp->delivered_ce - rs->prior_delivered_ce; in tcp_rate_gen()
163 rs->snd_interval_us = snd_us; in tcp_rate_gen()
174 if (!rs->is_retrans) in tcp_rate_gen()
176 rs->interval_us, rs->delivered, in tcp_rate_gen()
179 rs->interval_us = -1; in tcp_rate_gen()
[all …]
/openbmc/linux/fs/xfs/scrub/
H A Dreap.c145 if (rs->force_roll) in xreap_dirty()
147 if (rs->deferred) in xreap_dirty()
149 if (rs->invalidated) in xreap_dirty()
166 if (rs->force_roll) in xreap_want_roll()
177 rs->total_deferred += rs->deferred; in xreap_reset()
178 rs->deferred = 0; in xreap_reset()
195 if (rs->force_roll) in xreap_want_defer_finish()
205 rs->deferred = 0; in xreap_defer_finish_reset()
414 rs->resv, true); in xreap_agextent_iter()
418 rs->deferred++; in xreap_agextent_iter()
[all …]
/openbmc/linux/fs/isofs/
H A Drock.c58 (rs->len)++; in setup_rock_ridge()
59 rs->chr = (unsigned char *)de + rs->len; in setup_rock_ridge()
60 rs->len = *((unsigned char *)de) - rs->len; in setup_rock_ridge()
62 rs->len = 0; in setup_rock_ridge()
74 memset(rs, 0, sizeof(*rs)); in init_rock_state()
99 rs->cont_extent, rs->cont_offset, rs->cont_size); in rock_continue()
107 rs->buffer = kmalloc(rs->cont_size, GFP_KERNEL); in rock_continue()
115 bh = sb_bread(rs->inode->i_sb, rs->cont_extent); in rock_continue()
117 memcpy(rs->buffer, bh->b_data + rs->cont_offset, in rock_continue()
120 rs->chr = rs->buffer; in rock_continue()
[all …]
/openbmc/linux/lib/crypto/
H A Ddes.c652 w = (a ^ c) | (b ^ d) | (rs[a] ^ c) | (b ^ rs[d]); in des_ekey()
663 w |= (a ^ c) | (b ^ d) | (rs[a] ^ c) | (b ^ rs[d]); in des_ekey()
726 pe[ 1 * 2] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in dkey()
727 pe[ 2 * 2] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in dkey()
728 pe[ 3 * 2] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in dkey()
729 pe[ 4 * 2] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in dkey()
730 pe[ 5 * 2] = DES_PC2(d, a, b, c); c = rs[c]; b = rs[b]; in dkey()
731 pe[ 6 * 2] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in dkey()
733 pe[ 8 * 2] = DES_PC2(c, d, a, b); b = rs[b]; a = rs[a]; in dkey()
734 pe[ 9 * 2] = DES_PC2(a, b, c, d); d = rs[d]; c = rs[c]; in dkey()
[all …]
/openbmc/linux/lib/
H A Dratelimit.c34 int burst = READ_ONCE(rs->burst); in ___ratelimit()
50 if (!rs->begin) in ___ratelimit()
51 rs->begin = jiffies; in ___ratelimit()
54 if (rs->missed) { in ___ratelimit()
58 func, rs->missed); in ___ratelimit()
59 rs->missed = 0; in ___ratelimit()
62 rs->begin = jiffies; in ___ratelimit()
63 rs->printed = 0; in ___ratelimit()
65 if (burst && burst > rs->printed) { in ___ratelimit()
66 rs->printed++; in ___ratelimit()
[all …]
/openbmc/qemu/target/mips/tcg/
H A Docteon.decode18 # BADDU rd, rs, rt
19 # DMUL rd, rs, rt
20 # EXTS rt, rs, p, lenm1
21 # EXTS32 rt, rs, p, lenm1
22 # CINS rt, rs, p, lenm1
24 # DPOP rd, rs
25 # POP rd, rs
26 # SEQ rd, rs, rt
27 # SEQI rt, rs, immediate
28 # SNE rd, rs, rt
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Duasm.h215 # define UASM_i_LW(buf, rs, rt, off) uasm_i_ld(buf, rs, rt, off) argument
216 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_ldx(buf, rs, rt, rd) argument
226 # define UASM_i_SW(buf, rs, rt, off) uasm_i_sd(buf, rs, rt, off) argument
230 # define UASM_i_LL(buf, rs, rt, off) uasm_i_ll(buf, rs, rt, off) argument
231 # define UASM_i_LW(buf, rs, rt, off) uasm_i_lw(buf, rs, rt, off) argument
232 # define UASM_i_LWX(buf, rs, rt, rd) uasm_i_lwx(buf, rs, rt, rd) argument
236 # define UASM_i_SC(buf, rs, rt, off) uasm_i_sc(buf, rs, rt, off) argument
246 #define uasm_i_beqz(buf, rs, off) uasm_i_beq(buf, rs, 0, off) argument
247 #define uasm_i_beqzl(buf, rs, off) uasm_i_beql(buf, rs, 0, off) argument
248 #define uasm_i_bnez(buf, rs, off) uasm_i_bne(buf, rs, 0, off) argument
[all …]
/openbmc/linux/fs/reiserfs/
H A Dobjectid.c13 (__le32 *)((rs) + 1))
53 __le32 *map = objectid_map(s, rs); in reiserfs_get_unused_objectid()
89 set_sb_oid_cursize(rs, sb_oid_cursize(rs) - 2); in reiserfs_get_unused_objectid()
102 __le32 *map = objectid_map(s, rs); in reiserfs_release_objectid()
119 while (i < sb_oid_cursize(rs)) { in reiserfs_release_objectid()
131 (sb_oid_cursize(rs) - i - in reiserfs_release_objectid()
133 set_sb_oid_cursize(rs, sb_oid_cursize(rs) - 2); in reiserfs_release_objectid()
136 sb_oid_cursize(rs) > sb_oid_maxsize(rs), in reiserfs_release_objectid()
138 sb_oid_cursize(rs), sb_oid_maxsize(rs)); in reiserfs_release_objectid()
159 if (sb_oid_cursize(rs) == sb_oid_maxsize(rs)) { in reiserfs_release_objectid()
[all …]
/openbmc/linux/include/linux/
H A Dratelimit.h9 static inline void ratelimit_state_init(struct ratelimit_state *rs, in ratelimit_state_init() argument
12 memset(rs, 0, sizeof(*rs)); in ratelimit_state_init()
14 raw_spin_lock_init(&rs->lock); in ratelimit_state_init()
15 rs->interval = interval; in ratelimit_state_init()
16 rs->burst = burst; in ratelimit_state_init()
21 return ratelimit_state_init(rs, DEFAULT_RATELIMIT_INTERVAL, in ratelimit_default_init()
27 if (!(rs->flags & RATELIMIT_MSG_ON_RELEASE)) in ratelimit_state_exit()
30 if (rs->missed) { in ratelimit_state_exit()
32 current->comm, rs->missed); in ratelimit_state_exit()
33 rs->missed = 0; in ratelimit_state_exit()
[all …]
/openbmc/u-boot/post/lib_powerpc/
H A Dcpu_asm.h119 ((rs) << 16))
124 ((rs) << 21) + \
128 ((rs) << 16) + \
132 ((rs) << 16) + \
182 #define ASM_ADDI(rd, rs, simm) ASM_11I(OP_ADDI, rd, rs, simm) argument
184 #define ASM_STW(rd, rs, simm) ASM_11I(OP_STW, rd, rs, simm) argument
185 #define ASM_LWZ(rd, rs, simm) ASM_11I(OP_LWZ, rd, rs, simm) argument
199 #define ASM_LMW(rd, rs, simm) ASM_11I(OP_LMW, rd, rs, simm) argument
200 #define ASM_STMW(rd, rs, simm) ASM_11I(OP_STMW, rd, rs, simm) argument
201 #define ASM_LSWI(rd, rs, simm) ASM_11IF(OP_LSWI, rd, rs, simm) argument
[all …]

12345678910>>...24