Home
last modified time | relevance | path

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

/linux/drivers/comedi/drivers/
A Dni_labpc_isadma.c27 unsigned int maxbytes) in labpc_suggest_transfer_size() argument
44 if (size > maxbytes) in labpc_suggest_transfer_size()
45 size = maxbytes; in labpc_suggest_transfer_size()
A Ddas1800.c747 unsigned int maxbytes, in das1800_ai_transfer_size() argument
751 unsigned int max_samples = comedi_bytes_to_samples(s, maxbytes); in das1800_ai_transfer_size()
/linux/drivers/input/serio/
A Dlibps2.c122 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout) in ps2_drain() argument
124 if (maxbytes > sizeof(ps2dev->cmdbuf)) { in ps2_drain()
126 maxbytes = sizeof(ps2dev->cmdbuf); in ps2_drain()
133 ps2dev->cmdcnt = maxbytes; in ps2_drain()
/linux/fs/ksmbd/
A 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()
A Dvfs.c1030 loff_t maxbytes = (u64)inode->i_sb->s_maxbytes, end; in ksmbd_vfs_fqar_lseek() local
1034 if (start > maxbytes) in ksmbd_vfs_fqar_lseek()
1043 if (length > maxbytes || (maxbytes - length) < start) in ksmbd_vfs_fqar_lseek()
1044 length = maxbytes - start; in ksmbd_vfs_fqar_lseek()
/linux/fs/
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/fs/ext4/
A Dfile.c885 loff_t maxbytes; in ext4_llseek() local
888 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_llseek()
890 maxbytes = inode->i_sb->s_maxbytes; in ext4_llseek()
895 maxbytes, i_size_read(inode)); in ext4_llseek()
912 return vfs_setpos(file, offset, maxbytes); in ext4_llseek()
A Dextents.c4920 u64 maxbytes; in ext4_fiemap_check_ranges() local
4923 maxbytes = inode->i_sb->s_maxbytes; in ext4_fiemap_check_ranges()
4925 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_fiemap_check_ranges()
4929 if (start > maxbytes) in ext4_fiemap_check_ranges()
4935 if (*len > maxbytes || (maxbytes - *len) < start) in ext4_fiemap_check_ranges()
4936 *len = maxbytes - start; in ext4_fiemap_check_ranges()
/linux/include/linux/
A Dlibps2.h50 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout);
/linux/security/keys/
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()
A 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()
A 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/fs/cifs/
A 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()
A Dcifs_unicode.h95 int cifs_utf16_bytes(const __le16 *from, int maxbytes,
/linux/fs/f2fs/
A Ddata.c1937 loff_t maxbytes; in f2fs_fiemap() local
1951 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_fiemap()
1952 if (start > maxbytes) { in f2fs_fiemap()
1957 if (len > maxbytes || (maxbytes - len) < start) in f2fs_fiemap()
1958 len = maxbytes - start; in f2fs_fiemap()
A Dfile.c416 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_seek_block() local
489 return vfs_setpos(file, data_ofs, maxbytes); in f2fs_seek_block()
498 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_llseek() local
501 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_llseek()
508 maxbytes, i_size_read(inode)); in f2fs_llseek()
/linux/fs/ntfs3/
A Dsuper.c856 sbi->maxbytes = (clusters << sbi->cluster_bits) - 1; in ntfs_init_from_boot()
860 sbi->maxbytes = -1; in ntfs_init_from_boot()
A Dntfs_fs.h219 u64 maxbytes; // Maximum size for normal files. member
A Dinode.c806 } else if (new_size > sbi->maxbytes) { in ntfs_set_size()
/linux/Documentation/security/keys/
A Dcore.rst343 /proc/sys/kernel/keys/maxbytes

Completed in 80 milliseconds