Home
last modified time | relevance | path

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

/fs/
A Dioctl.c171 u64 maxbytes = inode->i_sb->s_maxbytes; in fiemap_prep() local
177 if (start >= maxbytes) in fiemap_prep()
183 if (*len > maxbytes || (maxbytes - *len) < start) in fiemap_prep()
184 *len = maxbytes - start; in fiemap_prep()
/fs/smb/server/
A Dunicode.c106 static int smb_utf16_bytes(const __le16 *from, int maxbytes, in smb_utf16_bytes() argument
111 int maxwords = maxbytes / 2; in smb_utf16_bytes()
A Dvfs.c1005 loff_t maxbytes = (u64)inode->i_sb->s_maxbytes, end; in ksmbd_vfs_fqar_lseek() local
1009 if (start > maxbytes) in ksmbd_vfs_fqar_lseek()
1018 if (length > maxbytes || (maxbytes - length) < start) in ksmbd_vfs_fqar_lseek()
1019 length = maxbytes - start; in ksmbd_vfs_fqar_lseek()
/fs/smb/client/
A Dcifs_unicode.h60 int cifs_utf16_bytes(const __le16 *from, int maxbytes,
A Dcifs_unicode.c304 cifs_utf16_bytes(const __le16 *from, int maxbytes, in cifs_utf16_bytes() argument
309 int maxwords = maxbytes / 2; in cifs_utf16_bytes()
/fs/ext4/
A Dfile.c938 loff_t maxbytes = ext4_get_maxbytes(inode); in ext4_llseek() local
943 maxbytes, i_size_read(inode)); in ext4_llseek()
960 return vfs_setpos(file, offset, maxbytes); in ext4_llseek()
A Dextents.c5089 u64 maxbytes = ext4_get_maxbytes(inode); in ext4_fiemap_check_ranges() local
5093 if (start > maxbytes) in ext4_fiemap_check_ranges()
5099 if (*len > maxbytes || (maxbytes - *len) < start) in ext4_fiemap_check_ranges()
5100 *len = maxbytes - start; in ext4_fiemap_check_ranges()
/fs/f2fs/
A Ddata.c1911 loff_t maxbytes; in f2fs_fiemap() local
1925 maxbytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode)); in f2fs_fiemap()
1926 if (start > maxbytes) { in f2fs_fiemap()
1931 if (len > maxbytes || (maxbytes - len) < start) in f2fs_fiemap()
1932 len = maxbytes - start; in f2fs_fiemap()
1948 max_len = F2FS_BYTES_TO_BLK(maxbytes) - start_blk; in f2fs_fiemap()
1970 if (F2FS_BLK_TO_BYTES(start_blk) < maxbytes) in f2fs_fiemap()
A Dfile.c451 loff_t maxbytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode)); in f2fs_seek_block() local
524 return vfs_setpos(file, data_ofs, maxbytes); in f2fs_seek_block()
533 loff_t maxbytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode)); in f2fs_llseek() local
540 maxbytes, i_size_read(inode)); in f2fs_llseek()
/fs/nfsd/
A Dvfs.c1385 u64 maxbytes; in nfsd_commit() local
1399 maxbytes = (u64)fhp->fh_dentry->d_sb->s_maxbytes; in nfsd_commit()
1400 if (offset < maxbytes) { in nfsd_commit()
1402 if (count && (offset + count - 1 < maxbytes)) in nfsd_commit()
/fs/ntfs3/
A Dsuper.c1139 sbi->maxbytes = (clusters << cluster_bits) - 1; in ntfs_init_from_boot()
1143 sbi->maxbytes = -1; in ntfs_init_from_boot()
A Dntfs_fs.h228 u64 maxbytes; // Maximum size for normal files. member
A Dinode.c853 } else if (new_size > sbi->maxbytes) { in ntfs_set_size()

Completed in 50 milliseconds