Searched refs:ovl_fh (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/fs/overlayfs/ |
D | namei.c | 90 int ovl_check_fh_len(struct ovl_fh *fh, int fh_len) in ovl_check_fh_len() 92 if (fh_len < sizeof(struct ovl_fh) || fh_len < fh->len) in ovl_check_fh_len() 110 static struct ovl_fh *ovl_get_fh(struct dentry *dentry, const char *name) in ovl_get_fh() 113 struct ovl_fh *fh = NULL; in ovl_get_fh() 154 struct dentry *ovl_decode_real_fh(struct ovl_fh *fh, struct vfsmount *mnt, in ovl_decode_real_fh() 167 bytes = (fh->len - offsetof(struct ovl_fh, fid)); in ovl_decode_real_fh() 322 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, in ovl_check_origin_fh() 368 struct ovl_fh *fh = ovl_get_fh(upperdentry, OVL_XATTR_ORIGIN); in ovl_check_origin() 395 const struct ovl_fh *fh) in ovl_verify_fh() 397 struct ovl_fh *ofh = ovl_get_fh(dentry, name); in ovl_verify_fh() [all …]
|
D | overlayfs.h | 81 struct ovl_fh { struct 298 int ovl_check_fh_len(struct ovl_fh *fh, int fh_len); 299 struct dentry *ovl_decode_real_fh(struct ovl_fh *fh, struct vfsmount *mnt, 301 int ovl_check_origin_fh(struct ovl_fs *ofs, struct ovl_fh *fh, bool connected, 308 struct dentry *ovl_get_index_fh(struct ovl_fs *ofs, struct ovl_fh *fh); 421 struct ovl_fh *ovl_encode_real_fh(struct dentry *real, bool is_upper);
|
D | export.c | 219 struct ovl_fh *fh = NULL; in ovl_d_to_fh() 684 struct ovl_fh *fh) in ovl_upper_fh_to_d() 704 struct ovl_fh *fh) in ovl_lower_fh_to_d() 787 struct ovl_fh *fh = (struct ovl_fh *) fid; in ovl_fh_to_dentry()
|
D | copy_up.c | 231 struct ovl_fh *ovl_encode_real_fh(struct dentry *real, bool is_upper) in ovl_encode_real_fh() 233 struct ovl_fh *fh; in ovl_encode_real_fh() 258 BUILD_BUG_ON(MAX_HANDLE_SZ + offsetof(struct ovl_fh, fid) > 255); in ovl_encode_real_fh() 259 fh_len = offsetof(struct ovl_fh, fid) + buflen; in ovl_encode_real_fh() 290 const struct ovl_fh *fh = NULL; in ovl_set_origin() 317 const struct ovl_fh *fh; in ovl_set_upper_fh()
|