Home
last modified time | relevance | path

Searched refs:ovl_fh (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/fs/overlayfs/
Dnamei.c89 int ovl_check_fh_len(struct ovl_fh *fh, int fh_len) in ovl_check_fh_len()
91 if (fh_len < sizeof(struct ovl_fh) || fh_len < fh->len) in ovl_check_fh_len()
109 static struct ovl_fh *ovl_get_fh(struct dentry *dentry, const char *name) in ovl_get_fh()
112 struct ovl_fh *fh = NULL; in ovl_get_fh()
153 struct dentry *ovl_decode_real_fh(struct ovl_fh *fh, struct vfsmount *mnt, in ovl_decode_real_fh()
166 bytes = (fh->len - offsetof(struct ovl_fh, fid)); in ovl_decode_real_fh()
317 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh()
363 struct ovl_fh *fh = ovl_get_fh(upperdentry, OVL_XATTR_ORIGIN); in ovl_check_origin()
390 const struct ovl_fh *fh) in ovl_verify_fh()
392 struct ovl_fh *ofh = ovl_get_fh(dentry, name); in ovl_verify_fh()
[all …]
Doverlayfs.h81 struct ovl_fh { struct
295 int ovl_check_fh_len(struct ovl_fh *fh, int fh_len);
296 struct dentry *ovl_decode_real_fh(struct ovl_fh *fh, struct vfsmount *mnt,
298 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected,
305 struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh);
415 struct ovl_fh *ovl_encode_real_fh(struct dentry *real, bool is_upper);
Dexport.c219 struct ovl_fh *fh = NULL; in ovl_d_to_fh()
685 struct ovl_fh *fh) in ovl_upper_fh_to_d()
705 struct ovl_fh *fh) in ovl_lower_fh_to_d()
788 struct ovl_fh *fh = (struct ovl_fh *) fid; in ovl_fh_to_dentry()
Dcopy_up.c230 struct ovl_fh *ovl_encode_real_fh(struct dentry *real, bool is_upper) in ovl_encode_real_fh()
232 struct ovl_fh *fh; in ovl_encode_real_fh()
257 BUILD_BUG_ON(MAX_HANDLE_SZ + offsetof(struct ovl_fh, fid) > 255); in ovl_encode_real_fh()
258 fh_len = offsetof(struct ovl_fh, fid) + buflen; in ovl_encode_real_fh()
289 const struct ovl_fh *fh = NULL; in ovl_set_origin()
316 const struct ovl_fh *fh; in ovl_set_upper_fh()