Lines Matching +full:encode +full:- +full:only
1 /* SPDX-License-Identifier: GPL-2.0 */
159 #define EXPORT_FH_CONNECTABLE 0x1 /* Encode file handle with parent */
160 #define EXPORT_FH_FID 0x2 /* File handle may be non-decodeable */
161 #define EXPORT_FH_DIR_ONLY 0x4 /* Only decode file handle for a directory */
164 * struct export_operations - for nfsd to communicate with file systems
165 * @encode_fh: encode a file handle fragment from a dentry
180 * attempt can be made to find not only the file but also it's place in the
181 * filesystem. This typically means storing a reference to de->d_parent in
183 * success and on error returns 255 (if the space needed to encode fh is
185 * size(in 4 byte unit) needed to encode the file handle.
208 * or error. @get_name will be called without @parent->i_mutex held.
219 * get_parent is called with child->d_inode->i_mutex down
254 * exportfs_lock_op_is_async() - export op supports async lock operation
263 return export_ops->flags & EXPORT_OP_ASYNC_LOCK; in exportfs_lock_op_is_async()
274 return !nop || nop->encode_fh; in exportfs_can_encode_fid()
279 return nop && nop->fh_to_dentry; in exportfs_can_decode_fh()
286 * If a non-decodeable file handle was requested, we only need to make in exportfs_can_encode_fh()
287 * sure that filesystem did not opt-out of encoding fid. in exportfs_can_encode_fh()