Searched refs:ovl_path (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/fs/overlayfs/ |
D | ovl_entry.h | 45 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()
|
D | util.c | 87 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() 302 int ovl_dentry_set_lowerdata(struct dentry *dentry, struct ovl_path *datapath) in ovl_dentry_set_lowerdata() [all …]
|
D | namei.c | 393 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 …]
|
D | export.c | 292 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()
|
D | overlayfs.h | 409 struct ovl_path *ovl_stack_alloc(unsigned int n); 410 void ovl_stack_cpy(struct ovl_path *dst, struct ovl_path *src, unsigned int n); 411 void ovl_stack_put(struct ovl_path *stack, unsigned int n); 412 void ovl_stack_free(struct ovl_path *stack, unsigned int n); 432 int ovl_dentry_set_lowerdata(struct dentry *dentry, struct ovl_path *datapath); 625 struct dentry *upperdentry, struct ovl_path **stackp);
|
D | super.c | 108 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()
|
D | inode.c | 1335 struct ovl_path *lowerpath = ovl_lowerpath(oip->oe); in ovl_get_inode()
|