Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 15 of 15) sorted by relevance

/openbmc/qemu/hw/ipmi/
H A Dipmi_bmc_extern.c74 unsigned char inbuf[MAX_IPMI_MSG_SIZE + 2]; member
157 ibe->inbuf[1] = ibe->outbuf[1] | 0x04; in extern_timeout()
158 ibe->inbuf[2] = ibe->outbuf[2]; in extern_timeout()
159 ibe->inbuf[3] = IPMI_CC_TIMEOUT; in extern_timeout()
160 k->handle_rsp(s, ibe->outbuf[0], ibe->inbuf + 1, 3); in extern_timeout()
294 ibe->inbuf[3] = IPMI_CC_REQUEST_DATA_TRUNCATED; in handle_msg()
296 } else if (ipmb_checksum(ibe->inbuf, ibe->inpos, 0) != 0) { in handle_msg()
305 k->handle_rsp(ibe->parent.intf, ibe->inbuf[0], ibe->inbuf + 1, ibe->inpos - 1); in handle_msg()
347 hw_op = ibe->inbuf[0]; in receive()
364 if (ibe->inpos >= sizeof(ibe->inbuf)) { in receive()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A D0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch23 - iconv() may or may not use const char ** for the inbuf param.
34 const char **inbuf, size_t *inbytesleft,
39 - retCode = iconv(cd, (char **)inbuf, inbytesleft, outbuf, outbytesleft);
41 - retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft);
46 + const size_t retCode = iconv((iconv_t)((uintptr_t)cd), (void *)inbuf, inbytesleft, outbuf, outbyt…
/openbmc/obmc-console/test/
H A Dtest-client-escape.c175 const char *inbuf; in __read() local
187 inbuf = ctx->test->in[ctx->cur_in]; in __read()
188 inlen = strlen(inbuf); in __read()
190 memcpy(buf, inbuf, inlen); in __read()
/openbmc/u-boot/scripts/dtc/
H A Dflattree.c580 struct inbuf { struct
584 static void inbuf_init(struct inbuf *inb, void *base, void *limit) in inbuf_init() argument
591 static void flat_read_chunk(struct inbuf *inb, void *p, int len) in flat_read_chunk()
601 static uint32_t flat_read_word(struct inbuf *inb) in flat_read_word()
612 static void flat_realign(struct inbuf *inb, int align) in flat_realign()
621 static char *flat_read_string(struct inbuf *inb) in flat_read_string()
642 static struct data flat_read_data(struct inbuf *inb, int len) in flat_read_data()
659 static char *flat_read_stringtable(struct inbuf *inb, int offset) in flat_read_stringtable()
678 static struct property *flat_read_property(struct inbuf *dtbuf, in flat_read_property()
679 struct inbuf *strbuf, int flags) in flat_read_property()
[all …]
/openbmc/u-boot/arch/x86/lib/
H A Dscu.c148 u32 inbuf[4] = {0}; in scu_ipc_raw_command() local
150 memcpy(inbuf, in, inlen); in scu_ipc_raw_command()
152 return scu_ipc_cmd(scu->regs, cmd, sub, inbuf, inlen, out, outlen); in scu_ipc_raw_command()
/openbmc/qemu/system/
H A Dqtest.c56 static GString *inbuf; variable
760 static void qtest_process_inbuf(CharBackend *chr, GString *inbuf) in qtest_process_inbuf() argument
764 while ((end = strchr(inbuf->str, '\n')) != NULL) { in qtest_process_inbuf()
765 size_t len = end - inbuf->str; in qtest_process_inbuf()
766 g_autofree char *cmd = g_strndup(inbuf->str, len); in qtest_process_inbuf()
769 g_string_erase(inbuf, 0, len + 1); in qtest_process_inbuf()
778 g_string_append_len(inbuf, (const gchar *)buf, size); in qtest_read()
779 qtest_process_inbuf(chr, inbuf); in qtest_read()
869 inbuf = g_string_new(""); in qtest_server_start()
/openbmc/qemu/tests/qtest/
H A Dipmi-bt-test.c120 static uint8_t inbuf[100]; variable
140 rv = read(emu_fd, inbuf, sizeof(inbuf)); in read_emu_data()
173 uint8_t ch = inbuf[inbuf_pos++]; in get_emu_msg()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/daemontools/daemontools/
H A D0001-Fix-signature-of-main-function.patch44 @@ -27,7 +27,7 @@ buffer in = BUFFER_INIT(myread,0,inbuf,sizeof inbuf);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/wvdial/wvstreams/
H A D0001-Forward-port-to-OpenSSL-1.1.x.patch147 bool WvDiffieHellman::create_secret(WvBuf &inbuf, size_t in_len, WvBuf& outbuf)
154 hexdump_buffer(inbuf.peek(0, in_len), in_len, false));
155 int len = DH_compute_key (foo, BN_bin2bn(inbuf.get(in_len), in_len, NULL),
477 bool create_secret(WvBuf &inbuf, size_t in_len, WvBuf& outbuf);
518 virtual bool _encode(WvBuf &inbuf, WvBuf &outbuf,
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A DCVE-2021-4217.patch34 (G.inptr-G.inbuf) + length);
H A DCVE-2019-13232_p2.patch227 + G.cur_zipfile_bufstart + (G.inptr - G.inbuf));
/openbmc/qemu/hw/scsi/
H A Dscsi-disk.c1523 uint8_t *inbuf, int inlen) in scsi_disk_check_mode_select() argument
1559 if (((mode_current[i] ^ inbuf[i - 2]) & ~mode_changeable[i]) != 0) { in scsi_disk_check_mode_select()
1637 static void scsi_disk_emulate_mode_select(SCSIDiskReq *r, uint8_t *inbuf) in scsi_disk_emulate_mode_select() argument
1640 uint8_t *p = inbuf; in scsi_disk_emulate_mode_select()
1739 uint8_t *inbuf; member
1753 uint64_t sector_num = ldq_be_p(&data->inbuf[0]); in scsi_unmap_complete_noio()
1754 uint32_t nb_sectors = ldl_be_p(&data->inbuf[8]) & 0xffffffffULL; in scsi_unmap_complete_noio()
1774 data->inbuf += 16; in scsi_unmap_complete_noio()
1803 static void scsi_disk_emulate_unmap(SCSIDiskReq *r, uint8_t *inbuf) in scsi_disk_emulate_unmap() argument
1806 uint8_t *p = inbuf; in scsi_disk_emulate_unmap()
[all …]
/openbmc/qemu/hw/usb/
H A Ddev-network.c664 uint8_t *inbuf, unsigned int inlen, uint8_t *outbuf, in ndis_query() argument
825 uint8_t *inbuf, unsigned int inlen) in ndis_set() argument
829 s->filter = ldl_le_p(inbuf); in ndis_set()
/openbmc/u-boot/drivers/misc/
H A Dcros_ec.c1218 uint8_t inbuf[EC_PROTO2_MAX_PARAM_SIZE]; in cros_ec_i2c_tunnel() member
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/krb5/krb5/
H A D0001-Eliminate-old-style-function-declarations.patch2923 -rd_and_store_for_creds(context, auth_context, inbuf, out_cred)
2926 - krb5_data *inbuf;
2929 + krb5_data *inbuf, krb5_gss_cred_id_t *out_cred)