maxbytes
unsigned int maxbytes,
unsigned int max_samples = comedi_bytes_to_samples(s, maxbytes);
unsigned int maxbytes)
if (size > maxbytes)
size = maxbytes;
void ps2_drain(struct ps2dev *ps2dev, size_t maxbytes, unsigned int timeout)
if (maxbytes > sizeof(ps2dev->cmdbuf)) {
maxbytes = sizeof(ps2dev->cmdbuf);
ps2dev->cmdcnt = maxbytes;
u64 maxbytes = ext4_get_maxbytes(inode);
if (start > maxbytes)
if (*len > maxbytes || (maxbytes - *len) < start)
*len = maxbytes - start;
loff_t maxbytes = ext4_get_maxbytes(inode);
maxbytes, i_size_read(inode));
return vfs_setpos(file, offset, maxbytes);
loff_t maxbytes;
maxbytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode));
if (start > maxbytes) {
if (len > maxbytes || (maxbytes - len) < start)
len = maxbytes - start;
max_len = F2FS_BYTES_TO_BLK(maxbytes) - start_blk;
if (F2FS_BLK_TO_BYTES(start_blk) < maxbytes)
loff_t maxbytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode));
return vfs_setpos(file, data_ofs, maxbytes);
loff_t maxbytes = F2FS_BLK_TO_BYTES(max_file_blocks(inode));
maxbytes, i_size_read(inode));
u64 maxbytes = inode->i_sb->s_maxbytes;
if (start >= maxbytes)
if (*len > maxbytes || (maxbytes - *len) < start)
*len = maxbytes - start;
u64 maxbytes;
maxbytes = (u64)fhp->fh_dentry->d_sb->s_maxbytes;
if (offset < maxbytes) {
if (count && (offset + count - 1 < maxbytes))
loff_t maxbytes = ntfs_get_maxbytes(ni);
ret = vfs_setpos(file, ret, maxbytes);
ret = generic_file_llseek_size(file, offset, whence, maxbytes,
} else if (new_size > sbi->maxbytes) {
sbi->maxbytes;
u64 maxbytes; // Maximum size for normal files.
sbi->maxbytes = (clusters << cluster_bits) - 1;
sbi->maxbytes = -1;
cifs_utf16_bytes(const __le16 *from, int maxbytes,
int maxwords = maxbytes / 2;
int cifs_utf16_bytes(const __le16 *from, int maxbytes,
static int smb_utf16_bytes(const __le16 *from, int maxbytes,
int maxwords = maxbytes / 2;
loff_t maxbytes = (u64)inode->i_sb->s_maxbytes, end;
if (start > maxbytes)
if (length > maxbytes || (maxbytes - length) < start)
length = maxbytes - start;
unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ?
user->qnbytes + quotalen > maxbytes ||
unsigned maxbytes = uid_eq(key->user->uid, GLOBAL_ROOT_UID) ?
(key->user->qnbytes + delta > maxbytes ||
unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ?
newowner->qnbytes + key->quotalen > maxbytes ||
unsigned maxbytes = uid_eq(user->uid, GLOBAL_ROOT_UID) ?
maxbytes);