Home
last modified time | relevance | path

Searched refs:ssize_t (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/qemu/include/hw/
A Dloader.h43 ssize_t load_image_targphys_as(const char *filename,
63 ssize_t load_image_targphys(const char *filename, hwaddr,
111 const char *load_elf_strerror(ssize_t error);
149 ssize_t load_elf_ram_sym(const char *filename,
162 ssize_t load_elf_ram(const char *filename,
173 ssize_t load_elf_as(const char *filename,
185 ssize_t load_elf(const char *filename,
226 ssize_t load_uimage_as(const char *filename, hwaddr *ep,
235 ssize_t load_uimage(const char *filename, hwaddr *ep,
265 ssize_t read_targphys(const char *name,
[all …]
/qemu/hw/9pfs/
A D9p-xattr.h21 ssize_t (*getxattr)(FsContext *ctx, const char *path,
23 ssize_t (*listxattr)(FsContext *ctx, const char *path,
31 ssize_t local_getxattr_nofollow(FsContext *ctx, const char *path,
33 ssize_t local_setxattr_nofollow(FsContext *ctx, const char *path,
36 ssize_t local_removexattr_nofollow(FsContext *ctx, const char *path,
51 ssize_t v9fs_get_xattr(FsContext *ctx, const char *path, const char *name,
53 ssize_t v9fs_list_xattr(FsContext *ctx, const char *path, void *value,
59 ssize_t pt_listxattr(FsContext *ctx, const char *path, char *name, void *value,
61 ssize_t pt_getxattr(FsContext *ctx, const char *path, const char *name,
67 ssize_t notsup_getxattr(FsContext *ctx, const char *path, const char *name,
[all …]
A D9p-xattr.c39 ssize_t v9fs_get_xattr(FsContext *ctx, const char *path, in v9fs_get_xattr()
50 ssize_t pt_listxattr(FsContext *ctx, const char *path, in pt_listxattr()
72 ssize_t v9fs_list_xattr(FsContext *ctx, const char *path, in v9fs_list_xattr()
75 ssize_t size = 0; in v9fs_list_xattr()
79 ssize_t xattr_len, parsed_len = 0, attr_len; in v9fs_list_xattr()
166 ssize_t local_getxattr_nofollow(FsContext *ctx, const char *path, in local_getxattr_nofollow()
172 ssize_t ret = -1; in local_getxattr_nofollow()
193 ssize_t local_setxattr_nofollow(FsContext *ctx, const char *path, in local_setxattr_nofollow()
200 ssize_t ret = -1; in local_setxattr_nofollow()
221 ssize_t local_removexattr_nofollow(FsContext *ctx, const char *path, in local_removexattr_nofollow()
[all …]
A D9p-posix-acl.c30 static ssize_t mp_pacl_getxattr(FsContext *ctx, const char *path, in mp_pacl_getxattr()
36 static ssize_t mp_pacl_listxattr(FsContext *ctx, const char *path, in mp_pacl_listxattr()
39 ssize_t len = sizeof(ACL_ACCESS); in mp_pacl_listxattr()
84 static ssize_t mp_dacl_getxattr(FsContext *ctx, const char *path, in mp_dacl_getxattr()
90 static ssize_t mp_dacl_listxattr(FsContext *ctx, const char *path, in mp_dacl_listxattr()
93 ssize_t len = sizeof(ACL_DEFAULT); in mp_dacl_listxattr()
A D9p-util-linux.c22 ssize_t fgetxattrat_nofollow(int dirfd, const char *filename, const char *name, in fgetxattrat_nofollow()
33 ssize_t flistxattrat_nofollow(int dirfd, const char *filename, in flistxattrat_nofollow()
44 ssize_t fremovexattrat_nofollow(int dirfd, const char *filename, in fremovexattrat_nofollow()
/qemu/include/io/
A Dchannel.h111 ssize_t (*io_writev)(QIOChannel *ioc,
118 ssize_t (*io_readv)(QIOChannel *ioc,
134 ssize_t (*io_pwritev)(QIOChannel *ioc,
139 ssize_t (*io_preadv)(QIOChannel *ioc,
244 ssize_t qio_channel_readv_full(QIOChannel *ioc,
288 ssize_t qio_channel_writev_full(QIOChannel *ioc,
388 ssize_t qio_channel_readv(QIOChannel *ioc,
403 ssize_t qio_channel_writev(QIOChannel *ioc,
419 ssize_t qio_channel_read(QIOChannel *ioc,
435 ssize_t qio_channel_write(QIOChannel *ioc,
[all …]
/qemu/fsdev/
A D9p-iov-marshal.h7 ssize_t v9fs_pack(struct iovec *in_sg, int in_num, size_t offset,
9 ssize_t v9fs_iov_unmarshal(struct iovec *out_sg, int out_num, size_t offset,
11 ssize_t v9fs_iov_marshal(struct iovec *in_sg, int in_num, size_t offset,
14 ssize_t v9fs_iov_vunmarshal(struct iovec *out_sg, int out_num, size_t offset,
16 ssize_t v9fs_iov_vmarshal(struct iovec *in_sg, int in_num, size_t offset,
A D9p-iov-marshal.c21 static ssize_t v9fs_packunpack(void *addr, struct iovec *sg, int sg_count, in v9fs_packunpack()
60 static ssize_t v9fs_unpack(void *dst, struct iovec *out_sg, int out_num, in v9fs_unpack()
66 ssize_t v9fs_pack(struct iovec *in_sg, int in_num, size_t offset, in v9fs_pack()
72 ssize_t v9fs_iov_vunmarshal(struct iovec *out_sg, int out_num, size_t offset, in v9fs_iov_vunmarshal()
76 ssize_t copied = 0; in v9fs_iov_vunmarshal()
191 ssize_t v9fs_iov_unmarshal(struct iovec *out_sg, int out_num, size_t offset, in v9fs_iov_unmarshal()
194 ssize_t ret; in v9fs_iov_unmarshal()
204 ssize_t v9fs_iov_vmarshal(struct iovec *in_sg, int in_num, size_t offset, in v9fs_iov_vmarshal()
208 ssize_t copied = 0; in v9fs_iov_vmarshal()
304 ssize_t v9fs_iov_marshal(struct iovec *in_sg, int in_num, size_t offset, in v9fs_iov_marshal()
[all …]
A Dfile-op-9p.h127 ssize_t (*readlink)(FsContext *, V9fsPath *, char *, size_t);
147 ssize_t (*preadv)(FsContext *, V9fsFidOpenState *,
149 ssize_t (*pwritev)(FsContext *, V9fsFidOpenState *,
157 ssize_t (*lgetxattr)(FsContext *, V9fsPath *,
159 ssize_t (*llistxattr)(FsContext *, V9fsPath *, void *, size_t);
/qemu/block/
A Dqcow2-threads.c69 typedef ssize_t (*Qcow2CompressFunc)(void *dest, size_t dest_size,
76 ssize_t ret;
93 static ssize_t qcow2_zlib_compress(void *dest, size_t dest_size, in qcow2_zlib_compress()
96 ssize_t ret; in qcow2_zlib_compress()
140 static ssize_t qcow2_zlib_decompress(void *dest, size_t dest_size, in qcow2_zlib_decompress()
188 static ssize_t qcow2_zstd_compress(void *dest, size_t dest_size, in qcow2_zstd_compress()
191 ssize_t ret; in qcow2_zstd_compress()
260 ssize_t ret = 0; in qcow2_zstd_decompress()
338 static ssize_t coroutine_fn
367 ssize_t coroutine_fn
[all …]
/qemu/include/net/
A Dqueue.h31 typedef void (NetPacketSent) (NetClientState *sender, ssize_t ret);
41 typedef ssize_t (NetQueueDeliverFunc)(NetClientState *sender,
58 ssize_t qemu_net_queue_receive(NetQueue *queue,
62 ssize_t qemu_net_queue_send(NetQueue *queue,
69 ssize_t qemu_net_queue_send_iov(NetQueue *queue,
A Dnet.h50 typedef ssize_t (NetReceive)(NetClientState *, const uint8_t *, size_t);
51 typedef ssize_t (NetReceiveIOV)(NetClientState *, const struct iovec *, int);
169 ssize_t qemu_sendv_packet(NetClientState *nc, const struct iovec *iov,
171 ssize_t qemu_sendv_packet_async(NetClientState *nc, const struct iovec *iov,
173 ssize_t qemu_send_packet(NetClientState *nc, const uint8_t *buf, int size);
174 ssize_t qemu_receive_packet(NetClientState *nc, const uint8_t *buf, int size);
175 ssize_t qemu_send_packet_raw(NetClientState *nc, const uint8_t *buf, int size);
176 ssize_t qemu_send_packet_async(NetClientState *nc, const uint8_t *buf,
A Dfilter.h27 typedef ssize_t (FilterReceiveIOV)(NetFilterState *nc,
65 ssize_t qemu_netfilter_receive(NetFilterState *nf,
74 ssize_t qemu_netfilter_pass_to_next(NetClientState *sender,
/qemu/linux-user/
A Duaccess.c8 void *lock_user(int type, abi_ulong guest_addr, ssize_t len, bool copy) in lock_user()
28 void unlock_user(void *host_ptr, abi_ulong guest_addr, ssize_t len) in unlock_user()
48 ssize_t len = target_strlen(guest_addr); in lock_user_string()
59 int copy_from_user(void *hptr, abi_ulong gaddr, ssize_t len) in copy_from_user()
73 int copy_to_user(abi_ulong gaddr, void *hptr, ssize_t len) in copy_to_user()
90 ssize_t target_strlen(abi_ulong guest_addr1) in target_strlen()
A Dqemu.h170 ssize_t do_guest_readlink(const char *pathname, char *buf, size_t bufsiz);
316 int copy_from_user(void *hptr, abi_ulong gaddr, ssize_t len);
317 int copy_to_user(abi_ulong gaddr, void *hptr, ssize_t len);
336 void *lock_user(int type, abi_ulong guest_addr, ssize_t len, bool copy);
343 ssize_t len) in unlock_user()
348 void unlock_user(void *host_ptr, abi_ulong guest_addr, ssize_t len);
353 ssize_t target_strlen(abi_ulong gaddr);
/qemu/net/
A Dqueue.c151 static ssize_t qemu_net_queue_deliver(NetQueue *queue, in qemu_net_queue_deliver()
157 ssize_t ret = -1; in qemu_net_queue_deliver()
170 static ssize_t qemu_net_queue_deliver_iov(NetQueue *queue, in qemu_net_queue_deliver_iov()
176 ssize_t ret = -1; in qemu_net_queue_deliver_iov()
185 ssize_t qemu_net_queue_receive(NetQueue *queue, in qemu_net_queue_receive()
196 ssize_t qemu_net_queue_send(NetQueue *queue, in qemu_net_queue_send()
203 ssize_t ret; in qemu_net_queue_send()
221 ssize_t qemu_net_queue_send_iov(NetQueue *queue, in qemu_net_queue_send_iov()
228 ssize_t ret; in qemu_net_queue_send_iov()
/qemu/util/
A Dosdep.c435 ssize_t ret = 0; in qemu_write_full()
436 ssize_t total = 0; in qemu_write_full()
496 ssize_t qemu_send_full(int s, const void *buf, size_t count) in qemu_send_full()
498 ssize_t ret = 0; in qemu_send_full()
499 ssize_t total = 0; in qemu_send_full()
554 static ssize_t
558 ssize_t ret = 0; in readv_writev()
559 ssize_t off = 0; in readv_writev()
561 ssize_t r = do_write in readv_writev()
588 ssize_t
[all …]
A Dqemu-coroutine-io.c31 ssize_t coroutine_fn
36 ssize_t ret; in qemu_co_sendv_recvv()
61 ssize_t coroutine_fn
/qemu/io/
A Dchannel-file.c107 static ssize_t qio_channel_file_readv(QIOChannel *ioc, in qio_channel_file_readv()
116 ssize_t ret; in qio_channel_file_readv()
136 static ssize_t qio_channel_file_writev(QIOChannel *ioc, in qio_channel_file_writev()
145 ssize_t ret; in qio_channel_file_writev()
164 static ssize_t qio_channel_file_preadv(QIOChannel *ioc, in qio_channel_file_preadv()
171 ssize_t ret; in qio_channel_file_preadv()
190 static ssize_t qio_channel_file_pwritev(QIOChannel *ioc, in qio_channel_file_pwritev()
197 ssize_t ret; in qio_channel_file_pwritev()
A Dchannel-tls.c29 static ssize_t qio_channel_tls_write_handler(const char *buf, in qio_channel_tls_write_handler()
35 ssize_t ret; in qio_channel_tls_write_handler()
46 static ssize_t qio_channel_tls_read_handler(char *buf, in qio_channel_tls_read_handler()
52 ssize_t ret; in qio_channel_tls_read_handler()
265 static ssize_t qio_channel_tls_readv(QIOChannel *ioc, in qio_channel_tls_readv()
275 ssize_t got = 0; in qio_channel_tls_readv()
278 ssize_t ret = qcrypto_tls_session_read( in qio_channel_tls_readv()
302 static ssize_t qio_channel_tls_writev(QIOChannel *ioc, in qio_channel_tls_writev()
312 ssize_t done = 0; in qio_channel_tls_writev()
315 ssize_t ret = qcrypto_tls_session_write(tioc->session, in qio_channel_tls_writev()
/qemu/include/crypto/
A Dtlssession.h185 typedef ssize_t (*QCryptoTLSSessionWriteFunc)(const char *buf,
189 typedef ssize_t (*QCryptoTLSSessionReadFunc)(char *buf,
236 ssize_t qcrypto_tls_session_write(QCryptoTLSSession *sess,
266 ssize_t qcrypto_tls_session_read(QCryptoTLSSession *sess,
/qemu/hw/core/
A Dloader.c88 ssize_t actsize, l = 0; in load_image_size()
109 ssize_t did; in read_targphys()
129 ssize_t size; in load_image_targphys_as()
145 ssize_t size; in load_image_mr()
231 ssize_t size, ret; in load_aout()
562 ssize_t dstbytes; in gunzip()
634 ssize_t size; in load_uboot_image()
746 ssize_t bytes; in load_uboot_image()
809 ssize_t bytes; in load_image_gzipped_buffer()
894 ssize_t bytes; in unpack_efi_zboot_image()
[all …]
/qemu/include/authz/
A Dlist.h77 ssize_t qauthz_list_append_rule(QAuthZList *auth,
83 ssize_t qauthz_list_insert_rule(QAuthZList *auth,
90 ssize_t qauthz_list_delete_rule(QAuthZList *auth,
/qemu/include/hw/hyperv/
A Dvmbus.h134 ssize_t vmbus_channel_send(VMBusChannel *chan, uint16_t pkt_type,
149 ssize_t vmbus_channel_send_completion(VMBusChanReq *req,
178 ssize_t vmbus_channel_recv_done(VMBusChannel *chan);
208 ssize_t vmbus_iov_to_gpadl(VMBusChannel *chan, VMBusGpadl *gpadl, uint32_t off,
/qemu/crypto/
A Dtlssession.c76 static ssize_t
80 ssize_t ret; in qcrypto_tls_session_push()
103 static ssize_t
107 ssize_t ret; in qcrypto_tls_session_pull()
477 ssize_t
483 ssize_t ret = gnutls_record_send(session->handle, buf, len); in qcrypto_tls_session_write()
505 ssize_t
512 ssize_t ret = gnutls_record_recv(session->handle, buf, len); in qcrypto_tls_session_read()
656 ssize_t
667 ssize_t

Completed in 52 milliseconds

12345678910>>...12