Home
last modified time | relevance | path

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

/linux/drivers/comedi/drivers/
H A Dni_labpc_isadma.c26 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 Ddas1800.c745 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 Dioctl.c170 u64 maxbytes = inode->i_sb->s_maxbytes; in fiemap_prep() local
176 if (start >= maxbytes) in fiemap_prep()
182 if (*len > maxbytes || (maxbytes - *len) < start) in fiemap_prep()
183 *len = maxbytes - start; in fiemap_prep()
/linux/include/linux/
H A Dlibps2.h65 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout);
/linux/fs/smb/client/
H A Dcifs_unicode.h60 int cifs_utf16_bytes(const __le16 *from, int maxbytes,
H A Dcifs_unicode.c290 cifs_utf16_bytes(const __le16 *from, int maxbytes, in cifs_utf16_bytes() argument
295 int maxwords = maxbytes / 2; in cifs_utf16_bytes()
/linux/fs/smb/server/
H 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()
H A Dvfs.c955 loff_t maxbytes = (u64)inode->i_sb->s_maxbytes, end; in ksmbd_vfs_fqar_lseek() local
959 if (start > maxbytes) in ksmbd_vfs_fqar_lseek()
968 if (length > maxbytes || (maxbytes - length) < start) in ksmbd_vfs_fqar_lseek()
969 length = maxbytes - start; in ksmbd_vfs_fqar_lseek()
/linux/security/keys/
H A Dproc.c309 unsigned maxbytes = uid_eq(user->uid, GLOBAL_ROOT_UID) ? in proc_key_users_show() local
320 maxbytes); in proc_key_users_show()
H A Dkey.c260 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in key_alloc() local
266 user->qnbytes + quotalen > maxbytes || in key_alloc()
383 unsigned maxbytes = uid_eq(key->user->uid, GLOBAL_ROOT_UID) ? in key_payload_reserve() local
390 (key->user->qnbytes + delta > maxbytes || in key_payload_reserve()
H A Dkeyctl.c1011 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in keyctl_chown_key() local
1016 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key()
/linux/fs/ext4/
H A Dfile.c1010 loff_t maxbytes = ext4_get_maxbytes(inode); in ext4_llseek() local
1015 maxbytes, i_size_read(inode)); in ext4_llseek()
1032 return vfs_setpos(file, offset, maxbytes); in ext4_llseek()
H A Dextents.c5292 u64 maxbytes = ext4_get_maxbytes(inode); in ext4_fiemap_check_ranges() local
5296 if (start > maxbytes) in ext4_fiemap_check_ranges()
5302 if (*len > maxbytes || (maxbytes - *len) < start) in ext4_fiemap_check_ranges()
5303 *len = maxbytes - start; in ext4_fiemap_check_ranges()
/linux/fs/ntfs3/
H A Dfile.c1554 loff_t maxbytes = ntfs_get_maxbytes(ni); in ntfs_llseek() local
1558 ret = generic_file_llseek_size(file, offset, whence, maxbytes, in ntfs_llseek()
1569 ret = vfs_setpos(file, ret, maxbytes); in ntfs_llseek()
H A Dntfs_fs.h231 u64 maxbytes; // Maximum size for normal files. member
1203 sbi->maxbytes; in ntfs_get_maxbytes()
H A Dsuper.c1209 sbi->maxbytes = (clusters << cluster_bits) - 1; in ntfs_init_from_boot()
1213 sbi->maxbytes = -1; in ntfs_init_from_boot()
H A Dinode.c895 } else if (new_size > sbi->maxbytes) { in ntfs_set_size()
/linux/fs/nfsd/
H A Dvfs.c1677 u64 maxbytes; in nfsd_commit() local
1691 maxbytes = (u64)fhp->fh_dentry->d_sb->s_maxbytes; in nfsd_commit()
1692 if (offset < maxbytes) { in nfsd_commit()
1694 if (count && (offset + count - 1 < maxbytes)) in nfsd_commit()
/linux/Documentation/security/keys/
H A Dcore.rst343 /proc/sys/kernel/keys/maxbytes