Searched refs:file_offset (Results 1 - 8 of 8) sorted by relevance

/u-boot/fs/btrfs/
H A Dbtrfs.h22 int btrfs_file_read(struct btrfs_root *root, u64 ino, u64 file_offset, u64 len,
H A Dinode.c525 * Get the first file extent that covers bytenr @file_offset.
527 * @file_offset must be aligned to sectorsize.
535 u64 ino, u64 file_offset, u64 *next_offset)
542 ASSERT(IS_ALIGNED(file_offset, root->fs_info->sectorsize));
545 key.offset = file_offset;
557 /* Now the key.offset must be smaller than @file_offset */
567 if (file_offset == 0)
574 /* This file extent covers @file_offset */
575 if (key.offset <= file_offset && key.offset +
576 btrfs_file_extent_num_bytes(path->nodes[0], fi) > file_offset)
534 lookup_data_extent(struct btrfs_root *root, struct btrfs_path *path, u64 ino, u64 file_offset, u64 *next_offset) argument
660 btrfs_file_read(struct btrfs_root *root, u64 ino, u64 file_offset, u64 len, char *dest) argument
[all...]
/u-boot/common/spl/
H A Dspl_semihosting.c13 static ulong smh_fit_read(struct spl_load_info *load, ulong file_offset, argument
19 if (smh_seek(fd, file_offset))
H A Dspl_blk_fs.c22 static ulong spl_fit_read(struct spl_load_info *load, ulong file_offset, argument
36 ret = fs_read(dev->filename, virt_to_phys(buf), file_offset, size,
H A Dspl_ext.c13 static ulong spl_fit_read(struct spl_load_info *load, ulong file_offset, argument
19 ret = ext4fs_read(buf, file_offset, size, &actlen);
H A Dspl_fat.c49 static ulong spl_fit_read(struct spl_load_info *load, ulong file_offset, argument
56 ret = fat_read_file(filename, buf, file_offset, size, &actread);
/u-boot/drivers/usb/gadget/
H A Df_mass_storage.c704 loff_t file_offset; local
728 file_offset = ((loff_t)lba) << curlun->blkbits;
747 partial_page = file_offset & (PAGE_CACHE_SIZE - 1);
773 lldiv(file_offset, curlun->blksize),
782 (unsigned long long) file_offset,
794 file_offset += nread;
832 loff_t usb_offset, file_offset; local
866 file_offset = usb_offset = ((loff_t)lba) << curlun->blkbits;
947 lldiv(file_offset, curlun->blksize),
955 (unsigned long long) file_offset,
1013 loff_t file_offset; local
[all...]
/u-boot/tools/
H A Dimx8image.c683 fprintf(stdout, "%s file_offset = 0x%x size = 0x%x\n", tmp_name, offset, size);
753 uint32_t file_offset)
773 i, file_offset + size);
775 file_offset + size + container->length -
800 container_start_offset + file_offset;
750 flatten_container_header(imx_header_v3_t *imx_header, uint8_t containers_count, uint32_t *size_out, uint32_t file_offset) argument

Completed in 51 milliseconds