Home
last modified time | relevance | path

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

/linux-6.15/fs/overlayfs/
H A Dovl_entry.h47 struct ovl_path { struct
54 struct ovl_path __lowerstack[]; argument
131 static inline struct ovl_path *ovl_lowerstack(struct ovl_entry *oe) in ovl_lowerstack()
136 static inline struct ovl_path *ovl_lowerpath(struct ovl_entry *oe) in ovl_lowerpath()
141 static inline struct ovl_path *ovl_lowerdata(struct ovl_entry *oe) in ovl_lowerdata()
143 struct ovl_path *lowerstack = ovl_lowerstack(oe); in ovl_lowerdata()
151 struct ovl_path *lowerdata = ovl_lowerdata(oe); in ovl_lowerdata_dentry()
H A Dutil.c118 struct ovl_path *ovl_stack_alloc(unsigned int n) in ovl_stack_alloc()
120 return kcalloc(n, sizeof(struct ovl_path), GFP_KERNEL); in ovl_stack_alloc()
123 void ovl_stack_cpy(struct ovl_path *dst, struct ovl_path *src, unsigned int n) in ovl_stack_cpy()
127 memcpy(dst, src, sizeof(struct ovl_path) * n); in ovl_stack_cpy()
132 void ovl_stack_put(struct ovl_path *stack, unsigned int n) in ovl_stack_put()
140 void ovl_stack_free(struct ovl_path *stack, unsigned int n) in ovl_stack_free()
189 struct ovl_path *lowerstack = ovl_lowerstack(oe); in ovl_dentry_init_flags()
250 struct ovl_path *lowerpath = ovl_lowerstack(oe); in ovl_path_lower()
263 struct ovl_path *lowerdata = ovl_lowerdata(oe); in ovl_path_lowerdata()
339 struct ovl_path *lowerdata = ovl_lowerdata(oe); in ovl_dentry_set_lowerdata()
[all …]
H A Dnamei.c397 struct ovl_path *lowerdata) in ovl_lookup_data_layers()
420 struct dentry *upperdentry, struct ovl_path **stackp) in ovl_check_origin_fh()
450 *stackp = kmalloc(sizeof(struct ovl_path), GFP_KERNEL); in ovl_check_origin_fh()
455 **stackp = (struct ovl_path){ in ovl_check_origin_fh()
471 struct ovl_path **stackp) in ovl_check_origin()
606 struct ovl_path origin = { }; in ovl_verify_index()
607 struct ovl_path *stack = &origin; in ovl_verify_index()
873 struct ovl_path *lowerstack = ovl_lowerstack(oe); in ovl_path_next()
975 struct ovl_path datapath = {}; in ovl_maybe_lookup_lowerdata()
1035 struct ovl_path *stack = NULL, *origin_path = NULL; in ovl_lookup()
[all …]
H A Dexport.c296 struct ovl_path *lowerpath, in ovl_obtain_alias()
338 struct ovl_path *lowerstack = ovl_lowerstack(oe); in ovl_dentry_real_at()
648 struct ovl_path *lowerpath, in ovl_get_dentry()
697 struct ovl_path origin = { }; in ovl_lower_fh_to_d()
698 struct ovl_path *stack = &origin; in ovl_lower_fh_to_d()
H A Doverlayfs.h436 struct ovl_path *ovl_stack_alloc(unsigned int n);
437 void ovl_stack_cpy(struct ovl_path *dst, struct ovl_path *src, unsigned int n);
438 void ovl_stack_put(struct ovl_path *stack, unsigned int n);
439 void ovl_stack_free(struct ovl_path *stack, unsigned int n);
459 int ovl_dentry_set_lowerdata(struct dentry *dentry, struct ovl_path *datapath);
672 struct dentry *upperdentry, struct ovl_path **stackp);
H A Dsuper.c125 struct ovl_path *lowerstack; in ovl_dentry_revalidate_common()
1132 struct ovl_path *lowerstack; in ovl_get_lowerstack()
1263 struct ovl_path *lowerpath = ovl_lowerstack(oe); in ovl_get_root()
H A Dinode.c1215 struct ovl_path *lowerpath = ovl_lowerpath(oip->oe); in ovl_get_inode()