14#ifndef FSM_INTERNALS_H
15#define FSM_INTERNALS_H
51#define NodesPerPage (BLCKSZ - MAXALIGN(SizeOfPageHeaderData) - \
52 offsetof(FSMPageData, fp_nodes))
54#define NonLeafNodesPerPage (BLCKSZ / 2 - 1)
55#define LeafNodesPerPage (NodesPerPage - NonLeafNodesPerPage)
61#define SlotsPerFSMPage LeafNodesPerPage
65 bool exclusive_lock_held);
#define FLEXIBLE_ARRAY_MEMBER
uint8 fsm_get_avail(Page page, int slot)
bool fsm_rebuild_page(Page page)
uint8 fsm_get_max_avail(Page page)
bool fsm_set_avail(Page page, int slot, uint8 value)
bool fsm_truncate_avail(Page page, int nslots)
int fsm_search_avail(Buffer buf, uint8 minvalue, bool advancenext, bool exclusive_lock_held)