| /openbmc/u-boot/include/cavium/ |
| H A D | atf.h | 9 ssize_t atf_read_mmc(uintptr_t offset, void *buffer, size_t size); 10 ssize_t atf_read_nor(uintptr_t offset, void *buffer, size_t size); 11 ssize_t atf_get_pcount(void); 12 ssize_t atf_get_part(struct storage_partition *part, unsigned int index); 13 ssize_t atf_erase_nor(uintptr_t offset, size_t size); 14 ssize_t atf_write_nor(uintptr_t offset, const void *buffer, size_t size); 15 ssize_t atf_write_mmc(uintptr_t offset, const void *buffer, size_t size); 16 ssize_t atf_dram_size(unsigned int node); 17 ssize_t atf_node_count(void); 18 ssize_t atf_env_count(void); [all …]
|
| /openbmc/qemu/include/hw/ |
| H A D | loader.h | 30 ssize_t load_image_size(const char *filename, void *addr, size_t size); 43 ssize_t load_image_targphys_as(const char *filename, 56 ssize_t load_targphys_hex_as(const char *filename, hwaddr *entry, 63 ssize_t load_image_targphys(const char *filename, hwaddr, 77 ssize_t load_image_mr(const char *filename, MemoryRegion *mr); 85 ssize_t load_image_gzipped_buffer(const char *filename, uint64_t max_sz, 104 ssize_t unpack_efi_zboot_image(uint8_t **buffer, ssize_t *size); 111 const char *load_elf_strerror(ssize_t error); 149 ssize_t load_elf_ram_sym(const char *filename, 161 ssize_t load_elf_as(const char *filename, [all …]
|
| /openbmc/openbmc-tools/pwmtachtool/src/ |
| H A D | EINTR_wrappers.h | 81 ssize_t sigwrap_msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); 82 ssize_t sigwrap_send(int sockfd, const void *buf, size_t len, int flags); 83 ssize_t sigwrap_sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *d… 84 ssize_t sigwrap_sendsendmsg(int sockfd, const struct msghdr *msg, int flags); 86 ssize_t sigwrap_read(int fd, void *buf, size_t count); 96 ssize_t sigwrap_blocking_read(int hFile, void *pData, size_t RdLen); 98 ssize_t sigwrap_readv(int fd, const struct iovec *iov, int iovcnt); 100 ssize_t sigwrap_write(int fd, const void *buf, size_t count); 110 ssize_t sigwrap_blocking_write(int hFile, const void *pData, ssize_t WrtLen); 112 ssize_t sigwrap_writev(int fd, const struct iovec *iov, int iovcnt); [all …]
|
| H A D | EINTR_wrappers.c | 386 ssize_t sigwrap_msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) in sigwrap_msgrcv() 390 ssize_t Result = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); in sigwrap_msgrcv() 416 ssize_t sigwrap_send(int sockfd, const void *buf, size_t len, int flags) in sigwrap_send() 420 ssize_t Result = send(sockfd, buf, len, flags); in sigwrap_send() 431 ssize_t sigwrap_sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *d… in sigwrap_sendto() 436 ssize_t Result = sendto(sockfd, buf, len, flags, dest_addr, addrlen); in sigwrap_sendto() 447 ssize_t sigwrap_sendsendmsg(int sockfd, const struct msghdr *msg, int flags) in sigwrap_sendsendmsg() 451 ssize_t Result = sendmsg(sockfd, msg, flags); in sigwrap_sendsendmsg() 479 ssize_t sigwrap_read(int fd, void *buf, size_t count) in sigwrap_read() 483 ssize_t Result = read(fd, buf, count); in sigwrap_read() [all …]
|
| /openbmc/openbmc-tools/adcapp/src/ |
| H A D | EINTR_wrappers.h | 81 ssize_t sigwrap_msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg); 82 ssize_t sigwrap_send(int sockfd, const void *buf, size_t len, int flags); 83 ssize_t sigwrap_sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *d… 84 ssize_t sigwrap_sendsendmsg(int sockfd, const struct msghdr *msg, int flags); 86 ssize_t sigwrap_read(int fd, void *buf, size_t count); 96 ssize_t sigwrap_blocking_read(int hFile, void *pData, size_t RdLen); 98 ssize_t sigwrap_readv(int fd, const struct iovec *iov, int iovcnt); 100 ssize_t sigwrap_write(int fd, const void *buf, size_t count); 110 ssize_t sigwrap_blocking_write(int hFile, const void *pData, ssize_t WrtLen); 112 ssize_t sigwrap_writev(int fd, const struct iovec *iov, int iovcnt); [all …]
|
| H A D | EINTR_wrappers.c | 443 ssize_t sigwrap_msgrcv(int msqid, void *msgp, size_t msgsz, long msgtyp, int msgflg) in sigwrap_msgrcv() 447 ssize_t Result = msgrcv(msqid, msgp, msgsz, msgtyp, msgflg); in sigwrap_msgrcv() 473 ssize_t sigwrap_send(int sockfd, const void *buf, size_t len, int flags) in sigwrap_send() 477 ssize_t Result = send(sockfd, buf, len, flags); in sigwrap_send() 488 ssize_t sigwrap_sendto(int sockfd, const void *buf, size_t len, int flags, const struct sockaddr *d… in sigwrap_sendto() 493 ssize_t Result = sendto(sockfd, buf, len, flags, dest_addr, addrlen); in sigwrap_sendto() 504 ssize_t sigwrap_sendsendmsg(int sockfd, const struct msghdr *msg, int flags) in sigwrap_sendsendmsg() 508 ssize_t Result = sendmsg(sockfd, msg, flags); in sigwrap_sendsendmsg() 552 ssize_t sigwrap_read(int fd, void *buf, size_t count) in sigwrap_read() 556 ssize_t Result = read(fd, buf, count); in sigwrap_read() [all …]
|
| /openbmc/qemu/hw/9pfs/ |
| H A D | 9p-xattr.h | 21 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 …]
|
| H A D | 9p-xattr.c | 39 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() 187 ssize_t pt_getxattr(FsContext *ctx, const char *path, const char *name, in pt_getxattr() 193 ssize_t local_setxattr_nofollow(FsContext *ctx, const char *path, in local_setxattr_nofollow() 200 ssize_t ret = -1; in local_setxattr_nofollow() [all …]
|
| H A D | 9p-posix-acl.c | 30 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()
|
| /openbmc/phosphor-bmc-code-mgmt/test/create_package/ |
| H A D | firmware_device_id_area.cpp | 9 static ssize_t create_pldm_firmware_device_descriptor_v1_0_0( in create_pldm_firmware_device_descriptor_v1_0_0() 10 uint8_t* b, ssize_t i, uint16_t descType, std::vector<uint8_t>& data) in create_pldm_firmware_device_descriptor_v1_0_0() 29 static ssize_t create_pldm_firmware_device_vendor_defined_descriptor_v1_0_0( in create_pldm_firmware_device_vendor_defined_descriptor_v1_0_0() 30 uint8_t* b, ssize_t i, std::vector<uint8_t>& data) in create_pldm_firmware_device_vendor_defined_descriptor_v1_0_0() 61 static ssize_t create_pldm_firmware_device_descriptors_v1_0_0( in create_pldm_firmware_device_descriptors_v1_0_0() 62 uint8_t* b, ssize_t i, const std::optional<uint32_t>& optVendorIANA, in create_pldm_firmware_device_descriptors_v1_0_0() 101 ssize_t create_pldm_firmware_device_identification_record( in create_pldm_firmware_device_identification_record() 102 uint8_t* b, ssize_t i, const std::optional<uint32_t>& optVendorIANA, in create_pldm_firmware_device_identification_record() 106 const ssize_t startIndex = i; in create_pldm_firmware_device_identification_record() 157 const ssize_t recordLength = i - startIndex; in create_pldm_firmware_device_identification_record() [all …]
|
| H A D | firmware_device_id_area.hpp | 9 ssize_t create_pldm_firmware_device_identification_record( 10 uint8_t* b, ssize_t i, const std::optional<uint32_t>& optVendorIANA, 14 ssize_t create_pldm_firmware_device_identification_area_v1_0_0( 15 uint8_t* b, ssize_t i, const std::optional<uint32_t>& optVendorIANA,
|
| H A D | component_image_info_area.cpp | 11 ssize_t create_pldm_component_image_info_area_v1_0_0( in create_pldm_component_image_info_area_v1_0_0() 12 uint8_t* b, ssize_t i, size_t component_image_size, in create_pldm_component_image_info_area_v1_0_0() 66 for (ssize_t j = 0; j < (ssize_t)strlen(buf); j++) in create_pldm_component_image_info_area_v1_0_0()
|
| /openbmc/qemu/fsdev/ |
| H A D | 9p-iov-marshal.h | 7 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,
|
| H A D | 9p-iov-marshal.c | 21 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 …]
|
| /openbmc/qemu/include/net/ |
| H A D | queue.h | 31 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,
|
| /openbmc/qemu/include/io/ |
| H A D | channel.h | 113 ssize_t (*io_writev)(QIOChannel *ioc, 120 ssize_t (*io_readv)(QIOChannel *ioc, 136 ssize_t (*io_pwritev)(QIOChannel *ioc, 141 ssize_t (*io_preadv)(QIOChannel *ioc, 246 ssize_t qio_channel_readv_full(QIOChannel *ioc, 290 ssize_t qio_channel_writev_full(QIOChannel *ioc, 390 ssize_t qio_channel_readv(QIOChannel *ioc, 405 ssize_t qio_channel_writev(QIOChannel *ioc, 421 ssize_t qio_channel_read(QIOChannel *ioc, 437 ssize_t qio_channel_write(QIOChannel *ioc, [all …]
|
| /openbmc/u-boot/board/cavium/thunderx/ |
| H A D | atf.c | 18 ssize_t atf_read_mmc(uintptr_t offset, void *buffer, size_t size) in atf_read_mmc() 31 ssize_t atf_read_nor(uintptr_t offset, void *buffer, size_t size) in atf_read_nor() 44 ssize_t atf_get_pcount(void) in atf_get_pcount() 54 ssize_t atf_get_part(struct storage_partition *part, unsigned int index) in atf_get_part() 66 ssize_t atf_erase_nor(uintptr_t offset, size_t size) in atf_erase_nor() 78 ssize_t atf_write_nor(uintptr_t offset, const void *buffer, size_t size) in atf_write_nor() 92 ssize_t atf_write_mmc(uintptr_t offset, const void *buffer, size_t size) in atf_write_mmc() 106 ssize_t atf_dram_size(unsigned int node) in atf_dram_size() 117 ssize_t atf_node_count(void) in atf_node_count() 127 ssize_t atf_env_count(void) in atf_env_count() [all …]
|
| /openbmc/qemu/linux-user/ |
| H A D | uaccess.c | 8 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()
|
| /openbmc/obmc-console/ |
| H A D | console-socket.c | 32 ssize_t console_socket_path(socket_path_t sun_path, const char *id) in console_socket_path() 34 ssize_t rc; in console_socket_path() 57 ssize_t console_socket_path_readable(const struct sockaddr_un *addr, in console_socket_path_readable() 71 return (ssize_t)len; /* strlen() style */ in console_socket_path_readable()
|
| /openbmc/qemu/block/ |
| H A D | qcow2-threads.c | 69 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() 256 static ssize_t qcow2_zstd_decompress(void *dest, size_t dest_size, in qcow2_zstd_decompress() 260 ssize_t ret = 0; in qcow2_zstd_decompress() 338 static ssize_t coroutine_fn [all …]
|
| /openbmc/qemu/include/crypto/ |
| H A D | tlssession.h | 201 typedef ssize_t (*QCryptoTLSSessionWriteFunc)(const char *buf, 205 typedef ssize_t (*QCryptoTLSSessionReadFunc)(char *buf, 252 ssize_t qcrypto_tls_session_write(QCryptoTLSSession *sess, 282 ssize_t qcrypto_tls_session_read(QCryptoTLSSession *sess,
|
| /openbmc/qemu/net/ |
| H A D | queue.c | 151 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()
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ncp/libowfat/ |
| H A D | 0001-fix-incompatible-type-error-with-gcc-15.patch | 12 …:40:65: error: initialization of 'ssize_t (*)(void)' {aka 'long int (*)(void)'} from incompatible … 59 -int buffer_stubborn(ssize_t (*op)(),int fd,const char* buf, size_t len,void* cookie) { 60 +int buffer_stubborn(ssize_t (*op)(int,char*,size_t,void*),int fd,const char* buf, size_t len,void*… 61 ssize_t w; 72 -ssize_t buffer_stubborn_read(ssize_t (*op)(),int fd,const char* buf, size_t len,void* cookie) { 73 +ssize_t buffer_stubborn_read(ssize_t (*op)(int,char*,size_t,void*),int fd,const char* buf, size_t … 74 ssize_t w;
|
| /openbmc/qemu/include/authz/ |
| H A D | list.h | 77 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,
|
| /openbmc/qemu/util/ |
| H A D | osdep.c | 433 ssize_t qemu_write_full(int fd, const void *buf, size_t count) in qemu_write_full() 435 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() [all …]
|