| /openbmc/qemu/block/ |
| H A D | vhdx-endian.c | 83 d->file_offset = le64_to_cpu(d->file_offset); in vhdx_log_desc_le_import() 94 d->file_offset = cpu_to_le64(d->file_offset); in vhdx_log_desc_le_export() 171 e->file_offset = le64_to_cpu(e->file_offset); in vhdx_region_entry_le_import() 181 e->file_offset = cpu_to_le64(e->file_offset); in vhdx_region_entry_le_export()
|
| H A D | vhdx.c | 138 uint64_t file_offset; /* absolute offset in bytes, in file */ member 571 ret = vhdx_region_check(s, rt_entry.file_offset, rt_entry.length); in vhdx_open_region_tables() 576 vhdx_region_register(s, rt_entry.file_offset, rt_entry.length); in vhdx_open_region_tables() 650 ret = bdrv_pread(bs->file, s->metadata_rt.file_offset, in vhdx_parse_metadata() 755 + s->metadata_rt.file_offset, in vhdx_parse_metadata() 791 + s->metadata_rt.file_offset, in vhdx_parse_metadata() 800 + s->metadata_rt.file_offset, in vhdx_parse_metadata() 809 + s->metadata_rt.file_offset, in vhdx_parse_metadata() 1067 s->bat_offset = s->bat_rt.file_offset; in vhdx_open() 1152 sinfo->file_offset = s->bat[sinfo->bat_idx] & VHDX_BAT_FILE_OFF_MASK; in vhdx_block_translate() [all …]
|
| H A D | vhdx-log.c | 283 if (desc->file_offset % VHDX_LOG_SECTOR_SIZE) { in vhdx_log_desc_is_valid() 422 uint64_t seq, file_offset; in vhdx_log_flush_desc() local 469 file_offset = desc->file_offset; in vhdx_log_flush_desc() 473 ret = bdrv_pwrite_sync(bs->file, file_offset, VHDX_LOG_SECTOR_SIZE, in vhdx_log_flush_desc() 478 file_offset += VHDX_LOG_SECTOR_SIZE; in vhdx_log_flush_desc() 877 uint64_t file_offset; in vhdx_log_write() local 912 file_offset = QEMU_ALIGN_DOWN(offset, VHDX_LOG_SECTOR_SIZE); in vhdx_log_write() 975 new_desc->file_offset = file_offset; in vhdx_log_write() 979 ret = bdrv_co_pread(bs->file, file_offset, VHDX_LOG_SECTOR_SIZE, in vhdx_log_write() 989 ret = bdrv_co_pread(bs->file, file_offset + trailing_length, in vhdx_log_write() [all …]
|
| H A D | vhdx.h | 154 uint64_t file_offset; /* offset of the object in the file. member 203 uint64_t file_offset; /* file offset to write zeros - multiple member
|
| /openbmc/qemu/replay/ |
| H A D | replay-snapshot.c | 25 state->file_offset = ftell(replay_file); in replay_pre_save() 34 fseek(replay_file, state->file_offset, SEEK_SET); in replay_post_load() 61 VMSTATE_UINT64(file_offset, ReplayState),
|
| H A D | replay-internal.h | 96 uint64_t file_offset; member
|
| /openbmc/ipmitool/lib/ |
| H A D | ipmi_ekanalyzer.c | 2403 size_t file_offset = 0; in ipmi_ek_display_fru_header_detail() local 2483 file_offset = ftell(input_file); in ipmi_ek_display_fru_header_detail() 2541 file_offset = ipmi_ek_display_board_info_area( in ipmi_ek_display_fru_header_detail() 2543 ret = fseek(input_file, file_offset, SEEK_SET); in ipmi_ek_display_fru_header_detail() 2545 file_offset = ipmi_ek_display_board_info_area( in ipmi_ek_display_fru_header_detail() 2547 ret = fseek(input_file, file_offset, SEEK_SET); in ipmi_ek_display_fru_header_detail() 2549 file_offset = ipmi_ek_display_board_info_area( in ipmi_ek_display_fru_header_detail() 2551 ret = fseek(input_file, file_offset, SEEK_SET); in ipmi_ek_display_fru_header_detail() 2553 file_offset = ipmi_ek_display_board_info_area( in ipmi_ek_display_fru_header_detail() 2555 ret = fseek(input_file, file_offset, SEEK_SET); in ipmi_ek_display_fru_header_detail() [all …]
|
| /openbmc/u-boot/common/spl/ |
| H A D | spl_fat.c | 41 static ulong spl_fit_read(struct spl_load_info *load, ulong file_offset, in spl_fit_read() argument 48 ret = fat_read_file(filename, buf, file_offset, size, &actread); in spl_fit_read()
|
| /openbmc/u-boot/drivers/usb/gadget/ |
| H A D | f_mass_storage.c | 690 loff_t file_offset; in do_read() local 714 file_offset = ((loff_t) lba) << 9; in do_read() 732 partial_page = file_offset & (PAGE_CACHE_SIZE - 1); in do_read() 758 file_offset / SECTOR_SIZE, in do_read() 767 (unsigned long long) file_offset, in do_read() 779 file_offset += nread; in do_read() 817 loff_t usb_offset, file_offset; in do_write() local 851 file_offset = usb_offset = ((loff_t) lba) << 9; in do_write() 932 file_offset / SECTOR_SIZE, in do_write() 940 (unsigned long long) file_offset, in do_write() [all …]
|
| /openbmc/u-boot/tools/ |
| H A D | imx8image.c | 707 uint32_t file_offset) in flatten_container_header() argument 727 i, file_offset + size); in flatten_container_header() 729 file_offset + size + container->length - in flatten_container_header() 754 container_start_offset + file_offset; in flatten_container_header()
|
| /openbmc/qemu/migration/ |
| H A D | multifd.h | 136 off_t file_offset; member
|
| H A D | file.c | 259 data->size, data->file_offset, errp); in multifd_file_recv_data()
|
| H A D | ram.c | 3952 data->file_offset = offset; in ram_load_multifd_pages()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/ |
| H A D | 0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch | 430 offset = handle->cpu_data[cpu].file_offset + 450 - if (lseek64(handle->fd, cpu_data->file_offset, SEEK_SET) == (off_t)-1) 452 + if (lseek(handle->fd, cpu_data->file_offset, SEEK_SET) == (off_t)-1) 464 cpu_data->file_offset = handle->next_offset; 469 - if (lseek64(handle->fd, cpu_data->file_offset, SEEK_SET) == (off_t)-1) 470 + if (lseek(handle->fd, cpu_data->file_offset, SEEK_SET) == (off_t)-1)
|