Home
last modified time | relevance | path

Searched refs:ovl_path (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/fs/overlayfs/
H A Dovl_entry.h45 struct ovl_path { struct
52 struct ovl_path __lowerstack[]; argument
132 static inline struct ovl_path *ovl_lowerstack(struct ovl_entry *oe) in ovl_lowerstack()
137 static inline struct ovl_path *ovl_lowerpath(struct ovl_entry *oe) in ovl_lowerpath()
142 static inline struct ovl_path *ovl_lowerdata(struct ovl_entry *oe) in ovl_lowerdata()
144 struct ovl_path *lowerstack = ovl_lowerstack(oe); in ovl_lowerdata()
152 struct ovl_path *lowerdata = ovl_lowerdata(oe); in ovl_lowerdata_dentry()
H A Dutil.c87 struct ovl_path *ovl_stack_alloc(unsigned int n) in ovl_stack_alloc()
89 return kcalloc(n, sizeof(struct ovl_path), GFP_KERNEL); in ovl_stack_alloc()
92 void ovl_stack_cpy(struct ovl_path *dst, struct ovl_path *src, unsigned int n) in ovl_stack_cpy()
96 memcpy(dst, src, sizeof(struct ovl_path) * n); in ovl_stack_cpy()
101 void ovl_stack_put(struct ovl_path *stack, unsigned int n) in ovl_stack_put()
109 void ovl_stack_free(struct ovl_path *stack, unsigned int n) in ovl_stack_free()
158 struct ovl_path *lowerstack = ovl_lowerstack(oe); in ovl_dentry_init_flags()
216 struct ovl_path *lowerpath = ovl_lowerstack(oe); in ovl_path_lower()
229 struct ovl_path *lowerdata = ovl_lowerdata(oe); in ovl_path_lowerdata()
305 struct ovl_path *lowerdata = ovl_lowerdata(oe); in ovl_dentry_set_lowerdata()
[all …]
H A Dnamei.c393 struct ovl_path *lowerdata) in ovl_lookup_data_layers()
416 struct dentry *upperdentry, struct ovl_path **stackp) in ovl_check_origin_fh()
446 *stackp = kmalloc(sizeof(struct ovl_path), GFP_KERNEL); in ovl_check_origin_fh()
451 **stackp = (struct ovl_path){ in ovl_check_origin_fh()
467 struct ovl_path **stackp) in ovl_check_origin()
590 struct ovl_path origin = { }; in ovl_verify_index()
591 struct ovl_path *stack = &origin; in ovl_verify_index()
856 struct ovl_path *lowerstack = ovl_lowerstack(oe); in ovl_path_next()
948 struct ovl_path datapath = {}; in ovl_maybe_lookup_lowerdata()
1008 struct ovl_path *stack = NULL, *origin_path = NULL; in ovl_lookup()
[all …]
H A Dexport.c292 struct ovl_path *lowerpath, in ovl_obtain_alias()
355 struct ovl_path *lowerstack = ovl_lowerstack(oe); in ovl_dentry_real_at()
665 struct ovl_path *lowerpath, in ovl_get_dentry()
714 struct ovl_path origin = { }; in ovl_lower_fh_to_d()
715 struct ovl_path *stack = &origin; in ovl_lower_fh_to_d()
H A Doverlayfs.h417 struct ovl_path *ovl_stack_alloc(unsigned int n);
418 void ovl_stack_cpy(struct ovl_path *dst, struct ovl_path *src, unsigned int n);
419 void ovl_stack_put(struct ovl_path *stack, unsigned int n);
420 void ovl_stack_free(struct ovl_path *stack, unsigned int n);
440 int ovl_dentry_set_lowerdata(struct dentry *dentry, struct ovl_path *datapath);
633 struct dentry *upperdentry, struct ovl_path **stackp);
H A Dsuper.c108 struct ovl_path *lowerstack; in ovl_dentry_revalidate_common()
1174 struct ovl_path *lowerstack; in ovl_get_lowerstack()
1299 struct ovl_path *lowerpath = ovl_lowerstack(oe); in ovl_get_root()
H A Dinode.c1335 struct ovl_path *lowerpath = ovl_lowerpath(oip->oe); in ovl_get_inode()