Home
last modified time | relevance | path

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

/fs/jfs/
Djfs_btree.h108 struct btframe stack[MAXTREEHEIGHT]; member
112 (btstack)->top = (btstack)->stack
115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1]))
126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top )
129 ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top )
137 (long long)btstack->stack[i].bn, in BT_STACK_DUMP()
138 btstack->stack[i].index); in BT_STACK_DUMP()
/fs/overlayfs/
Dnamei.c528 struct ovl_path *stack = &origin; in ovl_verify_index() local
598 err = ovl_check_origin_fh(ofs, fh, false, index, &stack); in ovl_verify_index()
837 struct ovl_path *stack = NULL, *origin_path = NULL; in ovl_lookup() local
908 stack = kcalloc(ofs->numlayer - 1, sizeof(struct ovl_path), in ovl_lookup()
910 if (!stack) in ovl_lookup()
981 stack[ctr].dentry = this; in ovl_lookup()
982 stack[ctr].layer = lower.layer; in ovl_lookup()
1027 if (WARN_ON(stack != NULL)) { in ovl_lookup()
1031 stack = origin_path; in ovl_lookup()
1057 origin = stack[0].dentry; in ovl_lookup()
[all …]
Dsuper.c1719 struct path *stack, unsigned int numlower, in ovl_get_layers() argument
1755 err = fsid = ovl_get_fsid(ofs, &stack[i]); in ovl_get_layers()
1766 err = ovl_setup_trap(sb, stack[i].dentry, &trap, "lowerdir"); in ovl_get_layers()
1770 if (ovl_is_inuse(stack[i].dentry)) { in ovl_get_layers()
1778 mnt = clone_private_mount(&stack[i]); in ovl_get_layers()
1843 struct path *stack = NULL; in ovl_get_lowerstack() local
1852 stack = kcalloc(numlower, sizeof(struct path), GFP_KERNEL); in ovl_get_lowerstack()
1853 if (!stack) in ovl_get_lowerstack()
1858 err = ovl_lower_dir(lower, &stack[i], ofs, &sb->s_stack_depth); in ovl_get_lowerstack()
1872 err = ovl_get_layers(sb, ofs, stack, numlower, layers); in ovl_get_lowerstack()
[all …]
Dexport.c704 struct ovl_path *stack = &origin; in ovl_lower_fh_to_d() local
711 err = ovl_check_origin_fh(ofs, fh, false, NULL, &stack); in ovl_lower_fh_to_d()
756 err = ovl_check_origin_fh(ofs, fh, true, NULL, &stack); in ovl_lower_fh_to_d()
/fs/
Dnamei.c581 } *stack, internal[EMBEDDED_LEVELS]; member
597 p->stack = p->internal; in __set_nameidata()
626 if (now->stack != now->internal) in restore_nameidata()
627 kfree(now->stack); in restore_nameidata()
639 nd->stack = p; in nd_alloc_stack()
664 struct saved *last = nd->stack + i; in drop_links()
684 path_put(&nd->stack[i].link); in terminate_walk()
729 struct saved *last = nd->stack + i; in legitimize_links()
1021 struct saved *last = nd->stack + --nd->depth; in put_link()
1122 audit_inode(nd->name, nd->stack[0].link.dentry, 0); in may_follow_link()
[all …]
DMakefile16 stack.o fs_struct.o statfs.o fs_pin.o nsfs.o \
/fs/btrfs/
Dsend.c3418 struct list_head *stack) in tail_append_pending_moves() argument
3421 list_add_tail(&moves->list, stack); in tail_append_pending_moves()
3425 list_add_tail(&moves->list, stack); in tail_append_pending_moves()
3426 list_splice_tail(&list, stack); in tail_append_pending_moves()
3437 struct list_head stack; in apply_children_dir_moves() local
3445 INIT_LIST_HEAD(&stack); in apply_children_dir_moves()
3446 tail_append_pending_moves(sctx, pm, &stack); in apply_children_dir_moves()
3448 while (!list_empty(&stack)) { in apply_children_dir_moves()
3449 pm = list_first_entry(&stack, struct pending_dir_move, list); in apply_children_dir_moves()
3457 tail_append_pending_moves(sctx, pm, &stack); in apply_children_dir_moves()
[all …]