Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 209) sorted by relevance

123456789

/illumos-kvm-cmd/hw/
H A Dcdrom.c31 static void lba_to_msf(uint8_t *buf, int lba) in lba_to_msf()
41 int cdrom_read_toc(int nb_sectors, uint8_t *buf, int msf, int start_track) in cdrom_read_toc()
85 int cdrom_read_toc_raw(int nb_sectors, uint8_t *buf, int msf, int session_num) in cdrom_read_toc_raw()
H A Dsun4m.h13 uint8_t *buf, int len) in sparc_iommu_memory_read()
20 uint8_t *buf, int len) in sparc_iommu_memory_write()
H A Dsparc32_dma.c81 uint8_t *buf, int len, int do_bswap) in ledma_memory_read()
101 uint8_t *buf, int len, int do_bswap) in ledma_memory_write()
149 void espdma_memory_read(void *opaque, uint8_t *buf, int len) in espdma_memory_read()
158 void espdma_memory_write(void *opaque, uint8_t *buf, int len) in espdma_memory_write()
H A Dsmbios.c127 char buf[1024]; in smbios_build_type_0_fields() local
151 char buf[1024]; in smbios_build_type_1_fields() local
181 char buf[1024]; in smbios_entry_add() local
/illumos-kvm-cmd/block/
H A Draw.c13 uint8_t *buf, int nb_sectors) in raw_read()
19 const uint8_t *buf, int nb_sectors) in raw_write()
63 static int raw_probe(const uint8_t *buf, int buf_size, const char *filename) in raw_probe()
89 static int raw_ioctl(BlockDriverState *bs, unsigned long int req, void *buf) in raw_ioctl()
95 unsigned long int req, void *buf, in raw_aio_ioctl()
H A Dvpc.c132 static uint32_t vpc_checksum(uint8_t* buf, size_t size) in vpc_checksum()
144 static int vpc_probe(const uint8_t *buf, int buf_size, const char *filename) in vpc_probe()
157 uint8_t buf[HEADER_SIZE]; in vpc_open() local
371 uint8_t *buf, int nb_sectors) in vpc_read()
405 const uint8_t *buf, int nb_sectors) in vpc_write()
495 uint8_t buf[1024]; in vpc_create() local
/illumos-kvm-cmd/
H A Dqemu-io.c60 void *buf; in qemu_io_alloc() local
132 void *buf = NULL; in create_iovec() local
176 static int do_read(char *buf, int64_t offset, int count, int *total) in do_read()
187 static int do_write(char *buf, int64_t offset, int count, int *total) in do_write()
355 char *buf; in read_f() local
534 char *buf; in readv_f() local
659 char *buf; in write_f() local
790 char *buf; in writev_f() local
894 char **buf; in multiwrite_f() local
996 qemu_io_free(buf[i]); in multiwrite_f() local
[all …]
H A Dqemu-char.c162 void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len) in qemu_chr_read()
180 char buf[READ_BUF_LEN]; in qemu_chr_printf() local
488 int send_all(int fd, const void *buf, int len1) in send_all()
515 const uint8_t *buf = _buf; in send_all() local
564 uint8_t buf[READ_BUF_LEN]; in fd_chr_read() local
697 uint8_t buf[1]; in stdio_read() local
880 uint8_t buf[READ_BUF_LEN]; in pty_chr_read() local
1587 uint8_t buf[READ_BUF_LEN]; in win_chr_readfile() local
1793 uint8_t buf[READ_BUF_LEN]; member
2054 uint8_t buf[READ_BUF_LEN]; in tcp_chr_read() local
[all …]
H A Dnbd.c276 char buf[8 + 8 + 8 + 128]; in nbd_negotiate() local
305 char buf[256]; in nbd_receive_negotiate() local
534 uint8_t buf[4 + 4 + 8 + 8 + 4]; in nbd_send_request() local
555 uint8_t buf[4 + 4 + 8 + 8 + 4]; in nbd_receive_request() local
592 uint8_t buf[NBD_REPLY_SIZE]; in nbd_receive_reply() local
627 uint8_t buf[4 + 4 + 8]; in nbd_send_reply() local
H A Dnet.c54 static void hex_dump(FILE *f, const uint8_t *buf, int size) in hex_dump()
81 static int get_str_sep(char *buf, int buf_size, const char **pp, int sep) in get_str_sep()
144 char buf[512]; in parse_host_port() local
156 if (qemu_isdigit(buf[0])) { in parse_host_port() local
199 char buf[256]; in assign_name() local
458 const uint8_t *buf, in qemu_vlan_deliver_packet()
534 const uint8_t *buf, int size, in qemu_send_packet_async_with_flags()
558 const uint8_t *buf, int size, in qemu_send_packet_async()
565 void qemu_send_packet(VLANClientState *vc, const uint8_t *buf, int size) in qemu_send_packet()
570 ssize_t qemu_send_packet_raw(VLANClientState *vc, const uint8_t *buf, int size) in qemu_send_packet_raw()
H A Dnet-checksum.c24 uint32_t net_checksum_add(int len, uint8_t *buf) in net_checksum_add()
46 uint8_t *addrs, uint8_t *buf) in net_checksum_tcpudp()
H A Dgdbstub.c405 static void memtohex(char *buf, const uint8_t *mem, int len) in memtohex()
418 static void hextomem(uint8_t *mem, const char *buf, int len) in hextomem()
464 static int put_packet(GDBState *s, const char *buf) in put_packet()
1486 static int memtox(char *buf, const char *mem, int len) in memtox()
1772 char buf[MAX_PACKET_LENGTH]; in gdb_handle_packet() local
2194 char buf[256]; in gdb_vm_state_change() local
2244 char buf[256]; in gdb_do_syscall() local
2381 char buf[4]; in gdb_exit() local
2421 char buf[256]; in gdb_handlesig() local
2470 char buf[4]; in gdb_signalled() local
[all …]
H A Diov.c18 const void *buf, size_t size) in iov_from_buf()
36 void *buf, size_t offset, size_t size) in iov_to_buf()
H A Dspice-qemu-char.c30 static int vmc_write(SpiceCharDeviceInstance *sin, const uint8_t *buf, int len) in vmc_write()
54 static int vmc_read(SpiceCharDeviceInstance *sin, uint8_t *buf, int len) in vmc_read()
107 static int spice_chr_write(CharDriverState *chr, const uint8_t *buf, int len) in spice_chr_write()
H A Dblock.c346 uint8_t buf[2048]; in find_image_format() local
773 uint8_t *buf; in bdrv_commit() local
931 uint8_t *buf, int nb_sectors) in bdrv_read()
978 const uint8_t *buf, int nb_sectors) in bdrv_write()
1000 void *buf, int count1) in bdrv_pread()
1045 const void *buf, int count1) in bdrv_pwrite()
1100 const void *buf, int count) in bdrv_pwrite_sync()
1124 const uint8_t *buf, int nb_sectors) in bdrv_write_sync()
1203 uint8_t buf[BDRV_SECTOR_SIZE]; in guess_disk_lchs() local
2733 unsigned long int req, void *buf, in bdrv_aio_ioctl()
[all …]
H A Dcutils.c28 void pstrcpy(char *buf, int buf_size, const char *str) in pstrcpy()
46 char *pstrcat(char *buf, int buf_size, const char *s) in pstrcat()
231 void qemu_iovec_to_buffer(QEMUIOVector *qiov, void *buf) in qemu_iovec_to_buffer()
247 void qemu_iovec_from_buffer(QEMUIOVector *qiov, const void *buf, size_t count) in qemu_iovec_from_buffer()
H A Dcpu-common.h71 uint8_t *buf, int len) in cpu_physical_memory_read()
76 const uint8_t *buf, int len) in cpu_physical_memory_write()
H A Dqemu-option.c46 const char *get_opt_name(char *buf, int buf_size, const char *p, char delim) in get_opt_name()
70 const char *get_opt_value(char *buf, int buf_size, const char *p) in get_opt_value()
91 int get_next_param_value(char *buf, int buf_size, in get_next_param_value()
119 int get_param_value(char *buf, int buf_size, in get_param_value()
125 int check_params(char *buf, int buf_size, in check_params()
852 char buf[32]; in qemu_opts_from_qdict_1() local
/illumos-kvm-cmd/net/
H A Dvnic-dhcp.c158 hex_dump(FILE *f, const uint8_t *buf, int size) in hex_dump()
384 join_iov(uint8_t *buf, const struct iovec *iov, int iovcnt, size_t len, in join_iov()
417 copy_iov(uint8_t *buf, const struct iovec *iov, int iovcnt, size_t len, in copy_iov()
659 uint8_t buf[65536], *bufp; in create_arp_responsev() local
702 uint8_t buf[65536], *bufp; in create_dhcp_responsev() local
756 uint8_t buf[1024], *bufp; in get_ethertypev() local
804 uint8_t buf[1024], *bufp; in is_arp_requestv() local
852 uint8_t buf[1024], *bufp; in is_dhcp_requestv() local
H A Dslirp.c37 static int get_str_sep(char *buf, int buf_size, const char **pp, int sep) in get_str_sep()
113 static ssize_t net_slirp_receive(VLANClientState *nc, const uint8_t *buf, size_t size) in net_slirp_receive()
157 char buf[20]; in net_slirp_init() local
308 char buf[256] = ""; in net_slirp_hostfwd_remove() local
369 char buf[256]; in slirp_hostfwd() local
574 static void guestfwd_read(void *opaque, const uint8_t *buf, int size) in guestfwd_read()
586 char buf[128]; in slirp_guestfwd() local
H A Dchecksum.c23 uint32_t net_checksum_add(int len, uint8_t *buf) in net_checksum_add()
45 uint8_t *addrs, uint8_t *buf) in net_checksum_tcpudp()
H A Dtap.c57 uint8_t buf[TAP_BUFSIZE]; member
137 static ssize_t tap_receive_raw(VLANClientState *nc, const uint8_t *buf, size_t size) in tap_receive_raw()
157 static ssize_t tap_receive(VLANClientState *nc, const uint8_t *buf, size_t size) in tap_receive()
180 ssize_t tap_read_packet(int tapfd, uint8_t *buf, int maxlen) in tap_read_packet()
198 uint8_t *buf = s->buf; in tap_send() local
/illumos-kvm-cmd/tests/
H A Dtestthread.c14 char buf[512]; in thread1_func() local
27 char buf[512]; in thread2_func() local
H A Dlinux-test.c77 uint8_t buf[FILE_BUF_SIZE]; in test_file() local
252 void pstrcpy(char *buf, int buf_size, const char *str) in pstrcpy()
270 char *pstrcat(char *buf, int buf_size, const char *s) in pstrcat()
320 char buf[512]; in test_socket() local
/illumos-kvm-cmd/hw/ide/
H A Dcore.c77 static void padstr8(uint8_t *buf, int buf_size, const char *src) in padstr8()
325 static void ide_transfer_start(IDEState *s, uint8_t *buf, int size, in ide_transfer_start()
669 static inline void cpu_to_ube16(uint8_t *buf, int val) in cpu_to_ube16()
675 static inline void cpu_to_ube32(uint8_t *buf, unsigned int val) in cpu_to_ube32()
683 static inline int ube16_to_cpu(const uint8_t *buf) in ube16_to_cpu()
688 static inline int ube32_to_cpu(const uint8_t *buf) in ube32_to_cpu()
693 static void lba_to_msf(uint8_t *buf, int lba) in lba_to_msf()
701 static void cd_data_to_raw(uint8_t *buf, int lba) in cd_data_to_raw()
718 static int cd_read_sector(BlockDriverState *bs, int lba, uint8_t *buf, in cd_read_sector()
988 const uint8_t *packet, uint8_t *buf) in ide_dvd_read_structure()
[all …]

Completed in 47 milliseconds

123456789