Lines Matching refs:indx_t
633 typedef uint16_t indx_t;
852 indx_t pb_lower; /**< lower bound of free space */
853 indx_t pb_upper; /**< upper bound of free space */
857 indx_t mp_ptrs[0]; /**< dynamic size */
865 indx_t mp2_lower;
866 indx_t mp2_upper;
867 indx_t mp2_ptrs[0];
890 #define SIZELEFT(p) (indx_t)(MP_UPPER(p) - MP_LOWER(p))
1253 indx_t mc_ki[CURSOR_STACK]; /**< stack of page indices */
1427 static int mdb_node_add(MDB_cursor *mc, indx_t indx,
1430 static void mdb_node_shrink(MDB_page *mp, indx_t indx);
1711 nsize += sizeof(indx_t);
2387 indx_t upper = src->mp_upper, lower = src->mp_lower, unused = upper-lower;
4536 - sizeof(indx_t);
5578 indx_t i;
6845 xdata.mv_size += 2 * (sizeof(indx_t) + NODESIZE) +
6860 offset = EVEN(NODESIZE + sizeof(indx_t) +
7333 return EVEN(sz + sizeof(indx_t));
7358 return sz + sizeof(indx_t);
7378 mdb_node_add(MDB_cursor *mc, indx_t indx,
7384 indx_t ofs;
7410 MP_LOWER(mp) += sizeof(indx_t);
7411 MP_UPPER(mp) -= ksize - sizeof(indx_t);
7415 room = (ssize_t)SIZELEFT(mp) - (ssize_t)sizeof(indx_t);
7452 mdb_cassert(mc, ofs >= MP_LOWER(mp) + sizeof(indx_t));
7455 MP_LOWER(mp) += sizeof(indx_t);
7508 indx_t indx = mc->mc_ki[mc->mc_top];
7510 indx_t i, j, numkeys, ptr;
7524 MP_LOWER(mp) -= sizeof(indx_t);
7525 MP_UPPER(mp) += ksize - sizeof(indx_t);
7552 MP_LOWER(mp) -= sizeof(indx_t);
7561 mdb_node_shrink(MDB_page *mp, indx_t indx)
7566 indx_t delta, nsize, len, ptr;
7872 indx_t ptr, i, numkeys, indx;
8132 indx_t ix = csrc->mc_ki[csrc->mc_top];
8163 indx_t ix = cdst->mc_ki[cdst->mc_top];
8191 indx_t i, j;
8356 indx_t oldki;
8538 indx_t ki;
8721 indx_t newindx;
8806 lsize = (nkeys - split_indx) * sizeof(indx_t);
8823 mp->mp_lower += sizeof(indx_t);
8824 mp->mp_upper -= ksize - sizeof(indx_t);
8831 rp->mp_lower += sizeof(indx_t);
8832 rp->mp_upper -= ksize - sizeof(indx_t);
8899 psize += NODESIZE + NODEKSZ(node) + sizeof(indx_t);