Searched refs:btstack (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/fs/jfs/ |
D | jfs_btree.h | 118 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 …]
|
D | jfs_xtree.c | 118 struct btstack * btstack, int flag); 122 struct xtsplit * split, struct btstack * btstack); 132 xtpage_t * fp, struct btstack * btstack); 136 int *cmpp, struct btstack * btstack, int flag); 150 struct btstack btstack; in xtLookup() local 176 if ((rc = xtSearch(ip, lstart, &next, &cmp, &btstack, 0))) { in xtLookup() 188 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup() 240 int *cmpp, struct btstack * btstack, int flag) in xtSearch() argument 257 BT_CLR(btstack); in xtSearch() 259 btstack->nsplit = 0; in xtSearch() [all …]
|
D | namei.c | 83 struct btstack btstack; in jfs_create() local 126 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create() 150 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create() 215 struct btstack btstack; in jfs_mkdir() local 258 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_mkdir() 282 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_mkdir() 805 struct btstack btstack; in jfs_link() local 825 if ((rc = dtSearch(dir, &dname, &ino, &btstack, JFS_CREATE))) in jfs_link() 832 if ((rc = dtInsert(tid, dir, &dname, &ino, &btstack))) in jfs_link() 892 struct btstack btstack; in jfs_symlink() local [all …]
|
D | jfs_dtree.c | 153 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 613 BT_CLR(btstack); /* reset stack */ in dtSearch() 616 btstack->nsplit = 1; in dtSearch() 705 btsp = btstack->top; in dtSearch() 754 btsp = btstack->top; in dtSearch() [all …]
|
D | jfs_dtree.h | 257 ino_t * data, struct btstack * btstack, int flag); 260 ino_t * ino, struct btstack * btstack);
|