Searched refs:maxbytes (Results 1 – 14 of 14) sorted by relevance
| /Linux-v5.10/drivers/staging/comedi/drivers/ |
| D | ni_labpc_isadma.c | 27 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()
|
| D | das1800.c | 747 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-v5.10/drivers/input/serio/ |
| D | libps2.c | 122 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-v5.10/fs/ |
| D | ioctl.c | 167 u64 maxbytes = inode->i_sb->s_maxbytes; in fiemap_prep() local 173 if (start > maxbytes) in fiemap_prep() 179 if (*len > maxbytes || (maxbytes - *len) < start) in fiemap_prep() 180 *len = maxbytes - start; in fiemap_prep()
|
| /Linux-v5.10/fs/ext4/ |
| D | file.c | 863 loff_t maxbytes; in ext4_llseek() local 866 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_llseek() 868 maxbytes = inode->i_sb->s_maxbytes; in ext4_llseek() 873 maxbytes, i_size_read(inode)); in ext4_llseek() 890 return vfs_setpos(file, offset, maxbytes); in ext4_llseek()
|
| D | extents.c | 4872 u64 maxbytes; in ext4_fiemap_check_ranges() local 4875 maxbytes = inode->i_sb->s_maxbytes; in ext4_fiemap_check_ranges() 4877 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; in ext4_fiemap_check_ranges() 4881 if (start > maxbytes) in ext4_fiemap_check_ranges() 4887 if (*len > maxbytes || (maxbytes - *len) < start) in ext4_fiemap_check_ranges() 4888 *len = maxbytes - start; in ext4_fiemap_check_ranges()
|
| /Linux-v5.10/include/linux/ |
| D | libps2.h | 50 void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout);
|
| /Linux-v5.10/security/keys/ |
| 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()
|
| D | key.c | 260 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in key_alloc() local 266 user->qnbytes + quotalen > maxbytes || in key_alloc() 379 unsigned maxbytes = uid_eq(key->user->uid, GLOBAL_ROOT_UID) ? in key_payload_reserve() local 385 (key->user->qnbytes + delta > maxbytes || in key_payload_reserve()
|
| D | keyctl.c | 1005 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? in keyctl_chown_key() local 1010 newowner->qnbytes + key->quotalen > maxbytes || in keyctl_chown_key()
|
| /Linux-v5.10/fs/cifs/ |
| D | cifs_unicode.c | 306 cifs_utf16_bytes(const __le16 *from, int maxbytes, in cifs_utf16_bytes() argument 311 int maxwords = maxbytes / 2; in cifs_utf16_bytes()
|
| D | cifs_unicode.h | 95 int cifs_utf16_bytes(const __le16 *from, int maxbytes,
|
| /Linux-v5.10/fs/f2fs/ |
| D | file.c | 401 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_seek_block() local 469 return vfs_setpos(file, data_ofs, maxbytes); in f2fs_seek_block() 478 loff_t maxbytes = inode->i_sb->s_maxbytes; in f2fs_llseek() local 485 maxbytes, i_size_read(inode)); in f2fs_llseek()
|
| /Linux-v5.10/Documentation/security/keys/ |
| D | core.rst | 343 /proc/sys/kernel/keys/maxbytes
|