Home
last modified time | relevance | path

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

/fs/
Dioctl.c167 u64 maxbytes = inode->i_sb->s_maxbytes; in fiemap_prep() local
173 if (start >= maxbytes) in fiemap_prep()
179 if (*len > maxbytes || (maxbytes - *len) < start) in fiemap_prep()
180 *len = maxbytes - start; in fiemap_prep()
/fs/ext4/
Dfile.c887 loff_t maxbytes; in ext4_llseek() local
890 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_llseek()
892 maxbytes = inode->i_sb->s_maxbytes; in ext4_llseek()
897 maxbytes, i_size_read(inode)); in ext4_llseek()
914 return vfs_setpos(file, offset, maxbytes); in ext4_llseek()
Dextents.c4950 u64 maxbytes; in ext4_fiemap_check_ranges() local
4953 maxbytes = inode->i_sb->s_maxbytes; in ext4_fiemap_check_ranges()
4955 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_fiemap_check_ranges()
4959 if (start > maxbytes) in ext4_fiemap_check_ranges()
4965 if (*len > maxbytes || (maxbytes - *len) < start) in ext4_fiemap_check_ranges()
4966 *len = maxbytes - start; in ext4_fiemap_check_ranges()
/fs/cifs/
Dcifs_unicode.c306 cifs_utf16_bytes(const __le16 *from, int maxbytes, in cifs_utf16_bytes() argument
311 int maxwords = maxbytes / 2; in cifs_utf16_bytes()
Dcifs_unicode.h95 int cifs_utf16_bytes(const __le16 *from, int maxbytes,
/fs/f2fs/
Ddata.c1899 loff_t maxbytes; in f2fs_fiemap() local
1913 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_fiemap()
1914 if (start > maxbytes) { in f2fs_fiemap()
1919 if (len > maxbytes || (maxbytes - len) < start) in f2fs_fiemap()
1920 len = maxbytes - start; in f2fs_fiemap()
Dfile.c407 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_seek_block() local
480 return vfs_setpos(file, data_ofs, maxbytes); in f2fs_seek_block()
489 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_llseek() local
492 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_llseek()
499 maxbytes, i_size_read(inode)); in f2fs_llseek()