Home
last modified time | relevance | path

Searched refs:file_end (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/block/
H A Dpreallocate.c71 int64_t file_end; member
182 if (s->file_end < 0) { in preallocate_truncate_to_real_size()
184 if (s->file_end < 0) { in preallocate_truncate_to_real_size()
186 return s->file_end; in preallocate_truncate_to_real_size()
195 s->file_end = ret; in preallocate_truncate_to_real_size()
309 assert(s->file_end < 0); in has_prealloc_perms()
345 if (s->file_end < 0) { in handle_write()
361 if (s->file_end < 0) { in handle_write()
370 if (end <= s->file_end) { in handle_write()
378 want_merge_zero ? MIN(offset, s->file_end) : s->file_end, in handle_write()
[all …]
/openbmc/linux/arch/arm/boot/
H A Ddeflate_xip_data.sh46 file_end=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" "$XIPIMAGE")
47 if [ "$file_end" != "$data_end" ]; then
49 $(($file_end + $base_offset)) $_edata_loc 1>&2
/openbmc/linux/fs/squashfs/
H A Dfile_direct.c29 int file_end = (i_size_read(inode) - 1) >> PAGE_SHIFT; in squashfs_readpage_block() local
38 if (end_index > file_end) in squashfs_readpage_block()
39 end_index = file_end; in squashfs_readpage_block()
H A Dfile.c454 int file_end = i_size_read(inode) >> msblk->block_log; in squashfs_read_folio() local
455 int expected = index == file_end ? in squashfs_read_folio()
468 if (index < file_end || squashfs_i(inode)->fragment_block == in squashfs_read_folio()
547 int i, file_end = i_size_read(inode) >> msblk->block_log; in squashfs_readahead() local
563 expected = start >> msblk->block_log == file_end ? in squashfs_readahead()
581 if (index == file_end && squashfs_i(inode)->fragment_block != in squashfs_readahead()
608 if (index == file_end && bytes && last_page) in squashfs_readahead()
/openbmc/linux/scripts/
H A Drecordmcount.c62 static void *file_end; /* pointer to the end of the mapped file */ variable
117 if (file_ptr + count >= file_end) { in uwrite()
118 off_t aoffset = (file_ptr + count) - file_end; in uwrite()
133 if (file_ptr < file_end) { in uwrite()
134 cnt = file_end - file_ptr; in uwrite()
220 file_end = file_map + sb.st_size; in mmap_file()
/openbmc/u-boot/fs/zfs/
H A Dzfs.c148 uint64_t file_end; member
2084 data->file_start = data->file_end = 0; in zfs_read()
2091 && file->offset + len <= data->file_end) { in zfs_read()
2125 data->file_end = data->file_start + blksz; in zfs_read()
2127 movesize = min(length, data->file_end - (int)file->offset - red); in zfs_read()
/openbmc/linux/drivers/acpi/acpica/
H A Daclocal.h834 char *file_end; /* Points to AML and indicates when the AML for this particular file ends. */ member