Lines Matching refs:dtlck

832 	struct dt_lock *dtlck;  in dtInsert()  local
890 dtlck = (struct dt_lock *) & tlck->lock; in dtInsert()
891 ASSERT(dtlck->index == 0); in dtInsert()
892 lv = & dtlck->lv[0]; in dtInsert()
897 dtlck->index++; in dtInsert()
899 dtInsertEntry(p, index, name, &data, &dtlck); in dtInsert()
903 if (dtlck->index >= dtlck->maxcnt) in dtInsert()
904 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtInsert()
905 lv = & dtlck->lv[dtlck->index]; in dtInsert()
910 dtlck->index++; in dtInsert()
952 struct dt_lock *dtlck; in dtSplitUp() local
1267 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitUp()
1268 ASSERT(dtlck->index == 0); in dtSplitUp()
1269 lv = & dtlck->lv[0]; in dtSplitUp()
1274 dtlck->index++; in dtSplitUp()
1284 dtlck->index++; in dtSplitUp()
1287 dtInsertEntry(sp, skip, &key, data, &dtlck); in dtSplitUp()
1354 struct dt_lock *dtlck; in dtSplitPage() local
1489 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitPage()
1492 lv = & dtlck->lv[dtlck->index]; in dtSplitPage()
1495 dtlck->index++; in dtSplitPage()
1659 struct dt_lock *dtlck; in dtExtendPage() local
1735 dtlck = (struct dt_lock *) & tlck->lock; in dtExtendPage()
1736 lv = & dtlck->lv[0]; in dtExtendPage()
1760 dtlck->index++; in dtExtendPage()
1775 dtlck->index++; in dtExtendPage()
1822 dtInsertEntry(sp, split->index, split->key, split->data, &dtlck); in dtExtendPage()
1831 dtLinelockFreelist(sp, n, &dtlck); in dtExtendPage()
1841 dtlck = (struct dt_lock *) & tlck->lock; in dtExtendPage()
1842 lv = & dtlck->lv[dtlck->index]; in dtExtendPage()
1847 dtlck->index++; in dtExtendPage()
1894 struct dt_lock *dtlck; in dtSplitRoot() local
1933 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitRoot()
1947 ASSERT(dtlck->index == 0); in dtSplitRoot()
1948 lv = & dtlck->lv[0]; in dtSplitRoot()
1951 dtlck->index++; in dtSplitRoot()
2014 dtInsertEntry(rp, split->index, split->key, split->data, &dtlck); in dtSplitRoot()
2030 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitRoot()
2033 ASSERT(dtlck->index == 0); in dtSplitRoot()
2034 lv = & dtlck->lv[0]; in dtSplitRoot()
2037 dtlck->index++; in dtSplitRoot()
2092 struct dt_lock *dtlck; in dtDelete() local
2170 dtlck = (struct dt_lock *) & tlck->lock; in dtDelete()
2179 if (dtlck->index >= dtlck->maxcnt) in dtDelete()
2180 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDelete()
2181 lv = & dtlck->lv[dtlck->index]; in dtDelete()
2184 dtlck->index++; in dtDelete()
2188 if (dtlck->index >= dtlck->maxcnt) in dtDelete()
2189 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDelete()
2190 lv = & dtlck->lv[dtlck->index]; in dtDelete()
2196 dtlck->index++; in dtDelete()
2200 dtDeleteEntry(p, index, &dtlck); in dtDelete()
2247 struct dt_lock *dtlck; in dtDeleteUp() local
2392 dtlck = (struct dt_lock *) & tlck->lock; in dtDeleteUp()
2395 if (dtlck->index >= dtlck->maxcnt) in dtDeleteUp()
2396 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteUp()
2397 lv = & dtlck->lv[dtlck->index]; in dtDeleteUp()
2400 dtlck->index++; in dtDeleteUp()
2404 if (dtlck->index < dtlck->maxcnt) in dtDeleteUp()
2407 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteUp()
2408 lv = & dtlck->lv[0]; in dtDeleteUp()
2415 dtlck->index++; in dtDeleteUp()
2419 dtDeleteEntry(p, index, &dtlck); in dtDeleteUp()
2424 dtTruncateEntry(p, 0, &dtlck); in dtDeleteUp()
2459 struct dt_lock *dtlck; in dtRelocate() local
2528 dtlck = (struct dt_lock *) & tlck->lock; in dtRelocate()
2530 ASSERT(dtlck->index == 0); in dtRelocate()
2531 lv = & dtlck->lv[0]; in dtRelocate()
2534 dtlck->index++; in dtRelocate()
2542 dtlck = (struct dt_lock *) & tlck->lock; in dtRelocate()
2544 ASSERT(dtlck->index == 0); in dtRelocate()
2545 lv = & dtlck->lv[0]; in dtRelocate()
2548 dtlck->index++; in dtRelocate()
2564 dtlck = (struct dt_lock *) & tlck->lock; in dtRelocate()
2566 ASSERT(dtlck->index == 0); in dtRelocate()
2567 lv = & dtlck->lv[0]; in dtRelocate()
2578 dtlck->index++; in dtRelocate()
2615 dtlck = (struct dt_lock *) & tlck->lock; in dtRelocate()
2616 lv = & dtlck->lv[dtlck->index]; in dtRelocate()
2624 dtlck->index++; in dtRelocate()
2754 struct dt_lock *dtlck; in dtRelink() local
2775 dtlck = (struct dt_lock *) & tlck->lock; in dtRelink()
2778 if (dtlck->index >= dtlck->maxcnt) in dtRelink()
2779 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtRelink()
2780 lv = & dtlck->lv[dtlck->index]; in dtRelink()
2783 dtlck->index++; in dtRelink()
2804 dtlck = (struct dt_lock *) & tlck->lock; in dtRelink()
2807 if (dtlck->index >= dtlck->maxcnt) in dtRelink()
2808 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtRelink()
2809 lv = & dtlck->lv[dtlck->index]; in dtRelink()
2812 dtlck->index++; in dtRelink()
2834 struct dt_lock *dtlck; in dtInitRoot() local
2879 dtlck = (struct dt_lock *) & tlck->lock; in dtInitRoot()
2882 ASSERT(dtlck->index == 0); in dtInitRoot()
2883 lv = & dtlck->lv[0]; in dtInitRoot()
2886 dtlck->index++; in dtInitRoot()
2922 struct dt_lock *dtlck; in add_missing_indices() local
2949 dtlck = (struct dt_lock *) &tlck->lock; in add_missing_indices()
2957 if (dtlck->index >= dtlck->maxcnt) in add_missing_indices()
2958 dtlck = (struct dt_lock *) txLinelock(dtlck); in add_missing_indices()
2959 lv = &dtlck->lv[dtlck->index]; in add_missing_indices()
2962 dtlck->index++; in add_missing_indices()
3917 struct dt_lock *dtlck = *dtlock; in dtInsertEntry() local
3933 if (dtlck->index >= dtlck->maxcnt) in dtInsertEntry()
3934 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtInsertEntry()
3936 lv = & dtlck->lv[dtlck->index]; in dtInsertEntry()
3984 dtlck->index++; in dtInsertEntry()
3987 if (dtlck->index < dtlck->maxcnt) in dtInsertEntry()
3990 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtInsertEntry()
3991 lv = & dtlck->lv[0]; in dtInsertEntry()
4009 dtlck->index++; in dtInsertEntry()
4011 *dtlock = dtlck; in dtInsertEntry()
4271 struct dt_lock *dtlck = *dtlock; in dtDeleteEntry() local
4280 if (dtlck->index >= dtlck->maxcnt) in dtDeleteEntry()
4281 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteEntry()
4282 lv = & dtlck->lv[dtlck->index]; in dtDeleteEntry()
4304 dtlck->index++; in dtDeleteEntry()
4307 if (dtlck->index < dtlck->maxcnt) in dtDeleteEntry()
4310 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteEntry()
4311 lv = & dtlck->lv[0]; in dtDeleteEntry()
4329 dtlck->index++; in dtDeleteEntry()
4331 *dtlock = dtlck; in dtDeleteEntry()
4366 struct dt_lock *dtlck = *dtlock; in dtTruncateEntry() local
4375 if (dtlck->index >= dtlck->maxcnt) in dtTruncateEntry()
4376 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtTruncateEntry()
4377 lv = & dtlck->lv[dtlck->index]; in dtTruncateEntry()
4399 dtlck->index++; in dtTruncateEntry()
4402 if (dtlck->index < dtlck->maxcnt) in dtTruncateEntry()
4405 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtTruncateEntry()
4406 lv = & dtlck->lv[0]; in dtTruncateEntry()
4424 dtlck->index++; in dtTruncateEntry()
4426 *dtlock = dtlck; in dtTruncateEntry()
4447 struct dt_lock *dtlck = *dtlock; in dtLinelockFreelist() local
4455 if (dtlck->index >= dtlck->maxcnt) in dtLinelockFreelist()
4456 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtLinelockFreelist()
4457 lv = & dtlck->lv[dtlck->index]; in dtLinelockFreelist()
4473 dtlck->index++; in dtLinelockFreelist()
4476 if (dtlck->index < dtlck->maxcnt) in dtLinelockFreelist()
4479 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtLinelockFreelist()
4480 lv = & dtlck->lv[0]; in dtLinelockFreelist()
4496 dtlck->index++; in dtLinelockFreelist()
4498 *dtlock = dtlck; in dtLinelockFreelist()
4530 struct dt_lock *dtlck; in dtModify() local
4552 dtlck = (struct dt_lock *) & tlck->lock; in dtModify()
4559 ASSERT(dtlck->index == 0); in dtModify()
4560 lv = & dtlck->lv[0]; in dtModify()
4563 dtlck->index++; in dtModify()