Home
last modified time | relevance | path

Searched defs:bytes (Results 1 – 25 of 264) sorted by relevance

1234567891011

/openbmc/qemu/scripts/
H A Du2f-setup-gen.py24 def write_setup_dir(dirpath: str, privkey_pem: bytes, cert_pem: bytes,
25 entropy: bytes, counter: int) -> None:
/openbmc/qemu/block/
H A Dreqlist.c21 int64_t bytes) in reqlist_init_req()
32 int64_t bytes) in reqlist_find_conflict()
46 int64_t bytes, CoMutex *lock) in reqlist_wait_one()
60 int64_t bytes, CoMutex *lock) in reqlist_wait_all()
H A Dsnapshot-access.c31 int64_t offset, int64_t bytes, in snapshot_access_co_preadv_part()
45 int64_t bytes, int64_t *pnum, in snapshot_access_co_block_status()
53 snapshot_access_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in snapshot_access_co_pdiscard()
60 int64_t offset, int64_t bytes, in snapshot_access_co_pwrite_zeroes()
68 int64_t offset, int64_t bytes, in snapshot_access_co_pwritev_part()
H A Dfilter-compress.c68 compress_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_preadv_part()
78 compress_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwritev_part()
88 compress_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwrite_zeroes()
96 compress_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in compress_co_pdiscard()
H A Dio.c609 int64_t bytes, in tracked_request_begin()
633 int64_t offset, int64_t bytes) in tracked_request_overlaps()
737 bdrv_round_to_subclusters(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_round_to_subclusters()
811 int bdrv_check_qiov_request(int64_t offset, int64_t bytes, in bdrv_check_qiov_request()
871 int bdrv_check_request(int64_t offset, int64_t bytes, Error **errp) in bdrv_check_request()
876 static int bdrv_check_request32(int64_t offset, int64_t bytes, in bdrv_check_request32()
903 int64_t target_size, bytes, offset = 0; in bdrv_make_zero() local
940 int64_t bytes, const void *buf, in bdrv_co_pwrite_sync()
974 bdrv_driver_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_driver_preadv()
1043 bdrv_driver_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in bdrv_driver_pwritev()
[all …]
H A Dcopy-on-read.c135 cor_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_preadv_part()
187 cor_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_pwritev_part()
197 cor_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_pwrite_zeroes()
205 cor_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in cor_co_pdiscard()
212 cor_co_pwritev_compressed(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_pwritev_compressed()
H A Dcopy-before-write.c84 cbw_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_preadv()
107 uint64_t offset, uint64_t bytes, BdrvRequestFlags flags) in cbw_do_copy_before_write()
155 cbw_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in cbw_co_pdiscard()
166 cbw_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_pwrite_zeroes()
178 int cbw_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_pwritev()
209 cbw_snapshot_read_lock(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_snapshot_read_lock()
262 cbw_co_preadv_snapshot(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_preadv_snapshot()
295 int64_t offset, int64_t bytes, in cbw_co_snapshot_block_status()
327 cbw_co_pdiscard_snapshot(BlockDriverState *bs, int64_t offset, int64_t bytes) in cbw_co_pdiscard_snapshot()
H A Ddirty-bitmap.c341 void bdrv_dirty_bitmap_truncate(BlockDriverState *bs, int64_t bytes) in bdrv_dirty_bitmap_truncate()
544 int64_t offset, int64_t bytes) in bdrv_set_dirty_bitmap_locked()
551 int64_t offset, int64_t bytes) in bdrv_set_dirty_bitmap()
560 int64_t offset, int64_t bytes) in bdrv_reset_dirty_bitmap_locked()
567 int64_t offset, int64_t bytes) in bdrv_reset_dirty_bitmap()
600 uint64_t offset, uint64_t bytes) in bdrv_dirty_bitmap_serialization_size()
625 uint64_t bytes) in bdrv_dirty_bitmap_serialize_part()
632 uint64_t bytes, bool finish) in bdrv_dirty_bitmap_deserialize_part()
638 uint64_t offset, uint64_t bytes, in bdrv_dirty_bitmap_deserialize_zeroes()
645 uint64_t offset, uint64_t bytes, in bdrv_dirty_bitmap_deserialize_ones()
[all …]
H A Dthrottle.c119 throttle_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in throttle_co_preadv()
130 throttle_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in throttle_co_pwritev()
140 throttle_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in throttle_co_pwrite_zeroes()
150 throttle_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in throttle_co_pdiscard()
160 int64_t bytes, QEMUIOVector *qiov) in throttle_co_pwritev_compressed()
H A Dblkreplay.c74 blkreplay_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_preadv()
86 blkreplay_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_pwritev()
98 blkreplay_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_pwrite_zeroes()
110 blkreplay_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in blkreplay_co_pdiscard()
/openbmc/u-boot/common/
H A Dmalloc_simple.c17 static void *alloc_simple(size_t bytes, int align) in alloc_simple()
37 void *malloc_simple(size_t bytes) in malloc_simple()
50 void *memalign_simple(size_t align, size_t bytes) in memalign_simple()
/openbmc/libcper/generator/sections/
H A Dgen-section-dmar.c20 UINT8 *bytes = generate_random_bytes(size); in generate_section_dmar_generic() local
46 UINT8 *bytes = generate_random_bytes(size); in generate_section_dmar_vtd() local
72 UINT8 *bytes = generate_random_bytes(size); in generate_section_dmar_iommu() local
H A Dgen-section-memory.c19 UINT8 *bytes = generate_random_bytes(size); in generate_section_memory() local
50 UINT8 *bytes = generate_random_bytes(size); in generate_section_memory2() local
/openbmc/phosphor-ipmi-flash/tools/
H A Dprogress.cpp24 void ProgressStdoutIndicator::updateProgress(std::int64_t bytes) in updateProgress()
36 void ProgressStdoutIndicator::start(std::int64_t bytes) in start()
/openbmc/qemu/tests/qemu-iotests/
H A Dfat16.py29 def __init__(self, data: bytes):
62 def __init__(self, data: bytes):
141 def __init__(self, data: bytes, sector: int, offset: int):
215 sector_writer: Callable[[int, bytes], None] argument
236 def write_sectors(self, start_sector: int, data: bytes) -> None:
240 self, data: bytes, start_sector: int
364 def write_cluster(self, cluster: int, data: bytes) -> None:
399 def find_free_entry(data: bytes) -> Optional[int]:
614 def write_file(self, entry: FatDirectoryEntry, data: bytes) -> None:
/openbmc/qemu/util/
H A Diov.c26 size_t offset, const void *buf, size_t bytes) in iov_from_buf_full()
44 size_t offset, void *buf, size_t bytes) in iov_to_buf_full()
62 size_t offset, int fillc, size_t bytes) in iov_memset()
144 size_t offset, size_t bytes, in iov_send_recv()
154 size_t bytes, bool do_send) in iov_send_recv_with_flags()
259 size_t offset, size_t bytes) in iov_copy()
428 bool qemu_iovec_is_zero(QEMUIOVector *qiov, size_t offset, size_t bytes) in qemu_iovec_is_zero()
491 void *buf, size_t bytes) in qemu_iovec_to_buf()
497 const void *buf, size_t bytes) in qemu_iovec_from_buf()
503 int fillc, size_t bytes) in qemu_iovec_memset()
[all …]
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_writemeta_unittest.cpp34 std::vector<std::uint8_t> bytes = {0xaa, 0x55}; in TEST_F() local
50 std::vector<std::uint8_t> bytes = {0x01, 0x02, 0x03, 0x04}; in TEST_F() local
H A Dfirmware_write_unittest.cpp40 std::vector<std::uint8_t> bytes = {0xaa, 0x55}; in TEST_F() local
64 std::vector<std::uint8_t> bytes = {0x01, 0x02, 0x03, 0x04}; in TEST_F() local
/openbmc/qemu/include/qemu/
H A Diov.h43 size_t offset, const void *buf, size_t bytes) in iov_from_buf()
56 size_t offset, void *buf, size_t bytes) in iov_to_buf()
126 #define iov_recv(sockfd, iov, iov_cnt, offset, bytes) \ argument
128 #define iov_send(sockfd, iov, iov_cnt, offset, bytes) \ argument
H A Dcoroutine.h297 #define qemu_co_recvv(sockfd, iov, iov_cnt, offset, bytes) \ argument
299 #define qemu_co_sendv(sockfd, iov, iov_cnt, offset, bytes) \ argument
307 #define qemu_co_recv(sockfd, buf, bytes) \ argument
309 #define qemu_co_send(sockfd, buf, bytes) \ argument
/openbmc/qemu/python/qemu/utils/
H A Dqom_fuse.py132 def read(self, path: str, size: int, offset: int, fh: IO[bytes]) -> bytes:
159 fh: Optional[IO[bytes]] = None) -> Mapping[str, object]:
203 def readdir(self, path: str, fh: IO[bytes]) -> Iterator[str]:
/openbmc/libbej/src/
H A Dbej_common.c3 uint64_t bejGetUnsignedInteger(const uint8_t* bytes, uint8_t numOfBytes) in bejGetUnsignedInteger()
68 uint8_t bytes = 0; in bejNnintEncodingSizeOfUInt() local
/openbmc/qemu/include/block/
H A Dblock_int-io.h61 int64_t offset, int64_t bytes, void *buf, BdrvRequestFlags flags) in bdrv_co_pread()
71 int64_t offset, int64_t bytes, const void *buf, BdrvRequestFlags flags) in bdrv_co_pwrite()
/openbmc/qemu/python/qemu/qmp/
H A Dmessage.py63 value: Union[bytes, Mapping[str, object]] = b'{}', *,
145 def _deserialize(cls, data: bytes) -> Dict[str, object]:
180 def __init__(self, error_message: str, raw: bytes):
/openbmc/u-boot/arch/arm/mach-imx/
H A Dhab.c219 static void process_event_record(uint8_t *event_data, size_t bytes) in process_event_record()
229 static void display_event(uint8_t *event_data, size_t bytes) in display_event()
252 size_t bytes = sizeof(event_data); /* Event size in bytes */ in get_hab_status() local
435 static int chk_bounds(u8 *addr, size_t bytes, u8 *start, u8 *end) in chk_bounds()
453 static bool csf_is_valid(struct ivt *ivt, ulong start_addr, size_t bytes) in csf_is_valid()
543 size_t bytes; in imx_hab_authenticate_image() local

1234567891011