| /linux/drivers/comedi/drivers/ |
| H A D | ni_labpc_isadma.c | 26 unsigned int maxbytes) in labpc_suggest_transfer_size() argument 43 if (size > maxbytes) in labpc_suggest_transfer_size() 44 size = maxbytes; in labpc_suggest_transfer_size()
|
| H A D | das1800.c | 745 unsigned int maxbytes, in das1800_ai_transfer_size() argument 749 unsigned int max_samples = comedi_bytes_to_samples(s, maxbytes); in das1800_ai_transfer_size()
|
| /linux/fs/ |
| H A D | ioctl.c | 171 u64 maxbytes = inode->i_sb->s_maxbytes; in fiemap_prep() 177 if (start >= maxbytes) in fiemap_prep() 183 if (*len > maxbytes || (maxbytes - *len) < start) in fiemap_prep() 184 *len = maxbytes - start; in fiemap_prep() 170 u64 maxbytes = inode->i_sb->s_maxbytes; fiemap_prep() local
|
| /linux/include/linux/ |
| H A D | libps2.h | 65 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout);
|
| /linux/fs/smb/client/ |
| H A D | cifs_unicode.h | 60 int cifs_utf16_bytes(const __le16 *from, int maxbytes,
|
| H A D | cifs_unicode.c | 282 * @maxbytes - don't go past this many bytes of input string 287 * termination required. Don't walk past maxbytes in the source buffer. 290 cifs_utf16_bytes(const __le16 *from, int maxbytes, in cifs_utf16_bytes() argument 295 int maxwords = maxbytes / 2; in cifs_utf16_bytes() 574 * @maxbytes - don't go past this many bytes of input string 579 * termination required. Don't walk past maxbytes in the source buffer.
|
| /linux/fs/smb/server/ |
| H A D | unicode.c | 106 static int smb_utf16_bytes(const __le16 *from, int maxbytes, in smb_utf16_bytes() argument 111 int maxwords = maxbytes / 2; in smb_utf16_bytes()
|
| H A D | vfs.c | 1196 loff_t maxbytes = inode->i_sb->s_maxbytes, size; in ksmbd_vfs_remove_xattr() 1203 if (start > maxbytes) in ksmbd_vfs_unlink() 1207 if (length > maxbytes || maxbytes - length < start) in ksmbd_vfs_unlink() 1208 length = maxbytes - start; in ksmbd_vfs_unlink() 1121 loff_t maxbytes = inode->i_sb->s_maxbytes, size; ksmbd_vfs_query_allocated_ranges() local
|
| /linux/security/keys/ |
| H A D | proc.c | 309 unsigned maxbytes = uid_eq(user->uid, GLOBAL_ROOT_UID) ? in proc_key_users_show() local 320 maxbytes); in proc_key_users_show()
|
| H A D | key.c | 262 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in key_alloc() 268 user->qnbytes + quotalen > maxbytes || in key_alloc() 385 unsigned maxbytes = uid_eq(key->user->uid, GLOBAL_ROOT_UID) ? in key_payload_reserve() 392 (key->user->qnbytes + delta > maxbytes || in key_payload_reserve() 260 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? key_alloc() local 383 unsigned maxbytes = uid_eq(key->user->uid, GLOBAL_ROOT_UID) ? key_payload_reserve() local
|
| H A D | keyctl.c | 1010 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in keyctl_chown_key() 1015 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key() 1011 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? keyctl_chown_key() local
|
| /linux/fs/ext4/ |
| H A D | file.c | 1030 * ext4_llseek() handles both block-mapped and extent-mapped maxbytes values in ext4_llseek() 1031 * by calling generic_file_llseek_size() with the appropriate maxbytes in ext4_llseek() 1037 loff_t maxbytes = ext4_get_maxbytes(inode); 1042 maxbytes, i_size_read(inode)); 1059 return vfs_setpos(file, offset, maxbytes); 1010 loff_t maxbytes = ext4_get_maxbytes(inode); ext4_llseek() local
|
| H A D | extents.c | 5394 u64 maxbytes = ext4_get_maxbytes(inode); 5398 if (start > maxbytes) in ext4_ext_shift_path_extents() 5404 if (*len > maxbytes || (maxbytes - *len) < start) in ext4_ext_shift_path_extents() 5405 *len = maxbytes - start; in ext4_ext_shift_path_extents() 5292 u64 maxbytes = ext4_get_maxbytes(inode); ext4_fiemap_check_ranges() local
|
| /linux/fs/ntfs3/ |
| H A D | file.c | 1562 loff_t maxbytes = ntfs_get_maxbytes(ni); in ntfs_llseek() 1566 ret = generic_file_llseek_size(file, offset, whence, maxbytes, in ntfs_llseek() 1577 ret = vfs_setpos(file, ret, maxbytes); 1554 loff_t maxbytes = ntfs_get_maxbytes(ni); ntfs_llseek() local
|
| H A D | ntfs_fs.h | 236 u64 maxbytes; // Maximum size for normal files. 1208 sbi->maxbytes; 234 u64 maxbytes; // Maximum size for normal files. global() member
|
| H A D | super.c | 1254 sbi->maxbytes = (clusters << cluster_bits) - 1; in ntfs_init_from_boot() 1258 sbi->maxbytes = MAX_LFS_FILESIZE; in ntfs_init_from_boot()
|
| H A D | inode.c | 902 } else if (new_size > sbi->maxbytes) { in ntfs_set_size()
|
| /linux/fs/f2fs/ |
| H A D | data.c | 2288 loff_t maxbytes; in f2fs_read_single_page() 2302 maxbytes = F2FS_BLK_TO_BYTES(sbi, max_file_blocks(sbi, inode)); in f2fs_read_single_page() 2303 if (start > maxbytes) { in f2fs_read_single_page() 2308 if (len > maxbytes || (maxbytes - len) < start) in f2fs_read_single_page() 2309 len = maxbytes - start; in f2fs_read_single_page() 2325 max_len = F2FS_BYTES_TO_BLK(sbi, maxbytes) - start_blk; in f2fs_read_multi_pages() 2347 if (F2FS_BLK_TO_BYTES(sbi, start_blk) < maxbytes) in f2fs_read_multi_pages() 2055 loff_t maxbytes; f2fs_fiemap() local
|
| H A D | file.c | 524 loff_t maxbytes = F2FS_BLK_TO_BYTES(F2FS_I_SB(inode), in f2fs_seek_block() 599 return vfs_setpos(file, data_ofs, maxbytes); in f2fs_llseek() 608 loff_t maxbytes = F2FS_BLK_TO_BYTES(F2FS_I_SB(inode), in f2fs_llseek() 616 maxbytes, i_size_read(inode)); in f2fs_file_mmap_prepare() 516 loff_t maxbytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode)); f2fs_seek_block() local 598 loff_t maxbytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode)); f2fs_llseek() local
|
| /linux/fs/nfsd/ |
| H A D | vfs.c | 1642 u64 maxbytes; 1656 maxbytes = (u64)fhp->fh_dentry->d_sb->s_maxbytes; 1657 if (offset < maxbytes) { 1659 if (count && (offset + count - 1 < maxbytes)) 1668 u64 maxbytes; nfsd_commit() local
|
| /linux/Documentation/security/keys/ |
| H A D | core.rst | 346 /proc/sys/kernel/keys/maxbytes
|