Lines Matching defs:P
103 #define REFERENCE(P, T, O) (((T *)((u_int8_t *)(P) + O))[0]) argument
108 #define NUM_ENT(P) (REFERENCE((P), indx_t, I_ENTRIES)) argument
109 #define PREV_PGNO(P) (REFERENCE((P), db_pgno_t, I_PREV_PGNO)) argument
110 #define NEXT_PGNO(P) (REFERENCE((P), db_pgno_t, I_NEXT_PGNO)) argument
111 #define TYPE(P) (REFERENCE((P), u_int8_t, I_TYPE)) argument
112 #define OFFSET(P) (REFERENCE((P), indx_t, I_HF_OFFSET)) argument
118 #define ADDR(P) (PREV_PGNO((P))) argument
121 #define DATA_OFF(P, N) \ argument
123 #define KEY_OFF(P, N) \ argument
126 #define KEY(P, N) (((PAGE8 *)(P)) + KEY_OFF((P), (N))) argument
127 #define DATA(P, N) (((PAGE8 *)(P)) + DATA_OFF((P), (N))) argument
138 #define BIGPAGESIZE(P) ((P)->BSIZE - BIGPAGEOVERHEAD) argument
142 #define ISBIG(N, P) (((N) > ((P)->hdr.bsize * MINFILL)) ? 1 : 0) argument
151 #define BIGKEYLEN(P) (KEY_OFF((P), 0)) argument
152 #define BIGDATALEN(P) (DATA_OFF((P), 0)) argument
153 #define BIGKEY(P) (((PAGE8 *)(P)) + PAGE_OVERHEAD + PAIR_OVERHEAD) argument
154 #define BIGDATA(P) \ argument
171 #define PAIRFITS(P,K,D) ((PAIRSIZE((K),(D))) <= FREESPACE((P))) argument
172 #define BIGPAIRFITS(P) ((FREESPACE((P)) >= PAIR_OVERHEAD)) argument
179 #define FREESPACE(P) \ argument