Searched refs:btstack (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/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 | 114 s64 xoff, int *cmpp, struct btstack * btstack, int flag); 118 struct xtsplit * split, struct btstack * btstack); 128 xtpage_t * fp, struct btstack * btstack); 132 int *cmpp, struct btstack * btstack, int flag); 154 struct btstack btstack; in xtLookup() local 182 if ((rc = xtSearch(ip, lstart, &cmp, &btstack, 0))) { in xtLookup() 194 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookup() 252 struct btstack btstack; in xtLookupList() local 286 if ((rc = xtSearch(ip, lstart, &cmp, &btstack, 0))) in xtLookupList() 297 XT_GETSEARCH(ip, btstack.top, bn, mp, p, index); in xtLookupList() [all …]
|
D | namei.c | 67 struct btstack btstack; in jfs_create() local 96 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_create() 118 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_create() 182 struct btstack btstack; in jfs_mkdir() local 217 if ((rc = dtSearch(dip, &dname, &ino, &btstack, JFS_CREATE))) { in jfs_mkdir() 239 if ((rc = dtInsert(tid, dip, &dname, &ino, &btstack))) { in jfs_mkdir() 752 struct btstack btstack; in jfs_link() local 783 if ((rc = dtSearch(dir, &dname, &ino, &btstack, JFS_CREATE))) in jfs_link() 790 if ((rc = dtInsert(tid, dir, &dname, &ino, &btstack))) in jfs_link() 844 struct btstack btstack; in jfs_symlink() local [all …]
|
D | jfs_dtree.c | 151 struct dtsplit * split, struct btstack * btstack); 157 struct dtsplit * split, struct btstack * btstack); 163 dtpage_t * fp, struct btstack * btstack); 167 static int dtReadFirst(struct inode *ip, struct btstack * btstack); 170 loff_t * offset, struct btstack * btstack); 574 struct btstack * btstack, int flag) in dtSearch() argument 607 BT_CLR(btstack); /* reset stack */ in dtSearch() 610 btstack->nsplit = 1; in dtSearch() 699 btsp = btstack->top; in dtSearch() 748 btsp = btstack->top; in dtSearch() [all …]
|
D | jfs_dtree.h | 260 ino_t * data, struct btstack * btstack, int flag); 263 ino_t * ino, struct btstack * btstack);
|