Lines Matching refs:max_len
36 static int ceph_encode_snapfh(struct inode *inode, u32 *rawfh, int *max_len, in ceph_encode_snapfh() argument
47 if (*max_len < snap_handle_length) { in ceph_encode_snapfh()
48 *max_len = snap_handle_length; in ceph_encode_snapfh()
80 *max_len = snap_handle_length; in ceph_encode_snapfh()
87 static int ceph_encode_fh(struct inode *inode, u32 *rawfh, int *max_len, in ceph_encode_fh() argument
98 return ceph_encode_snapfh(inode, rawfh, max_len, parent_inode); in ceph_encode_fh()
100 if (parent_inode && (*max_len < connected_handle_length)) { in ceph_encode_fh()
101 *max_len = connected_handle_length; in ceph_encode_fh()
103 } else if (*max_len < handle_length) { in ceph_encode_fh()
104 *max_len = handle_length; in ceph_encode_fh()
114 *max_len = connected_handle_length; in ceph_encode_fh()
120 *max_len = handle_length; in ceph_encode_fh()