Lines Matching refs:btstack
140 struct dtsplit * split, struct btstack * btstack);
146 struct dtsplit * split, struct btstack * btstack);
152 dtpage_t * fp, struct btstack * btstack);
156 static int dtReadFirst(struct inode *ip, struct btstack * btstack);
159 loff_t * offset, struct btstack * btstack);
568 struct btstack * btstack, int flag)
600 BT_CLR(btstack); /* reset stack */
603 btstack->nsplit = 1;
697 btsp = btstack->top;
746 btsp = btstack->top;
768 if (BT_STACK_FULL(btstack)) {
773 BT_STACK_DUMP(btstack);
777 btstack->nsplit++;
780 BT_PUSH(btstack, bn, index);
815 struct component_name * name, ino_t * fsn, struct btstack * btstack)
836 DT_GETSEARCH(ip, btstack->top, bn, mp, p, index);
868 rc = dtSplitUp(tid, ip, &split, btstack);
924 struct inode *ip, struct dtsplit * split, struct btstack * btstack)
1039 if ((rc = dtExtendPage(tid, ip, split, btstack))) {
1071 n = btstack->nsplit;
1120 while ((parent = BT_POP(btstack)) != NULL) {
1636 struct inode *ip, struct dtsplit * split, struct btstack * btstack)
1665 parent = BT_POP(btstack);
2083 struct btstack btstack;
2099 if ((rc = dtSearch(ip, key, ino, &btstack, flag)))
2103 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
2149 rc = dtDeleteUp(tid, ip, mp, p, &btstack);
2231 struct metapage * fmp, dtpage_t * fp, struct btstack * btstack)
2299 while ((parent = BT_POP(btstack)) != NULL) {
2716 struct btstack btstack;
2818 if ((rc = dtReadFirst(ip, &btstack)))
2821 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
2860 if ((rc = dtReadNext(ip, &ctx->pos, &btstack))) {
2867 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index);
3037 static int dtReadFirst(struct inode *ip, struct btstack * btstack)
3048 BT_CLR(btstack); /* reset stack */
3065 btsp = btstack->top;
3076 if (BT_STACK_FULL(btstack)) {
3078 jfs_error(ip->i_sb, "btstack overrun\n");
3079 BT_STACK_DUMP(btstack);
3083 BT_PUSH(btstack, bn, 0);
3110 struct btstack * btstack)
3130 if ((rc = dtReadFirst(ip, btstack)))
3134 DT_GETSEARCH(ip, btstack->top, bn, mp, p, index);
3190 btsp = btstack->top;
3266 btsp = btstack->top;
4222 struct btstack btstack;
4235 if ((rc = dtSearch(ip, key, orig_ino, &btstack, flag)))
4239 DT_GETSEARCH(ip, btstack.top, bn, mp, p, index);