Home
last modified time | relevance | path

Searched refs:max_len (Results 1 – 25 of 47) sorted by relevance

12

/linux-4.19.296/fs/nfs/
Dexport.c35 nfs_encode_fh(struct inode *inode, __u32 *p, int *max_len, struct inode *parent) in nfs_encode_fh() argument
43 __func__, *max_len, inode, parent); in nfs_encode_fh()
45 if (*max_len < len || IS_AUTOMOUNT(inode)) { in nfs_encode_fh()
47 __func__, *max_len, len); in nfs_encode_fh()
48 *max_len = len; in nfs_encode_fh()
57 *max_len = len; in nfs_encode_fh()
59 __func__, NFS_FILEID(inode), inode->i_mode, *max_len); in nfs_encode_fh()
60 return *max_len; in nfs_encode_fh()
/linux-4.19.296/fs/ceph/
Dexport.c25 static int ceph_encode_fh(struct inode *inode, u32 *rawfh, int *max_len, in ceph_encode_fh() argument
38 if (parent_inode && (*max_len < connected_handle_length)) { in ceph_encode_fh()
39 *max_len = connected_handle_length; in ceph_encode_fh()
41 } else if (*max_len < handle_length) { in ceph_encode_fh()
42 *max_len = handle_length; in ceph_encode_fh()
51 *max_len = connected_handle_length; in ceph_encode_fh()
56 *max_len = handle_length; in ceph_encode_fh()
/linux-4.19.296/fs/isofs/
Dexport.c113 int *max_len, in isofs_export_encode_fh() argument
117 int len = *max_len; in isofs_export_encode_fh()
128 *max_len = 5; in isofs_export_encode_fh()
131 *max_len = 3; in isofs_export_encode_fh()
149 *max_len = len; in isofs_export_encode_fh()
/linux-4.19.296/fs/exportfs/
Dexpfs.c358 int *max_len, struct inode *parent) in export_encode_fh() argument
360 int len = *max_len; in export_encode_fh()
364 *max_len = 4; in export_encode_fh()
367 *max_len = 2; in export_encode_fh()
380 *max_len = len; in export_encode_fh()
385 int *max_len, struct inode *parent) in exportfs_encode_inode_fh() argument
390 return nop->encode_fh(inode, fid->raw, max_len, parent); in exportfs_encode_inode_fh()
392 return export_encode_fh(inode, fid, max_len, parent); in exportfs_encode_inode_fh()
396 int exportfs_encode_fh(struct dentry *dentry, struct fid *fid, int *max_len, in exportfs_encode_fh() argument
412 error = exportfs_encode_inode_fh(inode, fid, max_len, parent); in exportfs_encode_fh()
/linux-4.19.296/fs/ocfs2/
Dexport.c208 static int ocfs2_encode_fh(struct inode *inode, u32 *fh_in, int *max_len, in ocfs2_encode_fh() argument
211 int len = *max_len; in ocfs2_encode_fh()
225 *max_len = 6; in ocfs2_encode_fh()
229 *max_len = 3; in ocfs2_encode_fh()
259 *max_len = len; in ocfs2_encode_fh()
/linux-4.19.296/fs/xfs/
Dxfs_export.c47 int *max_len, in xfs_fs_encode_fh() argument
80 if (*max_len < len) { in xfs_fs_encode_fh()
81 *max_len = len; in xfs_fs_encode_fh()
84 *max_len = len; in xfs_fs_encode_fh()
Dxfs_bmap_util.c515 int64_t bmv_end, max_len; in xfs_getbmap() local
552 max_len = 1LL << 32; in xfs_getbmap()
561 max_len = mp->m_super->s_maxbytes; in xfs_getbmap()
563 max_len = XFS_ISIZE(ip); in xfs_getbmap()
588 max_len = mp->m_super->s_maxbytes; in xfs_getbmap()
590 max_len = XFS_ISIZE(ip); in xfs_getbmap()
609 max_len = XFS_FSB_TO_BB(mp, XFS_B_TO_FSB(mp, max_len)); in xfs_getbmap()
610 bmv->bmv_length = max(0LL, max_len - bmv->bmv_offset); in xfs_getbmap()
/linux-4.19.296/include/linux/
Dfscrypt.h222 unsigned int max_len, in fscrypt_prepare_symlink() argument
226 return __fscrypt_prepare_symlink(dir, len, max_len, disk_link); in fscrypt_prepare_symlink()
230 if (disk_link->len > max_len) in fscrypt_prepare_symlink()
Dexportfs.h194 int (*encode_fh)(struct inode *inode, __u32 *fh, int *max_len,
214 int *max_len, struct inode *parent);
216 int *max_len, int connectable);
/linux-4.19.296/fs/btrfs/
Dexport.c17 static int btrfs_encode_fh(struct inode *inode, u32 *fh, int *max_len, in btrfs_encode_fh() argument
21 int len = *max_len; in btrfs_encode_fh()
25 *max_len = BTRFS_FID_SIZE_CONNECTABLE; in btrfs_encode_fh()
28 *max_len = BTRFS_FID_SIZE_NON_CONNECTABLE; in btrfs_encode_fh()
56 *max_len = len; in btrfs_encode_fh()
/linux-4.19.296/fs/cifs/
Dreaddir.c704 char *scratch_buf, unsigned int max_len) in cifs_filldir() argument
720 if (de.namelen > max_len) { in cifs_filldir()
740 (size_t)max_len), nlt, map_type); in cifs_filldir()
799 unsigned int max_len; in cifs_readdir() local
848 max_len = tcon->ses->server->ops->calc_smb_size( in cifs_readdir()
851 end_of_smb = cifsFile->srch_inf.ntwrk_buf_start + max_len; in cifs_readdir()
872 tmp_buf, max_len); in cifs_readdir()
Dmisc.c701 int max_len; in parse_dfs_referrals() local
726 max_len = data_end - temp; in parse_dfs_referrals()
727 node->path_name = cifs_strndup_from_utf16(temp, max_len, in parse_dfs_referrals()
736 max_len = data_end - temp; in parse_dfs_referrals()
737 node->node_name = cifs_strndup_from_utf16(temp, max_len, in parse_dfs_referrals()
/linux-4.19.296/fs/overlayfs/
Dexport.c254 static int ovl_dentry_to_fh(struct dentry *dentry, u32 *fid, int *max_len) in ovl_dentry_to_fh() argument
256 int res, len = *max_len << 2; in ovl_dentry_to_fh()
265 *max_len = (len + 3) >> 2; in ovl_dentry_to_fh()
269 static int ovl_encode_fh(struct inode *inode, u32 *fid, int *max_len, in ovl_encode_fh() argument
283 type = ovl_dentry_to_fh(dentry, fid, max_len); in ovl_encode_fh()
/linux-4.19.296/fs/crypto/
Dfname.c185 u32 max_len, u32 *encrypted_len_ret) in fscrypt_fname_encrypted_size() argument
191 if (orig_len > max_len) in fscrypt_fname_encrypted_size()
195 *encrypted_len_ret = min(encrypted_len, max_len); in fscrypt_fname_encrypted_size()
Dhooks.c126 unsigned int max_len, in __fscrypt_prepare_symlink() argument
158 max_len - sizeof(struct fscrypt_symlink_data), in __fscrypt_prepare_symlink()
Dfscrypt_private.h114 u32 orig_len, u32 max_len,
/linux-4.19.296/drivers/media/tuners/
Dtuner-xc2028.h36 int max_len; member
Dtuner-xc2028.c550 if (priv->ctrl.max_len > sizeof(buf)) in load_firmware()
551 priv->ctrl.max_len = sizeof(buf); in load_firmware()
629 int len = (size < priv->ctrl.max_len - 1) ? in load_firmware()
630 size : priv->ctrl.max_len - 1; in load_firmware()
1407 if (priv->ctrl.max_len < 9) in xc2028_set_config()
1408 priv->ctrl.max_len = 13; in xc2028_set_config()
1486 priv->ctrl.max_len = 13; in xc2028_attach()
/linux-4.19.296/fs/ubifs/
Dlog.c364 int err, i, max_len, len; in ubifs_log_start_commit() local
370 max_len = UBIFS_CS_NODE_SZ + c->jhead_cnt * UBIFS_REF_NODE_SZ; in ubifs_log_start_commit()
371 max_len = ALIGN(max_len, c->min_io_size); in ubifs_log_start_commit()
372 buf = cs = kmalloc(max_len, GFP_NOFS); in ubifs_log_start_commit()
Dtnc_misc.c347 if (c->ranges[type].max_len == 0) { in read_znode()
356 zbr->len > c->ranges[type].max_len) { in read_znode()
361 c->ranges[type].max_len); in read_znode()
/linux-4.19.296/fs/f2fs/
Ddir.c113 int max_len = 0; in f2fs_find_target_dentry() local
120 max_len++; in f2fs_find_target_dentry()
136 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
137 *max_slots = max_len; in f2fs_find_target_dentry()
138 max_len = 0; in f2fs_find_target_dentry()
145 if (max_slots && max_len > *max_slots) in f2fs_find_target_dentry()
146 *max_slots = max_len; in f2fs_find_target_dentry()
/linux-4.19.296/drivers/media/usb/usbvision/
Dusbvision-i2c.c407 int max_len = 4; in usbvision_i2c_write() local
410 count = (len > max_len) ? max_len : len; in usbvision_i2c_write()
/linux-4.19.296/fs/orangefs/
Dsuper.c331 int *max_len, in orangefs_encode_fh() argument
338 if (*max_len < len) { in orangefs_encode_fh()
340 *max_len = len; in orangefs_encode_fh()
366 *max_len = len; in orangefs_encode_fh()
/linux-4.19.296/include/drm/tinydrm/
Dtinydrm-helpers.h54 size_t tinydrm_spi_max_transfer_size(struct spi_device *spi, size_t max_len);
/linux-4.19.296/fs/ocfs2/cluster/
Dtcp.h104 int o2net_register_handler(u32 msg_type, u32 key, u32 max_len,

12