Lines Matching defs:lcp
1249 HASH_CURSOR *lcp;
1282 lcp = (HASH_CURSOR *)cp->internal;
1284 if (!is_dup && lcp->pgno != chg_pgno)
1288 if (F_ISSET(hcp, H_DELETED) && lcp->pgno != chg_pgno)
1290 if (!F_ISSET(hcp, H_DELETED) && lcp->dpgno != chg_pgno)
1296 lcp->dpgno = hcp->dpgno;
1297 lcp->dndx = hcp->dndx;
1299 lcp->pgno = hcp->pgno;
1300 lcp->bndx = hcp->bndx;
1301 lcp->bucket = hcp->bucket;
1303 F_CLR(lcp, H_ISDUP);
1307 if (!is_dup && lcp->bndx > hcp->bndx)
1308 lcp->bndx--;
1309 else if (!is_dup && lcp->bndx == hcp->bndx)
1310 F_SET(lcp, H_DELETED);
1311 else if (is_dup && lcp->bndx == hcp->bndx) {
1313 lcp->dpgno = hcp->dpgno;
1314 if (add && lcp->dndx >= hcp->dndx )
1315 lcp->dndx++;
1316 else if (!add && lcp->dndx > hcp->dndx)
1317 lcp->dndx--;
1318 else if (!add && lcp->dndx == hcp->dndx)
1319 F_SET(lcp, H_DELETED);
1322 if (lcp->dpgno == PGNO_INVALID)
1324 lcp->dup_tlen += len;
1325 if (lcp->dndx > hcp->dndx)
1326 lcp->dup_off += len;
1328 lcp->dup_tlen -= len;
1329 if (lcp->dndx > hcp->dndx)
1330 lcp->dup_off -= len;