Lines Matching defs:sp
470 u_int16_t *sp, ndx, ovfl_num;
474 sp = (u_int16_t *)bufp->page;
478 hashp->FFACTOR = sp[0] >> 1;
495 ndx = sp[0];
501 sp[ndx + 4] = OFFSET(sp);
502 sp[ndx + 3] = FREESPACE(sp) - OVFLSIZE;
503 sp[ndx + 1] = ovfl_num;
504 sp[ndx + 2] = OVFLPAGE;
505 sp[0] = ndx + 2;
877 squeeze_key(u_int16_t *sp, const DBT *key, const DBT *val)
882 p = (char *)sp;
883 n = sp[0];
884 free_space = FREESPACE(sp);
885 off = OFFSET(sp);
887 pageno = sp[n - 1];
889 sp[n - 1] = off;
892 sp[n] = off;
894 sp[0] = n + 2;
895 sp[n + 1] = pageno;
896 sp[n + 2] = OVFLPAGE;
897 FREESPACE(sp) = free_space - PAIRSIZE(key, val);
898 OFFSET(sp) = off;