Lines Matching refs:dtlck

819 	struct dt_lock *dtlck;  in dtInsert()  local
877 dtlck = (struct dt_lock *) & tlck->lock; in dtInsert()
878 ASSERT(dtlck->index == 0); in dtInsert()
879 lv = & dtlck->lv[0]; in dtInsert()
884 dtlck->index++; in dtInsert()
886 dtInsertEntry(p, index, name, &data, &dtlck); in dtInsert()
890 if (dtlck->index >= dtlck->maxcnt) in dtInsert()
891 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtInsert()
892 lv = & dtlck->lv[dtlck->index]; in dtInsert()
897 dtlck->index++; in dtInsert()
939 struct dt_lock *dtlck; in dtSplitUp() local
1254 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitUp()
1255 ASSERT(dtlck->index == 0); in dtSplitUp()
1256 lv = & dtlck->lv[0]; in dtSplitUp()
1261 dtlck->index++; in dtSplitUp()
1271 dtlck->index++; in dtSplitUp()
1274 dtInsertEntry(sp, skip, &key, data, &dtlck); in dtSplitUp()
1341 struct dt_lock *dtlck; in dtSplitPage() local
1476 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitPage()
1479 lv = & dtlck->lv[dtlck->index]; in dtSplitPage()
1482 dtlck->index++; in dtSplitPage()
1646 struct dt_lock *dtlck; in dtExtendPage() local
1722 dtlck = (struct dt_lock *) & tlck->lock; in dtExtendPage()
1723 lv = & dtlck->lv[0]; in dtExtendPage()
1747 dtlck->index++; in dtExtendPage()
1762 dtlck->index++; in dtExtendPage()
1809 dtInsertEntry(sp, split->index, split->key, split->data, &dtlck); in dtExtendPage()
1818 dtLinelockFreelist(sp, n, &dtlck); in dtExtendPage()
1828 dtlck = (struct dt_lock *) & tlck->lock; in dtExtendPage()
1829 lv = & dtlck->lv[dtlck->index]; in dtExtendPage()
1834 dtlck->index++; in dtExtendPage()
1881 struct dt_lock *dtlck; in dtSplitRoot() local
1920 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitRoot()
1934 ASSERT(dtlck->index == 0); in dtSplitRoot()
1935 lv = & dtlck->lv[0]; in dtSplitRoot()
1938 dtlck->index++; in dtSplitRoot()
2001 dtInsertEntry(rp, split->index, split->key, split->data, &dtlck); in dtSplitRoot()
2017 dtlck = (struct dt_lock *) & tlck->lock; in dtSplitRoot()
2020 ASSERT(dtlck->index == 0); in dtSplitRoot()
2021 lv = & dtlck->lv[0]; in dtSplitRoot()
2024 dtlck->index++; in dtSplitRoot()
2079 struct dt_lock *dtlck; in dtDelete() local
2157 dtlck = (struct dt_lock *) & tlck->lock; in dtDelete()
2166 if (dtlck->index >= dtlck->maxcnt) in dtDelete()
2167 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDelete()
2168 lv = & dtlck->lv[dtlck->index]; in dtDelete()
2171 dtlck->index++; in dtDelete()
2175 if (dtlck->index >= dtlck->maxcnt) in dtDelete()
2176 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDelete()
2177 lv = & dtlck->lv[dtlck->index]; in dtDelete()
2183 dtlck->index++; in dtDelete()
2187 dtDeleteEntry(p, index, &dtlck); in dtDelete()
2234 struct dt_lock *dtlck; in dtDeleteUp() local
2379 dtlck = (struct dt_lock *) & tlck->lock; in dtDeleteUp()
2382 if (dtlck->index >= dtlck->maxcnt) in dtDeleteUp()
2383 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteUp()
2384 lv = & dtlck->lv[dtlck->index]; in dtDeleteUp()
2387 dtlck->index++; in dtDeleteUp()
2391 if (dtlck->index < dtlck->maxcnt) in dtDeleteUp()
2394 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteUp()
2395 lv = & dtlck->lv[0]; in dtDeleteUp()
2402 dtlck->index++; in dtDeleteUp()
2406 dtDeleteEntry(p, index, &dtlck); in dtDeleteUp()
2411 dtTruncateEntry(p, 0, &dtlck); in dtDeleteUp()
2443 struct dt_lock *dtlck; in dtRelink() local
2464 dtlck = (struct dt_lock *) & tlck->lock; in dtRelink()
2467 if (dtlck->index >= dtlck->maxcnt) in dtRelink()
2468 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtRelink()
2469 lv = & dtlck->lv[dtlck->index]; in dtRelink()
2472 dtlck->index++; in dtRelink()
2493 dtlck = (struct dt_lock *) & tlck->lock; in dtRelink()
2496 if (dtlck->index >= dtlck->maxcnt) in dtRelink()
2497 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtRelink()
2498 lv = & dtlck->lv[dtlck->index]; in dtRelink()
2501 dtlck->index++; in dtRelink()
2523 struct dt_lock *dtlck; in dtInitRoot() local
2568 dtlck = (struct dt_lock *) & tlck->lock; in dtInitRoot()
2571 ASSERT(dtlck->index == 0); in dtInitRoot()
2572 lv = & dtlck->lv[0]; in dtInitRoot()
2575 dtlck->index++; in dtInitRoot()
2611 struct dt_lock *dtlck; in add_missing_indices() local
2638 dtlck = (struct dt_lock *) &tlck->lock; in add_missing_indices()
2646 if (dtlck->index >= dtlck->maxcnt) in add_missing_indices()
2647 dtlck = (struct dt_lock *) txLinelock(dtlck); in add_missing_indices()
2648 lv = &dtlck->lv[dtlck->index]; in add_missing_indices()
2651 dtlck->index++; in add_missing_indices()
3606 struct dt_lock *dtlck = *dtlock; in dtInsertEntry() local
3622 if (dtlck->index >= dtlck->maxcnt) in dtInsertEntry()
3623 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtInsertEntry()
3625 lv = & dtlck->lv[dtlck->index]; in dtInsertEntry()
3673 dtlck->index++; in dtInsertEntry()
3676 if (dtlck->index < dtlck->maxcnt) in dtInsertEntry()
3679 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtInsertEntry()
3680 lv = & dtlck->lv[0]; in dtInsertEntry()
3698 dtlck->index++; in dtInsertEntry()
3700 *dtlock = dtlck; in dtInsertEntry()
3960 struct dt_lock *dtlck = *dtlock; in dtDeleteEntry() local
3969 if (dtlck->index >= dtlck->maxcnt) in dtDeleteEntry()
3970 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteEntry()
3971 lv = & dtlck->lv[dtlck->index]; in dtDeleteEntry()
3993 dtlck->index++; in dtDeleteEntry()
3996 if (dtlck->index < dtlck->maxcnt) in dtDeleteEntry()
3999 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtDeleteEntry()
4000 lv = & dtlck->lv[0]; in dtDeleteEntry()
4018 dtlck->index++; in dtDeleteEntry()
4020 *dtlock = dtlck; in dtDeleteEntry()
4055 struct dt_lock *dtlck = *dtlock; in dtTruncateEntry() local
4064 if (dtlck->index >= dtlck->maxcnt) in dtTruncateEntry()
4065 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtTruncateEntry()
4066 lv = & dtlck->lv[dtlck->index]; in dtTruncateEntry()
4088 dtlck->index++; in dtTruncateEntry()
4091 if (dtlck->index < dtlck->maxcnt) in dtTruncateEntry()
4094 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtTruncateEntry()
4095 lv = & dtlck->lv[0]; in dtTruncateEntry()
4113 dtlck->index++; in dtTruncateEntry()
4115 *dtlock = dtlck; in dtTruncateEntry()
4136 struct dt_lock *dtlck = *dtlock; in dtLinelockFreelist() local
4144 if (dtlck->index >= dtlck->maxcnt) in dtLinelockFreelist()
4145 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtLinelockFreelist()
4146 lv = & dtlck->lv[dtlck->index]; in dtLinelockFreelist()
4162 dtlck->index++; in dtLinelockFreelist()
4165 if (dtlck->index < dtlck->maxcnt) in dtLinelockFreelist()
4168 dtlck = (struct dt_lock *) txLinelock(dtlck); in dtLinelockFreelist()
4169 lv = & dtlck->lv[0]; in dtLinelockFreelist()
4185 dtlck->index++; in dtLinelockFreelist()
4187 *dtlock = dtlck; in dtLinelockFreelist()
4219 struct dt_lock *dtlck; in dtModify() local
4241 dtlck = (struct dt_lock *) & tlck->lock; in dtModify()
4248 ASSERT(dtlck->index == 0); in dtModify()
4249 lv = & dtlck->lv[0]; in dtModify()
4252 dtlck->index++; in dtModify()