/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() local 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() 94 size_t max_len, len; in target_strlen() local
|
/openbmc/u-boot/include/ |
H A D | spi_flash.h | 121 size_t len, void *buf) in spi_flash_read() 127 size_t len, const void *buf) in spi_flash_write() 133 size_t len) in spi_flash_erase() 139 u32 offset, size_t len) in spi_flash_ctrl_wlock() 145 u32 offset, size_t len) in spi_flash_ctrl_wunlock() 164 size_t len, void *buf) in spi_flash_read() 173 size_t len, const void *buf) in spi_flash_write() 182 size_t len) in spi_flash_erase() 200 static inline int spi_flash_protect(struct spi_flash *flash, u32 ofs, u32 len, in spi_flash_protect()
|
/openbmc/u-boot/lib/ |
H A D | smbios.c | 63 int i, len = 0; in smbios_string_table_len() local 77 int len = sizeof(struct smbios_type0); in smbios_write_type0() local 114 int len = sizeof(struct smbios_type1); in smbios_write_type1() local 137 int len = sizeof(struct smbios_type2); in smbios_write_type2() local 157 int len = sizeof(struct smbios_type3); in smbios_write_type3() local 211 int len = sizeof(struct smbios_type4); in smbios_write_type4() local 235 int len = sizeof(struct smbios_type32); in smbios_write_type32() local 250 int len = sizeof(struct smbios_type127); in smbios_write_type127() local 277 int len = 0; in write_smbios_table() local
|
/openbmc/u-boot/arch/nds32/include/asm/ |
H A D | dma-mapping.h | 11 static void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() 17 static inline unsigned long dma_map_single(volatile void *vaddr, size_t len, in dma_map_single() 23 static inline void dma_unmap_single(volatile void *vaddr, size_t len, in dma_unmap_single()
|
/openbmc/libmctp/tests/fuzz/ |
H A D | i2c-fuzz.c | 39 size_t len; member 56 static struct fuzz_buf *fuzz_buf_new(const void *data, size_t len) in fuzz_buf_new() 65 static const void *fuzz_buf_extract(struct fuzz_buf *buf, size_t len) in fuzz_buf_extract() 104 static int fuzz_i2c_tx(const void *buf, size_t len, void *c) in fuzz_i2c_tx() 118 void *c, void *msg, size_t len) in fuzz_i2c_rxmsg() 131 uint32_t len; in do_rx() local 170 uint32_t len; in do_tx() local 214 int LLVMFuzzerTestOneInput(uint8_t *input, size_t len) in LLVMFuzzerTestOneInput() 283 ssize_t len = read(STDIN_FILENO, buf, sizeof(buf)); in run_standalone() local 302 size_t len = __AFL_FUZZ_TESTCASE_LEN; in main() local
|
/openbmc/qemu/include/system/ |
H A D | dma.h | 73 dma_addr_t addr, dma_addr_t len, in dma_memory_valid() 83 void *buf, dma_addr_t len, in dma_memory_rw_relaxed() 93 void *buf, dma_addr_t len) in dma_memory_read_relaxed() 103 dma_addr_t len) in dma_memory_write_relaxed() 125 void *buf, dma_addr_t len, in dma_memory_rw() 147 void *buf, dma_addr_t len, in dma_memory_read() 168 const void *buf, dma_addr_t len, in dma_memory_write() 206 dma_addr_t addr, dma_addr_t *len, in dma_memory_map() 232 void *buffer, dma_addr_t len, in dma_memory_unmap() 281 dma_addr_t len; member
|
/openbmc/qemu/util/ |
H A D | bufferiszero.c | 31 static bool buffer_is_zero_int_lt256(const void *buf, size_t len) in buffer_is_zero_int_lt256() 55 static bool buffer_is_zero_int_ge256(const void *buf, size_t len) in buffer_is_zero_int_ge256() 89 bool buffer_is_zero_ool(const void *buf, size_t len) in buffer_is_zero_ool() 108 bool buffer_is_zero_ge256(const void *buf, size_t len) in buffer_is_zero_ge256()
|
H A D | cacheflush.c | 79 size_t len = sizeof(size); in sys_cache_info() local 90 size_t len = sizeof(size); in sys_cache_info() local 246 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 264 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 314 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 324 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 364 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range() 375 void flush_idcache_range(uintptr_t rx, uintptr_t rw, size_t len) in flush_idcache_range()
|
H A D | buffer.c | 34 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() 91 void buffer_reserve(Buffer *buffer, size_t len) in buffer_reserve() 125 void buffer_append(Buffer *buffer, const void *data, size_t len) in buffer_append() 131 void buffer_advance(Buffer *buffer, size_t len) in buffer_advance()
|
/openbmc/qemu/semihosting/ |
H A D | uaccess.c | 18 size_t len, bool copy) in uaccess_lock_user() 33 size_t len = 0; in uaccess_strlen_user() local 80 ssize_t len = uaccess_strlen_user(env, addr); in uaccess_lock_user_string() local 88 vaddr addr, size_t len) in uaccess_unlock_user()
|
/openbmc/u-boot/net/ |
H A D | nfs.c | 81 static inline int store_block(uchar *src, unsigned offset, unsigned len) in store_block() 243 int len; in nfs_mount_req() local 269 int len; in nfs_umountall_req() local 294 int len; in nfs_readlink_req() local 320 int len; in nfs_lookup_req() local 363 int len; in nfs_read_req() local 431 static int rpc_lookup_reply(int prog, uchar *pkt, unsigned len) in rpc_lookup_reply() 461 static int nfs_mount_reply(uchar *pkt, unsigned len) in nfs_mount_reply() 487 static int nfs_umountall_reply(uchar *pkt, unsigned len) in nfs_umountall_reply() 511 static int nfs_lookup_reply(uchar *pkt, unsigned len) in nfs_lookup_reply() [all …]
|
/openbmc/qemu/hw/pci/ |
H A D | pci_host.c | 77 uint32_t limit, uint32_t val, uint32_t len) in pci_host_config_write_common() 100 uint32_t limit, uint32_t len) in pci_host_config_read_common() 126 void pci_data_write(PCIBus *s, uint32_t addr, uint32_t val, unsigned len) in pci_data_write() 142 uint32_t pci_data_read(PCIBus *s, uint32_t addr, unsigned len) in pci_data_read() 159 uint64_t val, unsigned len) in pci_host_config_write() 172 unsigned len) in pci_host_config_read() 183 uint64_t val, unsigned len) in pci_host_data_write() 192 hwaddr addr, unsigned len) in pci_host_data_read()
|
/openbmc/u-boot/drivers/mtd/ubi/ |
H A D | crc32.c | 69 u32 crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le() 81 u32 crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le() 165 u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len) in crc32_be() 179 u32 __attribute_pure__ crc32_be(u32 crc, unsigned char const *p, size_t len) in crc32_be() 384 buf_dump(char const *prefix, unsigned char const *buf, size_t len) in buf_dump() 394 static void bytereverse(unsigned char *buf, size_t len) in bytereverse() 402 static void random_garbage(unsigned char *buf, size_t len) in random_garbage() 432 static u32 test_step(u32 init, unsigned char *buf, size_t len) in test_step()
|
/openbmc/u-boot/test/lib/ |
H A D | string.c | 52 int offset, int len) in test_memset() 77 int offset, len; in lib_memset() local 109 int offset1, int offset2, int len) in test_memmove() 135 int offset1, offset2, len; in lib_memcpy() local 172 int offset1, offset2, len; in lib_memmove() local
|
/openbmc/qemu/tcg/tci/ |
H A D | tcg-target-has.h | 18 #define TCG_TARGET_extract_valid(type, ofs, len) 1 argument 19 #define TCG_TARGET_sextract_valid(type, ofs, len) 1 argument 20 #define TCG_TARGET_deposit_valid(type, ofs, len) 1 argument
|
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | musb_io.h | 27 static inline void readsl(const void __iomem *addr, void *buf, int len) in readsl() 29 static inline void readsw(const void __iomem *addr, void *buf, int len) in readsw() 31 static inline void readsb(const void __iomem *addr, void *buf, int len) in readsb() 34 static inline void writesl(const void __iomem *addr, const void *buf, int len) in writesl() 36 static inline void writesw(const void __iomem *addr, const void *buf, int len) in writesw() 38 static inline void writesb(const void __iomem *addr, const void *buf, int len) in writesb()
|
/openbmc/u-boot/board/keymile/common/ |
H A D | ivm.c | 14 static int ivm_calc_crc(unsigned char *buf, int len) in ivm_calc_crc() 57 static int ivm_get_value(unsigned char *buf, int len, char *name, int off, in ivm_get_value() 167 #define GET_STRING(name, which, len) \ argument 219 static int ivm_analyze_block2(unsigned char *buf, int len) in ivm_analyze_block2() 239 int ivm_analyze_eeprom(unsigned char *buf, int len) in ivm_analyze_eeprom() 265 int len = strlen((char *)tmp); in ivm_analyze_eeprom() local 299 static int ivm_populate_env(unsigned char *buf, int len) in ivm_populate_env() 332 int ivm_read_eeprom(unsigned char *buf, int len) in ivm_read_eeprom()
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | dma-mapping.h | 14 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() 25 static inline unsigned long dma_map_single(volatile void *vaddr, size_t len, in dma_map_single() 31 static inline void dma_unmap_single(volatile void *vaddr, size_t len, in dma_unmap_single()
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | dma-mapping.h | 14 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() 25 static inline unsigned long dma_map_single(volatile void *vaddr, size_t len, in dma_map_single() 31 static inline void dma_unmap_single(volatile void *vaddr, size_t len, in dma_unmap_single()
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | dma-mapping.h | 16 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) in dma_alloc_coherent() 27 static inline unsigned long dma_map_single(volatile void *vaddr, size_t len, in dma_map_single() 33 static inline void dma_unmap_single(volatile void *vaddr, size_t len, in dma_unmap_single()
|
/openbmc/qemu/bsd-user/ |
H A D | uaccess.c | 11 abi_long copy_from_user(void *hptr, abi_ulong gaddr, size_t len) in copy_from_user() 26 abi_long copy_to_user(abi_ulong gaddr, void *hptr, size_t len) in copy_to_user() 46 int max_len, len; in target_strlen() local
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdpart.c | 49 size_t len; in kstrdup() local 289 static int part_read(struct mtd_info *mtd, loff_t from, size_t len, in part_read() 308 static int part_point(struct mtd_info *mtd, loff_t from, size_t len, in part_point() 315 static int part_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in part_unpoint() 322 unsigned long len, in part_get_unmapped_area() 345 size_t len, pages; in part_read_oob() local 368 size_t len, size_t *retlen, u_char *buf) in part_read_user_prot_reg() 374 static int part_get_user_prot_info(struct mtd_info *mtd, size_t len, in part_get_user_prot_info() 382 size_t len, size_t *retlen, u_char *buf) in part_read_fact_prot_reg() 388 static int part_get_fact_prot_info(struct mtd_info *mtd, size_t len, in part_get_fact_prot_info() [all …]
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | sf-uclass.c | 15 int spi_flash_read_dm(struct udevice *dev, u32 offset, size_t len, void *buf) in spi_flash_read_dm() 20 int spi_flash_write_dm(struct udevice *dev, u32 offset, size_t len, in spi_flash_write_dm() 26 int spi_flash_erase_dm(struct udevice *dev, u32 offset, size_t len) in spi_flash_erase_dm() 31 int spi_flash_ctrl_wlock_dm(struct udevice *dev, u32 offset, size_t len) in spi_flash_ctrl_wlock_dm() 36 int spi_flash_ctrl_wunlock_dm(struct udevice *dev, u32 offset, size_t len) in spi_flash_ctrl_wunlock_dm()
|
/openbmc/qemu/hw/usb/ |
H A D | desc.c | 10 bool msos, uint8_t *dest, size_t len) in usb_desc_device() 55 uint8_t *dest, size_t len) in usb_desc_device_qualifier() 80 uint8_t *dest, size_t len) in usb_desc_config() 128 uint8_t *dest, size_t len) in usb_desc_iface_group() 163 uint8_t *dest, size_t len) in usb_desc_iface() 205 uint8_t *dest, size_t len) in usb_desc_endpoint() 250 int usb_desc_other(const USBDescOther *desc, uint8_t *dest, size_t len) in usb_desc_other() 262 static int usb_desc_cap_usb2_ext(const USBDesc *desc, uint8_t *dest, size_t len) in usb_desc_cap_usb2_ext() 283 static int usb_desc_cap_super(const USBDesc *desc, uint8_t *dest, size_t len) in usb_desc_cap_super() 324 static int usb_desc_bos(const USBDesc *desc, uint8_t *dest, size_t len) in usb_desc_bos() [all …]
|
/openbmc/hiomapd/vpnor/ |
H A D | partition.cpp | 106 size_t Request::clamp(size_t len) in clamp() 119 #define fd_process_all(fn, fd, src, len) \ argument 131 ssize_t Request::read(void* dst, size_t len) in read() 186 ssize_t Request::write(void* dst, size_t len) in write()
|