Searched refs:maxbytes (Results 1 - 16 of 16) sorted by relevance

/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dni_labpc_isadma.c36 unsigned int maxbytes) labpc_suggest_transfer_size()
53 if (size > maxbytes) labpc_suggest_transfer_size()
54 size = maxbytes; labpc_suggest_transfer_size()
34 labpc_suggest_transfer_size(struct comedi_device *dev, struct comedi_subdevice *s, unsigned int maxbytes) labpc_suggest_transfer_size() argument
H A Ddas1800.c904 unsigned int maxbytes, das1800_ai_transfer_size()
908 unsigned int max_samples = comedi_bytes_to_samples(s, maxbytes); das1800_ai_transfer_size()
902 das1800_ai_transfer_size(struct comedi_device *dev, struct comedi_subdevice *s, unsigned int maxbytes, unsigned int ns) das1800_ai_transfer_size() argument
/linux-4.4.14/drivers/input/serio/
H A Dlibps2.c80 void ps2_drain(struct ps2dev *ps2dev, int maxbytes, int timeout) ps2_drain() argument
82 if (maxbytes > sizeof(ps2dev->cmdbuf)) { ps2_drain()
84 maxbytes = sizeof(ps2dev->cmdbuf); ps2_drain()
91 ps2dev->cmdcnt = maxbytes; ps2_drain()
/linux-4.4.14/security/keys/
H A Dsysctl.c29 .procname = "maxbytes",
H A Dproc.c338 unsigned maxbytes = uid_eq(user->uid, GLOBAL_ROOT_UID) ? proc_key_users_show() local
349 maxbytes); proc_key_users_show()
H A Dkey.c258 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? key_alloc() local
264 user->qnbytes + quotalen >= maxbytes || key_alloc()
371 unsigned maxbytes = uid_eq(key->user->uid, GLOBAL_ROOT_UID) ? key_payload_reserve() local
377 (key->user->qnbytes + delta >= maxbytes || key_payload_reserve()
H A Dkeyctl.c843 unsigned maxbytes = uid_eq(uid, GLOBAL_ROOT_UID) ? keyctl_chown_key() local
848 newowner->qnbytes + key->quotalen >= maxbytes || keyctl_chown_key()
/linux-4.4.14/include/linux/
H A Dlibps2.h46 void ps2_drain(struct ps2dev *ps2dev, int maxbytes, int timeout);
/linux-4.4.14/fs/ext4/
H A Dfile.c715 * ext4_llseek() handles both block-mapped and extent-mapped maxbytes values
716 * by calling generic_file_llseek_size() with the appropriate maxbytes
722 loff_t maxbytes; ext4_llseek() local
725 maxbytes = EXT4_SB(inode->i_sb)->s_bitmap_maxbytes; ext4_llseek()
727 maxbytes = inode->i_sb->s_maxbytes; ext4_llseek()
734 maxbytes, i_size_read(inode)); ext4_llseek()
736 return ext4_seek_data(file, offset, maxbytes); ext4_llseek()
738 return ext4_seek_hole(file, offset, maxbytes); ext4_llseek()
H A Dsuper.c2328 * 32-bit extent-start container, ee_block. We lower the maxbytes ext4_max_size()
/linux-4.4.14/fs/cifs/
H A Dcifs_unicode.c301 * @maxbytes - don't go past this many bytes of input string
306 * termination required. Don't walk past maxbytes in the source buffer.
309 cifs_utf16_bytes(const __le16 *from, int maxbytes, cifs_utf16_bytes() argument
314 int maxwords = maxbytes / 2; cifs_utf16_bytes()
556 * @maxbytes - don't go past this many bytes of input string
561 * termination required. Don't walk past maxbytes in the source buffer.
H A Dcifs_unicode.h107 int cifs_utf16_bytes(const __le16 *from, int maxbytes,
/linux-4.4.14/fs/
H A Dioctl.c154 u64 maxbytes = (u64) sb->s_maxbytes; fiemap_check_ranges() local
161 if (start > maxbytes) fiemap_check_ranges()
167 if (len > maxbytes || (maxbytes - len) < start) fiemap_check_ranges()
168 *new_len = maxbytes - start; fiemap_check_ranges()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
H A Dlov_ea.c164 /* Find minimum stripe maxbytes value. For inactive or
355 CDEBUG(level, "lsm %p, objid " DOSTID ", maxbytes %#llx, magic 0x%08X, stripe_size %u, stripe_count %u, refc: %d, layout_gen %u, pool [" LOV_POOLNAMEF "]\n", dump_lsm()
/linux-4.4.14/fs/f2fs/
H A Dfile.c328 loff_t maxbytes = inode->i_sb->s_maxbytes; f2fs_seek_block() local
391 return vfs_setpos(file, data_ofs, maxbytes); f2fs_seek_block()
400 loff_t maxbytes = inode->i_sb->s_maxbytes; f2fs_llseek() local
407 maxbytes, i_size_read(inode)); f2fs_llseek()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dlustre_lib.h390 * we define this to be 2T - 4k, which is the ext3 maxbytes. */

Completed in 906 milliseconds