Searched defs:stack (Results 1 - 2 of 2) sorted by relevance

/fs/jfs/
H A Djfs_btree.h106 * btree traversal stack
111 struct btframe { /* stack frame */
121 struct btframe stack[MAXTREEHEIGHT]; member in struct:btstack
125 (btstack)->top = (btstack)->stack
128 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1]))
139 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top )
142 ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top )
150 (long long)btstack->stack[i].bn,
151 btstack->stack[i].index);
/fs/btrfs/
H A Dsend.c3242 struct list_head *stack)
3245 list_add_tail(&moves->list, stack);
3249 list_add_tail(&moves->list, stack);
3250 list_splice_tail(&list, stack);
3257 struct list_head stack; local
3265 INIT_LIST_HEAD(&stack);
3266 tail_append_pending_moves(pm, &stack);
3268 while (!list_empty(&stack)) {
3269 pm = list_first_entry(&stack, struct pending_dir_move, list);
3277 tail_append_pending_moves(pm, &stack);
3241 tail_append_pending_moves(struct pending_dir_move *moves, struct list_head *stack) argument
[all...]

Completed in 77 milliseconds