D | jfs_btree.h | 47 #define BT_IS_ROOT(MP) (((MP)->xflag & COMMIT_PAGE) == 0) argument 50 #define BT_PAGE(IP, MP, TYPE, ROOT)\ argument 51 (BT_IS_ROOT(MP) ? (TYPE *)&JFS_IP(IP)->ROOT : (TYPE *)(MP)->data) 54 #define BT_GETPAGE(IP, BN, MP, TYPE, SIZE, P, RC, ROOT)\ argument 58 MP = (struct metapage *)&JFS_IP(IP)->bxflag;\ 64 MP = read_metapage((IP), BN, SIZE, 1);\ 65 if (MP) {\ 67 P = (MP)->data;\ 76 #define BT_MARK_DIRTY(MP, IP)\ argument 78 if (BT_IS_ROOT(MP))\ [all …]
|