Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 140) sorted by relevance

123456

/qemu/util/
H A Dbuffer.c34 static size_t buffer_req_size(Buffer *buffer, size_t len) in buffer_req_size()
40 static void buffer_adj_size(Buffer *buffer, size_t len) in buffer_adj_size()
54 void buffer_init(Buffer *buffer, const char *name, ...) in buffer_init()
63 static uint64_t buffer_get_avg_size(Buffer *buffer) in buffer_get_avg_size()
68 void buffer_shrink(Buffer *buffer) in buffer_shrink()
91 void buffer_reserve(Buffer *buffer, size_t len) in buffer_reserve()
98 gboolean buffer_empty(Buffer *buffer) in buffer_empty()
103 uint8_t *buffer_end(Buffer *buffer) in buffer_end()
108 void buffer_reset(Buffer *buffer) in buffer_reset()
114 void buffer_free(Buffer *buffer) in buffer_free()
[all …]
H A Dcrc-ccitt.c105 uint16_t crc_ccitt(uint16_t crc, uint8_t const *buffer, size_t len) in crc_ccitt()
121 uint16_t crc_ccitt_false(uint16_t crc, uint8_t const *buffer, size_t len) in crc_ccitt_false()
H A Dcompatfd.c44 struct qemu_signalfd_siginfo buffer; in sigwait_compat() local
/qemu/hw/char/
H A Dxen_console.c40 struct buffer { struct
52 struct buffer buffer; argument
66 struct buffer *buffer = &con->buffer; in OBJECT_DECLARE_SIMPLE_TYPE() local
108 static void buffer_advance(struct buffer *buffer, size_t len) in buffer_advance()
/qemu/tests/unit/
H A Dtest-xbzrle.c43 uint8_t *buffer = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_zero() local
91 uint8_t *buffer = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_1_byte() local
116 uint8_t *buffer = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_overflow() local
135 uint8_t *buffer = g_malloc0(XBZRLE_PAGE_SIZE); in encode_decode_range() local
H A Dtest-bufferiszero.c24 static char buffer[8 * 1024 * 1024]; variable
H A Dcrypto-tls-x509-helpers.c208 static char buffer[1024 * 1024]; in test_tls_generate_cert() local
479 char *buffer = g_new0(char, capacity); in test_tls_write_cert_chain() local
/qemu/block/
H A Ddmg.c76 uint64_t buffer; in read_uint64() local
91 uint32_t buffer; in read_uint32() local
103 static inline uint64_t buff_read_uint64(const uint8_t *buffer, int64_t offset) in buff_read_uint64()
108 static inline uint32_t buff_read_uint32(const uint8_t *buffer, int64_t offset) in buff_read_uint32()
154 uint8_t buffer[515]; in dmg_find_koly_offset() local
218 uint8_t *buffer, uint32_t count) in dmg_read_mish_block()
333 uint8_t *buffer = NULL; in dmg_read_resource_fork() local
400 uint8_t *buffer = NULL; in dmg_read_plist_xml() local
H A Dvhdx-log.c133 uint32_t *sectors_read, void *buffer, in vhdx_log_read_sectors()
176 uint32_t *sectors_written, void *buffer, in vhdx_log_write_sectors()
340 VHDXLogDescEntries **buffer, bool convert_endian) in vhdx_log_read_desc()
424 void *buffer = NULL; in vhdx_log_flush_desc() local
597 void *buffer = NULL; in vhdx_validate_log_entry() local
865 void *buffer = NULL; in vhdx_log_write() local
/qemu/hw/audio/
H A Dvirtio-snd.c109 virtio_snd_pcm_buffer_free(VirtIOSoundPCMBuffer *buffer) in virtio_snd_pcm_buffer_free()
583 VirtIOSoundPCMBuffer *buffer, *next; in virtio_snd_pcm_get_io_msgs_count() local
812 VirtIOSoundPCMBuffer *buffer = NULL; in empty_invalid_queue() local
849 VirtIOSoundPCMBuffer *buffer; in virtio_snd_handle_tx_xfer() local
930 VirtIOSoundPCMBuffer *buffer; in virtio_snd_handle_rx_xfer() local
1116 VirtIOSoundPCMBuffer *buffer) in return_tx_buffer()
1146 VirtIOSoundPCMBuffer *buffer; in virtio_snd_pcm_out_cb() local
1203 VirtIOSoundPCMBuffer *buffer) in return_rx_buffer()
1240 VirtIOSoundPCMBuffer *buffer; in virtio_snd_pcm_in_cb() local
1294 VirtIOSoundPCMBuffer *buffer; in virtio_snd_pcm_flush() local
/qemu/backends/
H A Dspdm-socket.c17 static bool read_bytes(const int socket, uint8_t *buffer, in read_bytes()
46 static bool read_multiple_bytes(const int socket, uint8_t *buffer, in read_multiple_bytes()
105 static bool write_bytes(const int socket, const uint8_t *buffer, in write_bytes()
128 static bool write_multiple_bytes(const int socket, const uint8_t *buffer, in write_multiple_bytes()
/qemu/net/
H A Dtap-win32.c95 unsigned char buffer [TUN_BUFFER_SIZE]; member
121 tun_buffer_t* buffer = NULL; in get_buffer_from_free_list() local
132 … void put_buffer_on_free_list(tap_win32_overlapped_t* const overlapped, tun_buffer_t* const buffer) in put_buffer_on_free_list()
143 tun_buffer_t* buffer = NULL; in get_buffer_from_output_queue() local
179 …id put_buffer_on_output_queue(tap_win32_overlapped_t* const overlapped, tun_buffer_t* const buffer) in put_buffer_on_output_queue()
460 const void *buffer, unsigned long size) in tap_win32_write()
518 tun_buffer_t* buffer = get_buffer_from_free_list(overlapped); in tap_win32_thread_entry() local
572 tun_buffer_t* buffer = get_buffer_from_output_queue_immediate(overlapped); in tap_win32_read() local
588 tun_buffer_t* buffer = (tun_buffer_t*)pbuf; in tap_win32_free_buffer() local
/qemu/contrib/vhost-user-gpu/
H A Dvugbm.c266 vugbm_buffer_can_get_dmabuf_fd(struct vugbm_buffer *buffer) in vugbm_buffer_can_get_dmabuf_fd()
276 vugbm_buffer_get_dmabuf_fd(struct vugbm_buffer *buffer, int *fd) in vugbm_buffer_get_dmabuf_fd()
293 vugbm_buffer_create(struct vugbm_buffer *buffer, struct vugbm_device *dev, in vugbm_buffer_create()
319 vugbm_buffer_destroy(struct vugbm_buffer *buffer) in vugbm_buffer_destroy()
/qemu/tests/qtest/
H A Dvirtio-iommu-test.c43 static int read_tail_status(struct virtio_iommu_req_tail *buffer) in read_tail_status()
69 struct virtio_iommu_req_tail buffer; in send_attach_detach() local
111 struct virtio_iommu_req_tail buffer; in send_map() local
153 struct virtio_iommu_req_tail buffer; in send_unmap() local
H A Dvirtio-net-test.c39 char buffer[64]; in rx_test() local
76 char buffer[64]; in tx_test() local
106 char buffer[64]; in rx_stop_cont_test() local
191 char buffer[60]; in announce_self() local
H A Dtpm-util.c56 unsigned char buffer[1024]; in tpm_util_startup() local
70 unsigned char buffer[1024]; in tpm_util_pcrextend() local
91 unsigned char buffer[1024]; in tpm_util_pcrread() local
H A Digb-test.c51 char buffer[64]; in igb_send_verify() local
104 char buffer[64]; in igb_receive_verify() local
H A De1000e-test.c47 char buffer[64]; in e1000e_send_verify() local
101 char buffer[64]; in e1000e_receive_verify() local
/qemu/crypto/
H A Dsecret_keyring.c31 long keyctl_read(int32_t key, uint8_t *buffer, size_t buflen) in keyctl_read()
44 uint8_t *buffer = NULL; in qcrypto_secret_keyring_load_data() local
/qemu/audio/
H A Djackaudio.c96 static void qjack_buffer_create(QJackBuffer *buffer, int channels, int frames) in qjack_buffer_create()
109 static void qjack_buffer_clear(QJackBuffer *buffer) in qjack_buffer_clear()
117 static void qjack_buffer_free(QJackBuffer *buffer) in qjack_buffer_free()
132 static int qjack_buffer_write(QJackBuffer *buffer, float *data, int size) in qjack_buffer_write()
166 static int qjack_buffer_write_l(QJackBuffer *buffer, float **dest, int frames) in qjack_buffer_write_l()
198 static int qjack_buffer_read(QJackBuffer *buffer, float *dest, int size) in qjack_buffer_read()
232 static int qjack_buffer_read_l(QJackBuffer *buffer, float **dest, int frames) in qjack_buffer_read_l()
/qemu/hw/scsi/
H A Dviosrp.h141 uint64_t buffer; member
147 uint64_t buffer; member
152 uint64_t buffer; member
157 uint64_t buffer; member
166 uint64_t buffer; member
/qemu/include/qemu/
H A Dbuffer.h40 uint8_t *buffer; member
/qemu/hw/xen/
H A Dxen-mapcache.c544 uint8_t *buffer) in xen_invalidate_map_cache_entry_unlocked()
627 uint8_t *buffer; member
630 static void xen_invalidate_map_cache_entry_single(MapCache *mc, uint8_t *buffer) in xen_invalidate_map_cache_entry_single()
637 static void xen_invalidate_map_cache_entry_all(uint8_t *buffer) in xen_invalidate_map_cache_entry_all()
652 void coroutine_mixed_fn xen_invalidate_map_cache_entry(uint8_t *buffer) in xen_invalidate_map_cache_entry()
/qemu/include/chardev/
H A Dchar-parallel.h41 void *buffer; member
/qemu/hw/nvram/
H A Dspapr_nvram.c64 hwaddr offset, buffer, len; in OBJECT_DECLARE_SIMPLE_TYPE() local
105 hwaddr offset, buffer, len; in rtas_nvram_store() local

123456