Home
last modified time | relevance | path

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

/Linux-v5.4/fs/overlayfs/
Dnamei.c87 int ovl_check_fh_len(struct ovl_fh *fh, int fh_len) in ovl_check_fh_len()
89 if (fh_len < sizeof(struct ovl_fh) || fh_len < fh->len) in ovl_check_fh_len()
107 static struct ovl_fh *ovl_get_fh(struct dentry *dentry, const char *name) in ovl_get_fh()
110 struct ovl_fh *fh = NULL; in ovl_get_fh()
151 struct dentry *ovl_decode_real_fh(struct ovl_fh *fh, struct vfsmount *mnt, in ovl_decode_real_fh()
164 bytes = (fh->len - offsetof(struct ovl_fh, fid)); in ovl_decode_real_fh()
321 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh()
367 struct ovl_fh *fh = ovl_get_fh(upperdentry, OVL_XATTR_ORIGIN); in ovl_check_origin()
394 const struct ovl_fh *fh) in ovl_verify_fh()
396 struct ovl_fh *ofh = ovl_get_fh(dentry, name); in ovl_verify_fh()
[all …]
Doverlayfs.h78 struct ovl_fh { struct
305 int ovl_check_fh_len(struct ovl_fh *fh, int fh_len);
306 struct dentry *ovl_decode_real_fh(struct ovl_fh *fh, struct vfsmount *mnt,
308 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected,
315 struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh);
427 struct ovl_fh *ovl_encode_real_fh(struct dentry *real, bool is_upper);
Dexport.c216 struct ovl_fh *fh = NULL; in ovl_d_to_fh()
681 struct ovl_fh *fh) in ovl_upper_fh_to_d()
701 struct ovl_fh *fh) in ovl_lower_fh_to_d()
784 struct ovl_fh *fh = (struct ovl_fh *) fid; in ovl_fh_to_dentry()
Dcopy_up.c227 struct ovl_fh *ovl_encode_real_fh(struct dentry *real, bool is_upper) in ovl_encode_real_fh()
229 struct ovl_fh *fh; in ovl_encode_real_fh()
254 BUILD_BUG_ON(MAX_HANDLE_SZ + offsetof(struct ovl_fh, fid) > 255); in ovl_encode_real_fh()
255 fh_len = offsetof(struct ovl_fh, fid) + buflen; in ovl_encode_real_fh()
286 const struct ovl_fh *fh = NULL; in ovl_set_origin()
313 const struct ovl_fh *fh; in ovl_set_upper_fh()