Lines Matching refs:dtlck

824 	struct dt_lock *dtlck;  in dtInsert()  local
882 dtlck = (struct dt_lock *) & tlck->lock; in dtInsert()
883 ASSERT(dtlck->index == 0); in dtInsert()
884 lv = & dtlck->lv[0]; in dtInsert()
889 dtlck->index++; in dtInsert()
891 dtInsertEntry(p, index, name, &data, &dtlck); in dtInsert()
895 if (dtlck->index >= dtlck->maxcnt) in dtInsert()
896 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtInsert()
897 lv = & dtlck->lv[dtlck->index]; in dtInsert()
902 dtlck->index++; in dtInsert()
944 struct dt_lock *dtlck; in dtSplitUp() local
1259 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitUp()
1260 ASSERT(dtlck->index == 0); in dtSplitUp()
1261 lv = & dtlck->lv[0]; in dtSplitUp()
1266 dtlck->index++; in dtSplitUp()
1276 dtlck->index++; in dtSplitUp()
1279 dtInsertEntry(sp, skip, &key, data, &dtlck); in dtSplitUp()
1346 struct dt_lock *dtlck; in dtSplitPage() local
1481 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitPage()
1484 lv = & dtlck->lv[dtlck->index]; in dtSplitPage()
1487 dtlck->index++; in dtSplitPage()
1651 struct dt_lock *dtlck; in dtExtendPage() local
1727 dtlck = (struct dt_lock *) & tlck->lock; in dtExtendPage()
1728 lv = & dtlck->lv[0]; in dtExtendPage()
1752 dtlck->index++; in dtExtendPage()
1767 dtlck->index++; in dtExtendPage()
1814 dtInsertEntry(sp, split->index, split->key, split->data, &dtlck); in dtExtendPage()
1823 dtLinelockFreelist(sp, n, &dtlck); in dtExtendPage()
1833 dtlck = (struct dt_lock *) & tlck->lock; in dtExtendPage()
1834 lv = & dtlck->lv[dtlck->index]; in dtExtendPage()
1839 dtlck->index++; in dtExtendPage()
1886 struct dt_lock *dtlck; in dtSplitRoot() local
1925 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitRoot()
1939 ASSERT(dtlck->index == 0); in dtSplitRoot()
1940 lv = & dtlck->lv[0]; in dtSplitRoot()
1943 dtlck->index++; in dtSplitRoot()
2006 dtInsertEntry(rp, split->index, split->key, split->data, &dtlck); in dtSplitRoot()
2022 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitRoot()
2025 ASSERT(dtlck->index == 0); in dtSplitRoot()
2026 lv = & dtlck->lv[0]; in dtSplitRoot()
2029 dtlck->index++; in dtSplitRoot()
2084 struct dt_lock *dtlck; in dtDelete() local
2162 dtlck = (struct dt_lock *) & tlck->lock; in dtDelete()
2171 if (dtlck->index >= dtlck->maxcnt) in dtDelete()
2172 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDelete()
2173 lv = & dtlck->lv[dtlck->index]; in dtDelete()
2176 dtlck->index++; in dtDelete()
2180 if (dtlck->index >= dtlck->maxcnt) in dtDelete()
2181 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDelete()
2182 lv = & dtlck->lv[dtlck->index]; in dtDelete()
2188 dtlck->index++; in dtDelete()
2192 dtDeleteEntry(p, index, &dtlck); in dtDelete()
2239 struct dt_lock *dtlck; in dtDeleteUp() local
2384 dtlck = (struct dt_lock *) & tlck->lock; in dtDeleteUp()
2387 if (dtlck->index >= dtlck->maxcnt) in dtDeleteUp()
2388 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteUp()
2389 lv = & dtlck->lv[dtlck->index]; in dtDeleteUp()
2392 dtlck->index++; in dtDeleteUp()
2396 if (dtlck->index < dtlck->maxcnt) in dtDeleteUp()
2399 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteUp()
2400 lv = & dtlck->lv[0]; in dtDeleteUp()
2407 dtlck->index++; in dtDeleteUp()
2411 dtDeleteEntry(p, index, &dtlck); in dtDeleteUp()
2416 dtTruncateEntry(p, 0, &dtlck); in dtDeleteUp()
2448 struct dt_lock *dtlck; in dtRelink() local
2469 dtlck = (struct dt_lock *) & tlck->lock; in dtRelink()
2472 if (dtlck->index >= dtlck->maxcnt) in dtRelink()
2473 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtRelink()
2474 lv = & dtlck->lv[dtlck->index]; in dtRelink()
2477 dtlck->index++; in dtRelink()
2498 dtlck = (struct dt_lock *) & tlck->lock; in dtRelink()
2501 if (dtlck->index >= dtlck->maxcnt) in dtRelink()
2502 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtRelink()
2503 lv = & dtlck->lv[dtlck->index]; in dtRelink()
2506 dtlck->index++; in dtRelink()
2528 struct dt_lock *dtlck; in dtInitRoot() local
2573 dtlck = (struct dt_lock *) & tlck->lock; in dtInitRoot()
2576 ASSERT(dtlck->index == 0); in dtInitRoot()
2577 lv = & dtlck->lv[0]; in dtInitRoot()
2580 dtlck->index++; in dtInitRoot()
2616 struct dt_lock *dtlck; in add_missing_indices() local
2643 dtlck = (struct dt_lock *) &tlck->lock; in add_missing_indices()
2651 if (dtlck->index >= dtlck->maxcnt) in add_missing_indices()
2652 dtlck = (struct dt_lock *) txLinelock(dtlck); in add_missing_indices()
2653 lv = &dtlck->lv[dtlck->index]; in add_missing_indices()
2656 dtlck->index++; in add_missing_indices()
3611 struct dt_lock *dtlck = *dtlock; in dtInsertEntry() local
3627 if (dtlck->index >= dtlck->maxcnt) in dtInsertEntry()
3628 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtInsertEntry()
3630 lv = & dtlck->lv[dtlck->index]; in dtInsertEntry()
3678 dtlck->index++; in dtInsertEntry()
3681 if (dtlck->index < dtlck->maxcnt) in dtInsertEntry()
3684 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtInsertEntry()
3685 lv = & dtlck->lv[0]; in dtInsertEntry()
3703 dtlck->index++; in dtInsertEntry()
3705 *dtlock = dtlck; in dtInsertEntry()
3965 struct dt_lock *dtlck = *dtlock; in dtDeleteEntry() local
3974 if (dtlck->index >= dtlck->maxcnt) in dtDeleteEntry()
3975 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteEntry()
3976 lv = & dtlck->lv[dtlck->index]; in dtDeleteEntry()
3998 dtlck->index++; in dtDeleteEntry()
4001 if (dtlck->index < dtlck->maxcnt) in dtDeleteEntry()
4004 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteEntry()
4005 lv = & dtlck->lv[0]; in dtDeleteEntry()
4023 dtlck->index++; in dtDeleteEntry()
4025 *dtlock = dtlck; in dtDeleteEntry()
4060 struct dt_lock *dtlck = *dtlock; in dtTruncateEntry() local
4069 if (dtlck->index >= dtlck->maxcnt) in dtTruncateEntry()
4070 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtTruncateEntry()
4071 lv = & dtlck->lv[dtlck->index]; in dtTruncateEntry()
4093 dtlck->index++; in dtTruncateEntry()
4096 if (dtlck->index < dtlck->maxcnt) in dtTruncateEntry()
4099 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtTruncateEntry()
4100 lv = & dtlck->lv[0]; in dtTruncateEntry()
4118 dtlck->index++; in dtTruncateEntry()
4120 *dtlock = dtlck; in dtTruncateEntry()
4141 struct dt_lock *dtlck = *dtlock; in dtLinelockFreelist() local
4149 if (dtlck->index >= dtlck->maxcnt) in dtLinelockFreelist()
4150 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtLinelockFreelist()
4151 lv = & dtlck->lv[dtlck->index]; in dtLinelockFreelist()
4167 dtlck->index++; in dtLinelockFreelist()
4170 if (dtlck->index < dtlck->maxcnt) in dtLinelockFreelist()
4173 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtLinelockFreelist()
4174 lv = & dtlck->lv[0]; in dtLinelockFreelist()
4190 dtlck->index++; in dtLinelockFreelist()
4192 *dtlock = dtlck; in dtLinelockFreelist()
4224 struct dt_lock *dtlck; in dtModify() local
4246 dtlck = (struct dt_lock *) & tlck->lock; in dtModify()
4253 ASSERT(dtlck->index == 0); in dtModify()
4254 lv = & dtlck->lv[0]; in dtModify()
4257 dtlck->index++; in dtModify()