/openbmc/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()
|
/openbmc/linux/drivers/input/serio/ |
H A D | libps2.c | 156 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout) in ps2_drain() argument 158 if (maxbytes > sizeof(ps2dev->cmdbuf)) { in ps2_drain() 160 maxbytes = sizeof(ps2dev->cmdbuf); in ps2_drain() 167 ps2dev->cmdcnt = maxbytes; in ps2_drain()
|
/openbmc/linux/fs/ |
H A D | ioctl.c | 171 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()
|
/openbmc/linux/fs/ext4/ |
H A D | file.c | 901 loff_t maxbytes; in ext4_llseek() local 904 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_llseek() 906 maxbytes = inode->i_sb->s_maxbytes; in ext4_llseek() 911 maxbytes, i_size_read(inode)); in ext4_llseek() 928 return vfs_setpos(file, offset, maxbytes); in ext4_llseek()
|
H A D | extents.c | 4981 u64 maxbytes; in ext4_fiemap_check_ranges() local 4984 maxbytes = inode->i_sb->s_maxbytes; in ext4_fiemap_check_ranges() 4986 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_fiemap_check_ranges() 4990 if (start > maxbytes) in ext4_fiemap_check_ranges() 4996 if (*len > maxbytes || (maxbytes - *len) < start) in ext4_fiemap_check_ranges() 4997 *len = maxbytes - start; in ext4_fiemap_check_ranges()
|
/openbmc/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 | 304 cifs_utf16_bytes(const __le16 *from, int maxbytes, in cifs_utf16_bytes() argument 309 int maxwords = maxbytes / 2; in cifs_utf16_bytes()
|
/openbmc/linux/include/linux/ |
H A D | libps2.h | 65 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout);
|
/openbmc/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 | 1004 loff_t maxbytes = (u64)inode->i_sb->s_maxbytes, end; in ksmbd_vfs_fqar_lseek() local 1008 if (start > maxbytes) in ksmbd_vfs_fqar_lseek() 1017 if (length > maxbytes || (maxbytes - length) < start) in ksmbd_vfs_fqar_lseek() 1018 length = maxbytes - start; in ksmbd_vfs_fqar_lseek()
|
/openbmc/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 | 260 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in key_alloc() local 266 user->qnbytes + quotalen > maxbytes || in key_alloc() 382 unsigned maxbytes = uid_eq(key->user->uid, GLOBAL_ROOT_UID) ? in key_payload_reserve() local 388 (key->user->qnbytes + delta > maxbytes || in key_payload_reserve()
|
H A D | keyctl.c | 1010 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in keyctl_chown_key() local 1015 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key()
|
/openbmc/linux/fs/nfsd/ |
H A D | vfs.c | 1292 u64 maxbytes; in nfsd_commit() local 1304 maxbytes = (u64)fhp->fh_dentry->d_sb->s_maxbytes; in nfsd_commit() 1305 if (offset < maxbytes) { in nfsd_commit() 1307 if (count && (offset + count - 1 < maxbytes)) in nfsd_commit()
|
/openbmc/linux/fs/f2fs/ |
H A D | data.c | 1890 loff_t maxbytes; in f2fs_fiemap() local 1904 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_fiemap() 1905 if (start > maxbytes) { in f2fs_fiemap() 1910 if (len > maxbytes || (maxbytes - len) < start) in f2fs_fiemap() 1911 len = maxbytes - start; in f2fs_fiemap() 1950 if (blks_to_bytes(inode, start_blk) < maxbytes) in f2fs_fiemap()
|
H A D | file.c | 417 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_seek_block() local 490 return vfs_setpos(file, data_ofs, maxbytes); in f2fs_seek_block() 499 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_llseek() local 502 maxbytes = max_file_blocks(inode) << F2FS_BLKSIZE_BITS; in f2fs_llseek() 509 maxbytes, i_size_read(inode)); in f2fs_llseek()
|
/openbmc/linux/fs/ntfs3/ |
H A D | super.c | 1091 sbi->maxbytes = (clusters << cluster_bits) - 1; in ntfs_init_from_boot() 1095 sbi->maxbytes = -1; in ntfs_init_from_boot()
|
H A D | ntfs_fs.h | 228 u64 maxbytes; // Maximum size for normal files. member
|
H A D | inode.c | 841 } else if (new_size > sbi->maxbytes) { in ntfs_set_size()
|
/openbmc/linux/Documentation/security/keys/ |
H A D | core.rst | 343 /proc/sys/kernel/keys/maxbytes
|