Home
last modified time | relevance | path

Searched refs:MP (Results 1 – 3 of 3) sorted by relevance

/fs/jfs/
Djfs_btree.h47 #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 …]
Djfs_xtree.c50 #define XT_PAGE(IP, MP) BT_PAGE(IP, MP, xtpage_t, i_xtroot) argument
54 #define XT_GETPAGE(IP, BN, MP, SIZE, P, RC) \ argument
56 BT_GETPAGE(IP, BN, MP, xtpage_t, SIZE, P, RC, i_xtroot); \
65 BT_PUTPAGE(MP); \
66 MP = NULL; \
73 #define XT_PUTPAGE(MP) BT_PUTPAGE(MP) argument
75 #define XT_GETSEARCH(IP, LEAF, BN, MP, P, INDEX) \ argument
76 BT_GETSEARCH(IP, LEAF, BN, MP, xtpage_t, P, INDEX, i_xtroot)
Djfs_dtree.c111 #define DT_PAGE(IP, MP) BT_PAGE(IP, MP, dtpage_t, i_dtroot) argument
114 #define DT_GETPAGE(IP, BN, MP, SIZE, P, RC) \ argument
116 BT_GETPAGE(IP, BN, MP, dtpage_t, SIZE, P, RC, i_dtroot); \
121 BT_PUTPAGE(MP); \
124 MP = NULL; \
131 #define DT_PUTPAGE(MP) BT_PUTPAGE(MP) argument
133 #define DT_GETSEARCH(IP, LEAF, BN, MP, P, INDEX) \ argument
134 BT_GETSEARCH(IP, LEAF, BN, MP, dtpage_t, P, INDEX, i_dtroot)