Searched refs:file_sz (Results 1 – 3 of 3) sorted by relevance
86 check_content_dealloc(int fd, off_t hole_start, off_t hole_len, off_t file_sz) in check_content_dealloc() argument106 if ((uint64_t)hole_start + hole_len > (uint64_t)file_sz) in check_content_dealloc()107 hole_len = file_sz - hole_start; in check_content_dealloc()153 resid = file_sz - offset; in check_content_dealloc()173 if (statbuf.st_size != file_sz) in check_content_dealloc()
124 uint64_t file_sz; in zfs_holey_common() local128 file_sz = zp->z_size; in zfs_holey_common()129 if (noff >= file_sz) { in zfs_holey_common()139 if (zn_has_cached_data(zp, 0, file_sz - 1)) in zfs_holey_common()152 *off = file_sz; in zfs_holey_common()164 if (noff > file_sz) { in zfs_holey_common()166 noff = file_sz; in zfs_holey_common()
6105 off_t off, len, file_sz; in zfs_deallocate() local6123 file_sz = zp->z_size; in zfs_deallocate()6124 if (off + len > file_sz) in zfs_deallocate()6125 len = file_sz - off; in zfs_deallocate()