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.c505 struct ovl_path *stack = &origin; in ovl_verify_index() local
580 err = ovl_check_origin_fh(ofs, fh, false, index, &stack); in ovl_verify_index()
817 struct ovl_path *stack = NULL, *origin_path = NULL; in ovl_lookup() local
890 stack = kcalloc(ofs->numlower, sizeof(struct ovl_path), in ovl_lookup()
892 if (!stack) in ovl_lookup()
956 stack[ctr].dentry = this; in ovl_lookup()
957 stack[ctr].layer = lower.layer; in ovl_lookup()
1004 if (WARN_ON(stack != NULL)) { in ovl_lookup()
1008 stack = origin_path; in ovl_lookup()
1029 origin = stack[0].dentry; in ovl_lookup()
[all …]
Dsuper.c1364 struct path *stack, unsigned int numlower) in ovl_get_lower_layers() argument
1385 err = fsid = ovl_get_fsid(ofs, &stack[i]); in ovl_get_lower_layers()
1396 err = ovl_setup_trap(sb, stack[i].dentry, &trap, "lowerdir"); in ovl_get_lower_layers()
1400 if (ovl_is_inuse(stack[i].dentry)) { in ovl_get_lower_layers()
1408 mnt = clone_private_mount(&stack[i]); in ovl_get_lower_layers()
1469 struct path *stack = NULL; in ovl_get_lowerstack() local
1495 stack = kcalloc(stacklen, sizeof(struct path), GFP_KERNEL); in ovl_get_lowerstack()
1496 if (!stack) in ovl_get_lowerstack()
1502 err = ovl_lower_dir(lower, &stack[numlower], ofs, in ovl_get_lowerstack()
1517 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.c506 } *stack, internal[EMBEDDED_LEVELS]; member
517 p->stack = p->internal; in set_nameidata()
532 if (now->stack != now->internal) in restore_nameidata()
533 kfree(now->stack); in restore_nameidata()
552 nd->stack = p; in __nd_alloc_stack()
579 if (likely(nd->stack != nd->internal)) in nd_alloc_stack()
588 struct saved *last = nd->stack + i; in drop_links()
601 path_put(&nd->stack[i].link); in terminate_walk()
635 struct saved *last = nd->stack + i; in legitimize_links()
958 struct saved *last = nd->stack + --nd->depth; in put_link()
[all …]
DMakefile17 stack.o fs_struct.o statfs.o fs_pin.o nsfs.o \
/fs/btrfs/
Dsend.c3396 struct list_head *stack) in tail_append_pending_moves() argument
3399 list_add_tail(&moves->list, stack); in tail_append_pending_moves()
3403 list_add_tail(&moves->list, stack); in tail_append_pending_moves()
3404 list_splice_tail(&list, stack); in tail_append_pending_moves()
3415 struct list_head stack; in apply_children_dir_moves() local
3423 INIT_LIST_HEAD(&stack); in apply_children_dir_moves()
3424 tail_append_pending_moves(sctx, pm, &stack); in apply_children_dir_moves()
3426 while (!list_empty(&stack)) { in apply_children_dir_moves()
3427 pm = list_first_entry(&stack, struct pending_dir_move, list); in apply_children_dir_moves()
3435 tail_append_pending_moves(sctx, pm, &stack); in apply_children_dir_moves()
[all …]