Home
last modified time | relevance | path

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

/linux-6.6.21/fs/jfs/
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 …]
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 …]
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()
793 struct btstack btstack; in jfs_link() local
818 if ((rc = dtSearch(dir, &dname, &ino, &btstack, JFS_CREATE))) in jfs_link()
825 if ((rc = dtInsert(tid, dir, &dname, &ino, &btstack))) in jfs_link()
885 struct btstack btstack; in jfs_symlink() local
[all …]
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 …]
Djfs_dtree.h244 ino_t * data, struct btstack * btstack, int flag);
247 ino_t * ino, struct btstack * btstack);