Searched refs:ovl_fh (Results 1 – 3 of 3) sorted by relevance
100 static struct ovl_fh *ovl_get_origin_fh(struct dentry *dentry) in ovl_get_origin_fh()103 struct ovl_fh *fh = NULL; in ovl_get_origin_fh()123 if (res < sizeof(struct ovl_fh) || res < fh->len) in ovl_get_origin_fh()157 struct ovl_fh *fh = ovl_get_origin_fh(dentry); in ovl_get_origin()170 bytes = (fh->len - offsetof(struct ovl_fh, fid)); in ovl_get_origin()337 static int ovl_verify_origin_fh(struct dentry *dentry, const struct ovl_fh *fh) in ovl_verify_origin_fh()339 struct ovl_fh *ofh = ovl_get_origin_fh(dentry); in ovl_verify_origin_fh()367 struct ovl_fh *fh; in ovl_verify_origin()402 struct ovl_fh *fh = NULL; in ovl_verify_index()427 if (index->d_name.len < sizeof(struct ovl_fh)*2) in ovl_verify_index()[all …]
236 struct ovl_fh *ovl_encode_fh(struct dentry *lower, bool is_upper) in ovl_encode_fh()238 struct ovl_fh *fh; in ovl_encode_fh()263 BUILD_BUG_ON(MAX_HANDLE_SZ + offsetof(struct ovl_fh, fid) > 255); in ovl_encode_fh()264 fh_len = offsetof(struct ovl_fh, fid) + buflen; in ovl_encode_fh()295 const struct ovl_fh *fh = NULL; in ovl_set_origin()
62 struct ovl_fh { struct324 struct ovl_fh *ovl_encode_fh(struct dentry *lower, bool is_upper);