Lines Matching refs:ovl_fh
87 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()
424 struct ovl_fh *fh; in ovl_verify_set_fh()
455 struct ovl_fh *fh; in ovl_index_upper()
494 struct ovl_fh *fh = NULL; in ovl_verify_index()
510 if (index->d_name.len < sizeof(struct ovl_fh)*2) in ovl_verify_index()
598 static int ovl_get_index_name_fh(struct ovl_fh *fh, struct qstr *name) in ovl_get_index_name_fh()
630 struct ovl_fh *fh; in ovl_get_index_name()
644 struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh) in ovl_get_index_fh()