Lines Matching defs:prevlinkp
1147 linkinfo_ent prevlink, *prevlinkp;
1151 prevlinkp = fetch_record(dbp, prevkey, prevsize, &prevlink, &error,
1154 if (prevlinkp == NULL) {
1157 diff = nextsize - LN_NEXT_LEN(prevlinkp);
1158 prevlinkp->reclen = ROUNDUP32(prevlinkp->reclen + diff);
1161 char *ptr = LN_PREV(prevlinkp);
1163 prevlinkp->prev_offset += diff;
1164 (void) memcpy(LN_PREV(prevlinkp), ptr, LN_PREV_LEN(prevlinkp));
1167 (void) memcpy(LN_NEXT(prevlinkp), nextkey, nextsize);
1170 error = store_record(dbp, prevkey, prevsize, prevlinkp,
1171 prevlinkp->reclen, "update_prev");