Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/comedi/drivers/
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()
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-v6.1/drivers/input/serio/
Dlibps2.c123 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout) in ps2_drain() argument
125 if (maxbytes > sizeof(ps2dev->cmdbuf)) { in ps2_drain()
127 maxbytes = sizeof(ps2dev->cmdbuf); in ps2_drain()
134 ps2dev->cmdcnt = maxbytes; in ps2_drain()
/Linux-v6.1/fs/ksmbd/
Dunicode.c29 static int smb_utf16_bytes(const __le16 *from, int maxbytes, in smb_utf16_bytes() argument
34 int maxwords = maxbytes / 2; in smb_utf16_bytes()
Dvfs.c1026 loff_t maxbytes = (u64)inode->i_sb->s_maxbytes, end; in ksmbd_vfs_fqar_lseek() local
1030 if (start > maxbytes) in ksmbd_vfs_fqar_lseek()
1039 if (length > maxbytes || (maxbytes - length) < start) in ksmbd_vfs_fqar_lseek()
1040 length = maxbytes - start; in ksmbd_vfs_fqar_lseek()
/Linux-v6.1/fs/
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-v6.1/fs/ext4/
Dfile.c904 loff_t maxbytes; in ext4_llseek() local
907 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_llseek()
909 maxbytes = inode->i_sb->s_maxbytes; in ext4_llseek()
914 maxbytes, i_size_read(inode)); in ext4_llseek()
931 return vfs_setpos(file, offset, maxbytes); in ext4_llseek()
Dextents.c4924 u64 maxbytes; in ext4_fiemap_check_ranges() local
4927 maxbytes = inode->i_sb->s_maxbytes; in ext4_fiemap_check_ranges()
4929 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_fiemap_check_ranges()
4933 if (start > maxbytes) in ext4_fiemap_check_ranges()
4939 if (*len > maxbytes || (maxbytes - *len) < start) in ext4_fiemap_check_ranges()
4940 *len = maxbytes - start; in ext4_fiemap_check_ranges()
/Linux-v6.1/include/linux/
Dlibps2.h50 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout);
/Linux-v6.1/security/keys/
Dproc.c309 unsigned maxbytes = uid_eq(user->uid, GLOBAL_ROOT_UID) ? in proc_key_users_show() local
320 maxbytes); in proc_key_users_show()
Dkey.c260 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in key_alloc() local
266 user->qnbytes + quotalen > maxbytes || in key_alloc()
381 unsigned maxbytes = uid_eq(key->user->uid, GLOBAL_ROOT_UID) ? in key_payload_reserve() local
387 (key->user->qnbytes + delta > maxbytes || in key_payload_reserve()
Dkeyctl.c1005 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in keyctl_chown_key() local
1010 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key()
/Linux-v6.1/fs/cifs/
Dcifs_unicode.c305 cifs_utf16_bytes(const __le16 *from, int maxbytes, in cifs_utf16_bytes() argument
310 int maxwords = maxbytes / 2; in cifs_utf16_bytes()
Dcifs_unicode.h95 int cifs_utf16_bytes(const __le16 *from, int maxbytes,
/Linux-v6.1/fs/nfsd/
Dvfs.c1155 u64 maxbytes; in nfsd_commit() local
1174 maxbytes = (u64)fhp->fh_dentry->d_sb->s_maxbytes; in nfsd_commit()
1175 if (offset < maxbytes) { in nfsd_commit()
1177 if (count && (offset + count - 1 < maxbytes)) in nfsd_commit()
/Linux-v6.1/fs/f2fs/
Ddata.c1896 loff_t maxbytes; in f2fs_fiemap() local
1910 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_fiemap()
1911 if (start > maxbytes) { in f2fs_fiemap()
1916 if (len > maxbytes || (maxbytes - len) < start) in f2fs_fiemap()
1917 len = maxbytes - start; in f2fs_fiemap()
Dfile.c418 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_seek_block() local
491 return vfs_setpos(file, data_ofs, maxbytes); in f2fs_seek_block()
500 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_llseek() local
503 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_llseek()
510 maxbytes, i_size_read(inode)); in f2fs_llseek()
/Linux-v6.1/fs/ntfs3/
Dsuper.c861 sbi->maxbytes = (clusters << sbi->cluster_bits) - 1; in ntfs_init_from_boot()
865 sbi->maxbytes = -1; in ntfs_init_from_boot()
Dntfs_fs.h218 u64 maxbytes; // Maximum size for normal files. member
Dinode.c809 } else if (new_size > sbi->maxbytes) { in ntfs_set_size()
/Linux-v6.1/Documentation/security/keys/
Dcore.rst343 /proc/sys/kernel/keys/maxbytes