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.c507 struct ovl_path *stack = &origin; in ovl_verify_index() local
582 err = ovl_check_origin_fh(ofs, fh, false, index, &stack); in ovl_verify_index()
823 struct ovl_path *stack = NULL, *origin_path = NULL; in ovl_lookup() local
896 stack = kcalloc(ofs->numlower, sizeof(struct ovl_path), in ovl_lookup()
898 if (!stack) in ovl_lookup()
962 stack[ctr].dentry = this; in ovl_lookup()
963 stack[ctr].layer = lower.layer; in ovl_lookup()
1010 if (WARN_ON(stack != NULL)) { in ovl_lookup()
1014 stack = origin_path; in ovl_lookup()
1035 origin = stack[0].dentry; in ovl_lookup()
[all …]
Dsuper.c1345 struct path *stack, unsigned int numlower) in ovl_get_lower_layers() argument
1366 err = fsid = ovl_get_fsid(ofs, &stack[i]); in ovl_get_lower_layers()
1370 err = ovl_setup_trap(sb, stack[i].dentry, &trap, "lowerdir"); in ovl_get_lower_layers()
1374 if (ovl_is_inuse(stack[i].dentry)) { in ovl_get_lower_layers()
1380 mnt = clone_private_mount(&stack[i]); in ovl_get_lower_layers()
1441 struct path *stack = NULL; in ovl_get_lowerstack() local
1467 stack = kcalloc(stacklen, sizeof(struct path), GFP_KERNEL); in ovl_get_lowerstack()
1468 if (!stack) in ovl_get_lowerstack()
1474 err = ovl_lower_dir(lower, &stack[numlower], ofs, in ovl_get_lowerstack()
1489 err = ovl_get_lower_layers(sb, ofs, stack, numlower); in ovl_get_lowerstack()
[all …]
Dexport.c705 struct ovl_path *stack = &origin; in ovl_lower_fh_to_d() local
712 err = ovl_check_origin_fh(ofs, fh, false, NULL, &stack); in ovl_lower_fh_to_d()
757 err = ovl_check_origin_fh(ofs, fh, true, NULL, &stack); in ovl_lower_fh_to_d()
/fs/
Dnamei.c516 } *stack, internal[EMBEDDED_LEVELS]; member
527 p->stack = p->internal; in set_nameidata()
542 if (now->stack != now->internal) in restore_nameidata()
543 kfree(now->stack); in restore_nameidata()
562 nd->stack = p; in __nd_alloc_stack()
589 if (likely(nd->stack != nd->internal)) in nd_alloc_stack()
598 struct saved *last = nd->stack + i; in drop_links()
611 path_put(&nd->stack[i].link); in terminate_walk()
645 struct saved *last = nd->stack + i; in legitimize_links()
968 struct saved *last = nd->stack + --nd->depth; in put_link()
[all …]
DMakefile15 stack.o fs_struct.o statfs.o fs_pin.o nsfs.o \
/fs/btrfs/
Dsend.c3365 struct list_head *stack) in tail_append_pending_moves() argument
3368 list_add_tail(&moves->list, stack); in tail_append_pending_moves()
3372 list_add_tail(&moves->list, stack); in tail_append_pending_moves()
3373 list_splice_tail(&list, stack); in tail_append_pending_moves()
3384 struct list_head stack; in apply_children_dir_moves() local
3392 INIT_LIST_HEAD(&stack); in apply_children_dir_moves()
3393 tail_append_pending_moves(sctx, pm, &stack); in apply_children_dir_moves()
3395 while (!list_empty(&stack)) { in apply_children_dir_moves()
3396 pm = list_first_entry(&stack, struct pending_dir_move, list); in apply_children_dir_moves()
3404 tail_append_pending_moves(sctx, pm, &stack); in apply_children_dir_moves()
[all …]