Home
last modified time | relevance | path

Searched refs:btstack (Results 1 – 5 of 5) sorted by relevance

/fs/jfs/
Djfs_btree.h118 struct btstack { struct
124 #define BT_CLR(btstack)\ argument
125 (btstack)->top = (btstack)->stack
127 #define BT_STACK_FULL(btstack)\ argument
128 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1]))
138 #define BT_POP(btstack)\ argument
139 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top )
141 #define BT_STACK(btstack)\ argument
142 ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top )
144 static inline void BT_STACK_DUMP(struct btstack *btstack) in BT_STACK_DUMP() argument
[all …]
Djfs_xtree.c117 struct btstack * btstack, int flag);
121 struct xtsplit * split, struct btstack * btstack);
131 xtpage_t * fp, struct btstack * btstack);
135 int *cmpp, struct btstack * btstack, int flag);
149 struct btstack btstack; in xtLookup() local
175 if ((rc = xtSearch(ip, lstart, &next, &cmp, &btstack, 0))) { in xtLookup()
187 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup()
239 int *cmpp, struct btstack * btstack, int flag) in xtSearch() argument
256 BT_CLR(btstack); in xtSearch()
258 btstack->nsplit = 0; in xtSearch()
[all …]
Dnamei.c83 struct btstack btstack; in jfs_create() local
124 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create()
148 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create()
215 struct btstack btstack; in jfs_mkdir() local
256 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_mkdir()
280 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_mkdir()
797 struct btstack btstack; in jfs_link() local
816 if ((rc = dtSearch(dir, &dname, &ino, &btstack, JFS_CREATE))) in jfs_link()
823 if ((rc = dtInsert(tid, dir, &dname, &ino, &btstack))) in jfs_link()
882 struct btstack btstack; in jfs_symlink() local
[all …]
Djfs_dtree.c153 struct dtsplit * split, struct btstack * btstack);
159 struct dtsplit * split, struct btstack * btstack);
165 dtpage_t * fp, struct btstack * btstack);
169 static int dtReadFirst(struct inode *ip, struct btstack * btstack);
172 loff_t * offset, struct btstack * btstack);
581 struct btstack * btstack, int flag) in dtSearch() argument
612 BT_CLR(btstack); /* reset stack */ in dtSearch()
615 btstack->nsplit = 1; in dtSearch()
704 btsp = btstack->top; in dtSearch()
753 btsp = btstack->top; in dtSearch()
[all …]
Djfs_dtree.h257 ino_t * data, struct btstack * btstack, int flag);
260 ino_t * ino, struct btstack * btstack);