Home
last modified time | relevance | path

Searched refs:isize (Results 1 – 25 of 51) sorted by relevance

123

/linux-4.19.296/include/linux/
Dlz4.h61 #define LZ4_COMPRESSBOUND(isize) (\ argument
62 (unsigned int)(isize) > (unsigned int)LZ4_MAX_INPUT_SIZE \
64 : (isize) + ((isize)/255) + 16)
170 static inline int LZ4_compressBound(size_t isize) in LZ4_compressBound() argument
172 return LZ4_COMPRESSBOUND(isize); in LZ4_compressBound()
Dppp-comp.h54 unsigned char *obuf, int isize, int osize);
74 int (*decompress) (void *state, unsigned char *ibuf, int isize,
/linux-4.19.296/fs/romfs/
Dmmap-nommu.c30 unsigned long isize, offset, maxpages, lpages; in romfs_get_unmapped_area() local
38 isize = i_size_read(inode); in romfs_get_unmapped_area()
41 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; in romfs_get_unmapped_area()
/linux-4.19.296/include/net/
Dslhc_vj.h178 int slhc_compress(struct slcompress *comp, unsigned char *icp, int isize,
180 int slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize);
181 int slhc_remember(struct slcompress *comp, unsigned char *icp, int isize);
/linux-4.19.296/fs/xfs/scrub/
Dinode.c216 unsigned long long isize; in xchk_dinode() local
317 isize = be64_to_cpu(dip->di_size); in xchk_dinode()
318 if (isize & (1ULL << 63)) in xchk_dinode()
322 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode()
326 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode()
330 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode()
339 if (isize >= mp->m_super->s_maxbytes) in xchk_dinode()
/linux-4.19.296/fs/quota/
Dquota_v1.c133 loff_t isize; in v1_check_quota_file() local
136 isize = i_size_read(inode); in v1_check_quota_file()
137 if (!isize) in v1_check_quota_file()
139 blocks = isize >> BLOCK_SIZE_BITS; in v1_check_quota_file()
140 off = isize & (BLOCK_SIZE - 1); in v1_check_quota_file()
/linux-4.19.296/fs/udf/
Dfile.c46 loff_t isize = i_size_read(inode); in __udf_adinicb_readpage() local
53 memcpy(kaddr, iinfo->i_data + iinfo->i_lenEAttr, isize); in __udf_adinicb_readpage()
54 memset(kaddr + isize, 0, PAGE_SIZE - isize); in __udf_adinicb_readpage()
/linux-4.19.296/fs/xfs/
Dxfs_file.c296 loff_t isize; in xfs_file_aio_write_checks() local
333 isize = i_size_read(inode); in xfs_file_aio_write_checks()
334 if (iocb->ki_pos > isize) { in xfs_file_aio_write_checks()
356 trace_xfs_zero_eof(ip, isize, iocb->ki_pos - isize); in xfs_file_aio_write_checks()
357 error = iomap_zero_range(inode, isize, iocb->ki_pos - isize, in xfs_file_aio_write_checks()
848 loff_t isize = i_size_read(inode); in xfs_file_fallocate() local
859 if (inode->i_sb->s_maxbytes - isize < len) { in xfs_file_fallocate()
863 new_size = isize + len; in xfs_file_fallocate()
866 if (offset >= isize) { in xfs_file_fallocate()
Dxfs_reflink.c1262 loff_t isize = i_size_read(VFS_I(ip)); in xfs_reflink_zero_posteof() local
1264 if (pos <= isize) in xfs_reflink_zero_posteof()
1267 trace_xfs_zero_eof(ip, isize, pos - isize); in xfs_reflink_zero_posteof()
1268 return iomap_zero_range(VFS_I(ip), isize, pos - isize, NULL, in xfs_reflink_zero_posteof()
1501 xfs_off_t isize) in xfs_reflink_dirty_extents() argument
1547 if (fpos + flen > isize) in xfs_reflink_dirty_extents()
1548 flen = isize - fpos; in xfs_reflink_dirty_extents()
1706 xfs_off_t isize; in xfs_reflink_unshare() local
1719 isize = i_size_read(VFS_I(ip)); in xfs_reflink_unshare()
1721 error = xfs_reflink_dirty_extents(ip, fbno, end, isize); in xfs_reflink_unshare()
Dxfs_pnfs.c202 xfs_off_t isize) in xfs_pnfs_validate_isize() argument
209 error = xfs_bmapi_read(ip, XFS_B_TO_FSBT(ip->i_mount, isize - 1), 1, in xfs_pnfs_validate_isize()
Dxfs_aops.c170 xfs_fsize_t isize; in __xfs_setfilesize() local
173 isize = xfs_new_eof(ip, offset + size); in __xfs_setfilesize()
174 if (!isize) { in __xfs_setfilesize()
182 ip->i_d.di_size = isize; in __xfs_setfilesize()
/linux-4.19.296/fs/ramfs/
Dfile-nommu.c212 loff_t isize; in ramfs_nommu_get_unmapped_area() local
216 isize = i_size_read(inode); in ramfs_nommu_get_unmapped_area()
219 maxpages = (isize + PAGE_SIZE - 1) >> PAGE_SHIFT; in ramfs_nommu_get_unmapped_area()
/linux-4.19.296/fs/reiserfs/
Dxattr.c652 size_t isize; in reiserfs_xattr_get() local
683 isize = i_size_read(d_inode(dentry)); in reiserfs_xattr_get()
687 err = isize - sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_get()
691 if (buffer_size < isize - sizeof(struct reiserfs_xattr_header)) { in reiserfs_xattr_get()
696 while (file_pos < isize) { in reiserfs_xattr_get()
701 if (isize - file_pos > PAGE_SIZE) in reiserfs_xattr_get()
704 chunk = isize - file_pos; in reiserfs_xattr_get()
739 err = isize - sizeof(struct reiserfs_xattr_header); in reiserfs_xattr_get()
741 if (xattr_hash(buffer, isize - sizeof(struct reiserfs_xattr_header)) != in reiserfs_xattr_get()
/linux-4.19.296/fs/
Dioctl.c287 loff_t isize = i_size_read(inode); in __generic_block_fiemap() local
302 if (len >= isize) { in __generic_block_fiemap()
304 len = isize; in __generic_block_fiemap()
341 blk_to_logical(inode, start_blk) >= isize) in __generic_block_fiemap()
409 if (!past_eof && logical + size >= isize) in __generic_block_fiemap()
Dread_write.c1761 loff_t isize; in vfs_clone_file_prep_inodes() local
1779 isize = i_size_read(inode_in); in vfs_clone_file_prep_inodes()
1780 if (isize == 0) in vfs_clone_file_prep_inodes()
1785 if (is_dedupe || pos_in == isize) in vfs_clone_file_prep_inodes()
1787 if (pos_in > isize) in vfs_clone_file_prep_inodes()
1789 *len = isize - pos_in; in vfs_clone_file_prep_inodes()
1794 pos_in + *len > isize) in vfs_clone_file_prep_inodes()
1807 if (pos_in + *len == isize) in vfs_clone_file_prep_inodes()
1808 blen = ALIGN(isize, bs) - pos_in; in vfs_clone_file_prep_inodes()
/linux-4.19.296/drivers/isdn/i4l/
Disdn_bsdcomp.c468 int isize = skb_in->len; in bsd_compress() local
510 ilen = ++isize; /* This is off by one, but that is what is in draft! */ in bsd_compress()
586 db->uncomp_bytes += isize; in bsd_compress()
587 db->in_count += isize; in bsd_compress()
619 db->incomp_bytes += isize; in bsd_compress()
/linux-4.19.296/fs/jffs2/
Dreadinode.c746 if (unlikely(je32_to_cpu(rd->offset) > je32_to_cpu(rd->isize)) || in read_dnode()
1213 latest_node->isize = cpu_to_je32(0); in jffs2_do_read_inode_internal()
1248 new_size = jffs2_truncate_fragtree(c, &f->fragtree, je32_to_cpu(latest_node->isize)); in jffs2_do_read_inode_internal()
1249 if (new_size != je32_to_cpu(latest_node->isize)) { in jffs2_do_read_inode_internal()
1251 f->inocache->ino, je32_to_cpu(latest_node->isize), new_size); in jffs2_do_read_inode_internal()
1252 latest_node->isize = cpu_to_je32(new_size); in jffs2_do_read_inode_internal()
1261 if (!je32_to_cpu(latest_node->isize)) in jffs2_do_read_inode_internal()
1262 latest_node->isize = latest_node->dsize; in jffs2_do_read_inode_internal()
Dfile.c171 ri.isize = cpu_to_je32((uint32_t)pos); in jffs2_write_begin()
294 ri->isize = cpu_to_je32((uint32_t)inode->i_size); in jffs2_write_end()
Dwrite.c177 (je32_to_cpu(ri->dsize)+je32_to_cpu(ri->offset) == je32_to_cpu(ri->isize)))) { in jffs2_write_dnode()
382 ri->isize = cpu_to_je32(max(je32_to_cpu(ri->isize), offset + datalen)); in jffs2_write_inode_range()
/linux-4.19.296/fs/jfs/
Dinode.c352 loff_t isize = i_size_read(inode); in jfs_direct_IO() local
355 if (end > isize) in jfs_direct_IO()
/linux-4.19.296/include/uapi/linux/
Djffs2.h151 jint32_t isize; /* Total resultant size of this inode (used for truncations) */ member
/linux-4.19.296/fs/hugetlbfs/
Dinode.c265 loff_t isize; in hugetlbfs_read_iter() local
274 isize = i_size_read(inode); in hugetlbfs_read_iter()
275 if (!isize) in hugetlbfs_read_iter()
277 end_index = (isize - 1) >> huge_page_shift(h); in hugetlbfs_read_iter()
281 nr = ((isize - 1) & ~huge_page_mask(h)) + 1; in hugetlbfs_read_iter()
/linux-4.19.296/drivers/media/tuners/
Dtuner-xc2028.c134 #define i2c_send_recv(priv, obuf, osize, ibuf, isize) ({ \ argument
137 ibuf, isize); \
138 if (isize != _rc) \
140 _rc, (int)isize); \
/linux-4.19.296/fs/ubifs/
Dfile.c738 loff_t isize; in ubifs_do_bulk_read() local
790 isize = i_size_read(inode); in ubifs_do_bulk_read()
791 if (isize == 0) in ubifs_do_bulk_read()
793 end_index = ((isize - 1) >> PAGE_SHIFT); in ubifs_do_bulk_read()
/linux-4.19.296/include/trace/events/
Dbtrfs.h305 __field( loff_t, isize )
321 __entry->isize = bi->vfs_inode.i_size;
341 __entry->isize,
360 __field( loff_t, isize )
372 __entry->isize = bi->vfs_inode.i_size;
384 show_root_type(__entry->root_obj), __entry->ino, __entry->isize,

123