/openbmc/libpldm/src/oem/ibm/ |
H A D | file_io.c | 11 uint32_t *length, uint64_t *address) in decode_rw_file_memory_req() 65 uint32_t length, uint64_t address, in encode_rw_file_memory_req() 94 uint32_t *length) in decode_rw_file_memory_resp() 241 uint32_t *length) in decode_read_file_req() 324 uint32_t length, struct pldm_msg *msg) in encode_read_file_resp() 381 uint32_t offset, uint32_t length, in encode_write_file_req() 555 uint32_t *length) in decode_rw_file_by_type_memory_resp() 578 uint64_t *length) in decode_new_file_req() 625 uint32_t file_handle, uint64_t length, in encode_new_file_req() 674 uint32_t *length) in decode_rw_file_by_type_req() [all …]
|
/openbmc/ipmbbridge/ |
H A D | ipmbutils.cpp | 27 bool ipmbChecksumValidate(uint8_t* data, uint8_t length) in ipmbChecksumValidate() 50 uint8_t ipmbChecksumCompute(uint8_t* data, uint8_t length) in ipmbChecksumCompute() 72 inline bool ipmbDataChecksumValidate(IPMB_HEADER* ipmbHeader, uint8_t length) in ipmbDataChecksumValidate() 79 bool isFrameValid(IPMB_HEADER* frame, uint8_t length) in isFrameValid()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | utcksum.c | 35 acpi_status acpi_ut_verify_checksum(struct acpi_table_header *table, u32 length) in acpi_ut_verify_checksum() 87 acpi_ut_verify_cdat_checksum(struct acpi_table_cdat *cdat_table, u32 length) in acpi_ut_verify_cdat_checksum() 129 u8 acpi_ut_generate_checksum(void *table, u32 length, u8 original_checksum) in acpi_ut_generate_checksum() 160 u8 acpi_ut_checksum(u8 *buffer, u32 length) in acpi_ut_checksum()
|
H A D | utprint.c | 52 u32 length = 0; in acpi_ut_bound_string_length() local 331 s32 length; in vsnprintf() local 574 int length; in snprintf() local 599 int length; in sprintf() local 625 int length; in vprintf() local 652 int length; in printf() local 678 int length; in vfprintf() local 706 int length; in fprintf() local
|
H A D | utids.c | 40 u32 length; in acpi_ut_execute_HID() local 118 u32 length; in acpi_ut_execute_UID() local 204 u32 length; in acpi_ut_execute_CID() local 342 u32 length; in acpi_ut_execute_CLS() local
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_cksum.h | 14 xfs_start_cksum_safe(char *buffer, size_t length, unsigned long cksum_offset) in xfs_start_cksum_safe() 35 xfs_start_cksum_update(char *buffer, size_t length, unsigned long cksum_offset) in xfs_start_cksum_update() 64 xfs_update_cksum(char *buffer, size_t length, unsigned long cksum_offset) in xfs_update_cksum() 75 xfs_verify_cksum(char *buffer, size_t length, unsigned long cksum_offset) in xfs_verify_cksum()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | main.c | 207 u32 length) in nfp_bpf_parse_cap_adjust_head() 238 nfp_bpf_parse_cap_func(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_func() 266 nfp_bpf_parse_cap_maps(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_maps() 287 u32 length) in nfp_bpf_parse_cap_random() 294 nfp_bpf_parse_cap_qsel(struct nfp_app_bpf *bpf, void __iomem *value, u32 length) in nfp_bpf_parse_cap_qsel() 302 u32 length) in nfp_bpf_parse_cap_adjust_tail() 310 u32 length) in nfp_bpf_parse_cap_cmsg_multi_ent() 318 u32 length) in nfp_bpf_parse_cap_abi_version() 350 u32 type, length; in nfp_bpf_parse_capabilities() local
|
/openbmc/libpldm/tests/oem/ibm/ |
H A D | fileio.cpp | 62 uint32_t length = 0; in TEST() local 126 uint32_t length = 0; in TEST() local 182 uint32_t length = 0; in TEST() local 242 uint32_t length = 0; in TEST() local 622 uint32_t length = 0; in TEST() local 661 uint32_t length = 0; in TEST() local 800 uint32_t length = 0; in TEST() local 827 uint32_t length = 0; in TEST() local 943 uint32_t length = 0; in TEST() local 972 uint32_t length = 0; in TEST() local [all …]
|
/openbmc/linux/fs/squashfs/ |
H A D | cache.c | 53 struct squashfs_cache *cache, u64 block, int length) in squashfs_cache_get() 294 int offset, int length) in squashfs_copy_data() 332 u64 *block, int *offset, int length) in squashfs_read_metadata() 380 u64 start_block, int length) in squashfs_get_fragment() 395 u64 start_block, int length) in squashfs_get_datablock() 406 void *squashfs_read_table(struct super_block *sb, u64 block, int length) in squashfs_read_table()
|
/openbmc/linux/fs/verity/ |
H A D | read_metadata.c | 17 void __user *buf, u64 offset, int length) in fsverity_read_merkle_tree() 81 static int fsverity_read_buffer(void __user *dst, u64 offset, int length, in fsverity_read_buffer() 98 void __user *buf, u64 offset, int length) in fsverity_read_descriptor() 119 void __user *buf, u64 offset, int length) in fsverity_read_signature() 156 int length; in fsverity_ioctl_read_metadata() local
|
/openbmc/linux/sound/usb/line6/ |
H A D | midibuf.c | 20 static const int length[] = { 3, 3, 3, 3, 2, 2, 3 }; in midibuf_message_length() local 24 static const int length[] = { -1, 2, 2, 2, -1, -1, 1, 1, 1, -1, in midibuf_message_length() local 81 int length) in line6_midibuf_write() 124 int length, int read_type) in line6_midibuf_read() 241 int line6_midibuf_ignore(struct midi_buffer *this, int length) in line6_midibuf_ignore()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io.cpp | 122 int DMA::transferDataHost(int fd, uint32_t offset, uint32_t length, in transferDataHost() 255 uint8_t completion_code, uint32_t length, in encodeRWResponseHandler() 269 uint32_t length, struct pldm_msg* msg) in encodeReadResponseHandler() 349 uint32_t length = 0; in readFileIntoMemory() local 452 uint32_t length = 0; in writeFileFromMemory() local 612 uint32_t length = 0; in readFile() local 715 uint32_t length = 0; in writeFile() local 826 uint32_t length{}; in rwFileByTypeIntoMemory() local 909 uint32_t length{}; in writeFileByType() local 966 uint32_t length{}; in readFileByType() local [all …]
|
H A D | file_io_type_cert.cpp | 26 int CertHandler::writeFromMemory(uint32_t offset, uint32_t length, in writeFromMemory() 54 int CertHandler::readIntoMemory(uint32_t offset, uint32_t length, in readIntoMemory() 73 int CertHandler::read(uint32_t offset, uint32_t& length, Response& response, in read() 94 int CertHandler::write(const char* buffer, uint32_t offset, uint32_t& length, in write() 211 int CertHandler::newFileAvailable(uint64_t length) in newFileAvailable() 250 uint64_t length, uint32_t metaDataValue1, uint32_t /*metaDataValue2*/, in newFileAvailableWithMetaData()
|
H A D | file_io_by_type.cpp | 35 uint32_t& length, uint64_t address) in transferFileData() 55 int FileHandler::transferFileDataToSocket(int32_t fd, uint32_t& length, in transferFileDataToSocket() 75 uint32_t offset, uint32_t& length, in transferFileData() 188 uint32_t& length, Response& response) in readFile()
|
/openbmc/phosphor-ipmi-flash/tools/ |
H A D | io.cpp | 16 bool DevMemDevice::read(const std::size_t offset, const std::size_t length, in read() 54 bool DevMemDevice::write(const std::size_t offset, const std::size_t length, in write() 109 bool PpcMemDevice::read(const std::size_t offset, const std::size_t length, in read() 133 bool PpcMemDevice::write(const std::size_t offset, const std::size_t length, in write()
|
H A D | lpc.hpp | 20 std::uint32_t length; member 27 std::uint32_t address, std::uint32_t length, in LpcDataHandler() 43 std::uint32_t length; member in host_tool::LpcDataHandler
|
/openbmc/qemu/util/ |
H A D | userfaultfd.c | 158 int uffd_register_memory(int uffd_fd, void *addr, uint64_t length, in uffd_register_memory() 187 int uffd_unregister_memory(int uffd_fd, void *addr, uint64_t length) in uffd_unregister_memory() 213 int uffd_change_protection(int uffd_fd, void *addr, uint64_t length, in uffd_change_protection() 252 uint64_t length, bool dont_wake) in uffd_copy_page() 283 int uffd_zero_page(int uffd_fd, void *addr, uint64_t length, bool dont_wake) in uffd_zero_page() 315 int uffd_wakeup(int uffd_fd, void *addr, uint64_t length) in uffd_wakeup()
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | dst_ca.c | 48 static void put_command_and_length(u8 *data, int command, int length) in put_command_and_length() 56 static void put_checksum(u8 *check_string, int length) in put_checksum() 130 int length, str_length; in ca_get_app_info() local 323 …dst_tag(struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer, u32 length) in handle_dst_tag() 351 static int write_to_8820(struct dst_state *state, struct ca_msg *hw_buffer, u8 length, u8 reply) in write_to_8820() 367 u32 length = 0; in asn_1_decode() local 385 static int debug_string(u8 *msg, u32 length, u32 offset) in debug_string() 400 u32 length = 0; in ca_set_pmt() local 625 static ssize_t dst_ca_read(struct file *file, char __user *buffer, size_t length, loff_t *offset) in dst_ca_read() 632 static ssize_t dst_ca_write(struct file *file, const char __user *buffer, size_t length, loff_t *of… in dst_ca_write()
|
/openbmc/u-boot/drivers/usb/emul/ |
H A D | usb-emul-uclass.c | 12 static int copy_to_unicode(char *buff, int length, const char *str) in copy_to_unicode() 30 char *buff, int length) in usb_emul_get_string() 78 void *buffer, int length) in usb_emul_get_descriptor() 177 unsigned long pipe, void *buffer, int length, in usb_emul_control() 232 unsigned long pipe, void *buffer, int length) in usb_emul_bulk() 248 unsigned long pipe, void *buffer, int length, int interval) in usb_emul_int()
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 28 #define MAKE_64BIT_MASK(shift, length) \ argument 349 static inline uint32_t extract32(uint32_t value, int start, int length) in extract32() 368 static inline uint8_t extract8(uint8_t value, int start, int length) in extract8() 387 static inline uint16_t extract16(uint16_t value, int start, int length) in extract16() 406 static inline uint64_t extract64(uint64_t value, int start, int length) in extract64() 428 static inline int32_t sextract32(uint32_t value, int start, int length) in sextract32() 453 static inline int64_t sextract64(uint64_t value, int start, int length) in sextract64() 479 static inline uint32_t deposit32(uint32_t value, int start, int length, in deposit32() 505 static inline uint64_t deposit64(uint64_t value, int start, int length, in deposit64()
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_vda.c | 351 u32 length) in esas2r_build_flash_req() 377 u32 length, in esas2r_build_mgt_req() 450 u32 length, in esas2r_build_cli_req() 467 u32 length, in esas2r_build_ioctl_req() 485 u32 length, in esas2r_build_cfg_req()
|
/openbmc/linux/include/linux/ |
H A D | crc32.h | 66 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)(data), length) argument 76 #define ether_crc(length, data) bitrev32(crc32_le(~0, data, length)) argument 77 #define ether_crc_le(length, data) crc32_le(~0, data, length) argument
|
/openbmc/libpldm/include/libpldm/oem/ibm/ |
H A D | file_io.h | 121 uint32_t length; //!< Number of bytes read/written member 288 uint32_t length; //!< Bytes to be read member 297 uint32_t length; //!< Number of bytes read member 308 uint32_t length; //!< Bytes to be written member 318 uint32_t length; //!< Bytes written member 447 uint32_t length; //!< Bytes to be read member 458 uint32_t length; //!< Number of bytes read member 535 uint64_t length; //!< Number of bytes in new file member 602 uint32_t length; //!< Bytes to be read member 612 uint32_t length; //!< Number of bytes read member [all …]
|
/openbmc/qemu/system/ |
H A D | memory_mapping.c | 42 ram_addr_t length) in create_new_memory_mapping() 69 ram_addr_t length) in mapping_have_same_region() 94 ram_addr_t length) in mapping_merge() 110 ram_addr_t length) in memory_mapping_list_add_merge_sorted() 315 ram_addr_t offset, length; in qemu_get_guest_memory_mapping() local 352 int64_t length) in memory_mapping_filter()
|
/openbmc/linux/tools/testing/selftests/iommu/ |
H A D | iommufd_utils.h | 221 size_t length, __u64 *iova, unsigned int flags) in _test_ioctl_ioas_map() 239 #define test_ioctl_ioas_map(buffer, length, iova_p) \ argument 245 #define test_err_ioctl_ioas_map(_errno, buffer, length, iova_p) \ argument 252 #define test_ioctl_ioas_map_id(ioas_id, buffer, length, iova_p) \ argument 258 #define test_ioctl_ioas_map_fixed(buffer, length, iova) \ argument 269 #define test_err_ioctl_ioas_map_fixed(_errno, buffer, length, iova) \ argument 282 size_t length, uint64_t *out_len) in _test_ioctl_ioas_unmap() 297 #define test_ioctl_ioas_unmap(iova, length) \ argument 301 #define test_ioctl_ioas_unmap_id(ioas_id, iova, length) \ argument 305 #define test_err_ioctl_ioas_unmap(_errno, iova, length) \ argument
|