Home
last modified time | relevance | path

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

/linux/fs/jfs/
H A Djfs_btree.h105 struct btstack { struct
111 #define BT_CLR(btstack)\ argument
112 (btstack)->top = (btstack)->stack
114 #define BT_STACK_FULL(btstack)\ argument
115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1]))
125 #define BT_POP(btstack)\ argument
126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top )
128 #define BT_STACK(btstack)\ argument
129 ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top )
131 static inline void BT_STACK_DUMP(struct btstack *btstack) in BT_STACK_DUMP() argument
[all …]
H A Djfs_xtree.c105 struct btstack * btstack, int flag);
109 struct xtsplit * split, struct btstack * btstack);
126 struct btstack btstack; in xtLookup() local
152 if ((rc = xtSearch(ip, lstart, &next, &cmp, &btstack, 0))) { in xtLookup()
164 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup()
216 int *cmpp, struct btstack * btstack, int flag) in xtSearch() argument
233 BT_CLR(btstack); in xtSearch()
235 btstack->nsplit = 0; in xtSearch()
331 btstack->nsplit = nsplit; in xtSearch()
335 btsp = btstack->top; in xtSearch()
[all …]
H A Dnamei.c70 struct btstack btstack; in jfs_create() local
113 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create()
137 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create()
203 struct btstack btstack; in jfs_mkdir() local
246 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_mkdir()
270 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_mkdir()
794 struct btstack btstack; in jfs_link() local
819 if ((rc = dtSearch(dir, &dname, &ino, &btstack, JFS_CREATE))) in jfs_link()
826 if ((rc = dtInsert(tid, dir, &dname, &ino, &btstack))) in jfs_link()
886 struct btstack btstack; in jfs_symlink() local
[all …]
H A Djfs_dtree.c140 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) in dtSearch() argument
600 BT_CLR(btstack); /* reset stack */ in dtSearch()
603 btstack->nsplit = 1; in dtSearch()
697 btsp = btstack->top; in dtSearch()
746 btsp = btstack->top; in dtSearch()
[all …]
H A Djfs_dtree.h244 ino_t * data, struct btstack * btstack, int flag);
247 ino_t * ino, struct btstack * btstack);