Searched refs:file_end (Results 1 – 7 of 7) sorted by relevance
71 int64_t file_end; member152 s->file_end = s->zero_start = s->data_end = -EINVAL; in preallocate_open()182 if (s->file_end < 0) { in preallocate_truncate_to_real_size()183 s->file_end = bdrv_getlength(bs->file->bs); in preallocate_truncate_to_real_size()184 if (s->file_end < 0) { in preallocate_truncate_to_real_size()185 error_setg_errno(errp, -s->file_end, "Failed to get file length"); in preallocate_truncate_to_real_size()186 return s->file_end; in preallocate_truncate_to_real_size()190 if (s->data_end < s->file_end) { in preallocate_truncate_to_real_size()195 s->file_end = ret; in preallocate_truncate_to_real_size()198 s->file_end = s->data_end; in preallocate_truncate_to_real_size()[all …]
46 file_end=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" "$XIPIMAGE")47 if [ "$file_end" != "$data_end" ]; then49 $(($file_end + $base_offset)) $_edata_loc 1>&2
29 loff_t file_end = (i_size_read(inode) - 1) >> PAGE_SHIFT; in squashfs_readpage_block() local38 if (end_index > file_end) in squashfs_readpage_block()39 end_index = file_end; in squashfs_readpage_block()
454 int file_end = i_size_read(inode) >> msblk->block_log; in squashfs_read_folio() local455 int expected = index == file_end ? in squashfs_read_folio()468 if (index < file_end || squashfs_i(inode)->fragment_block == in squashfs_read_folio()548 loff_t file_end = i_size_read(inode) >> msblk->block_log; in squashfs_readahead() local564 expected = start >> msblk->block_log == file_end ? in squashfs_readahead()582 if (index == file_end && squashfs_i(inode)->fragment_block != in squashfs_readahead()609 if (index == file_end && bytes && last_page) in squashfs_readahead()
62 static void *file_end; /* pointer to the end of the mapped file */ variable117 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()
148 uint64_t file_end; member2084 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()
834 char *file_end; /* Points to AML and indicates when the AML for this particular file ends. */ member