Searched refs:MP (Results 1 – 3 of 3) sorted by relevance
/fs/jfs/ |
D | jfs_btree.h | 60 #define BT_IS_ROOT(MP) (((MP)->xflag & COMMIT_PAGE) == 0) argument 63 #define BT_PAGE(IP, MP, TYPE, ROOT)\ argument 64 (BT_IS_ROOT(MP) ? (TYPE *)&JFS_IP(IP)->ROOT : (TYPE *)(MP)->data) 67 #define BT_GETPAGE(IP, BN, MP, TYPE, SIZE, P, RC, ROOT)\ argument 71 MP = (struct metapage *)&JFS_IP(IP)->bxflag;\ 77 MP = read_metapage((IP), BN, SIZE, 1);\ 78 if (MP) {\ 80 P = (MP)->data;\ 89 #define BT_MARK_DIRTY(MP, IP)\ argument 91 if (BT_IS_ROOT(MP))\ [all …]
|
D | jfs_xtree.c | 63 #define XT_PAGE(IP, MP) BT_PAGE(IP, MP, xtpage_t, i_xtroot) argument 67 #define XT_GETPAGE(IP, BN, MP, SIZE, P, RC)\ argument 69 BT_GETPAGE(IP, BN, MP, xtpage_t, SIZE, P, RC, i_xtroot)\ 77 BT_PUTPAGE(MP);\ 78 MP = NULL;\ 85 #define XT_PUTPAGE(MP) BT_PUTPAGE(MP) argument 87 #define XT_GETSEARCH(IP, LEAF, BN, MP, P, INDEX) \ argument 88 BT_GETSEARCH(IP, LEAF, BN, MP, xtpage_t, P, INDEX, i_xtroot)
|
D | jfs_dtree.c | 123 #define DT_PAGE(IP, MP) BT_PAGE(IP, MP, dtpage_t, i_dtroot) argument 126 #define DT_GETPAGE(IP, BN, MP, SIZE, P, RC)\ argument 128 BT_GETPAGE(IP, BN, MP, dtpage_t, SIZE, P, RC, i_dtroot)\ 134 BT_PUTPAGE(MP);\ 136 MP = NULL;\ 143 #define DT_PUTPAGE(MP) BT_PUTPAGE(MP) argument 145 #define DT_GETSEARCH(IP, LEAF, BN, MP, P, INDEX) \ argument 146 BT_GETSEARCH(IP, LEAF, BN, MP, dtpage_t, P, INDEX, i_dtroot)
|