Lines Matching refs:xtlck
553 struct xtlock *xtlck; in xtInsert() local
655 xtlck = (struct xtlock *) & tlck->lock; in xtInsert()
656 xtlck->lwm.offset = in xtInsert()
657 (xtlck->lwm.offset) ? min(index, in xtInsert()
658 (int)xtlck->lwm.offset) : index; in xtInsert()
659 xtlck->lwm.length = in xtInsert()
660 le16_to_cpu(p->header.nextindex) - xtlck->lwm.offset; in xtInsert()
709 struct xtlock *xtlck; in xtSplitUp() local
746 xtlck = (struct xtlock *) & tlck->lock; in xtSplitUp()
747 xtlck->lwm.offset = (xtlck->lwm.offset) ? in xtSplitUp()
748 min(skip, (int)xtlck->lwm.offset) : skip; in xtSplitUp()
749 xtlck->lwm.length = in xtSplitUp()
751 xtlck->lwm.offset; in xtSplitUp()
916 xtlck = (struct xtlock *) & tlck->lock; in xtSplitUp()
917 xtlck->lwm.offset = (xtlck->lwm.offset) ? in xtSplitUp()
918 min(skip, (int)xtlck->lwm.offset) : skip; in xtSplitUp()
919 xtlck->lwm.length = in xtSplitUp()
921 xtlck->lwm.offset; in xtSplitUp()
1237 struct xtlock *xtlck; in xtSplitRoot() local
1307 xtlck = (struct xtlock *) & tlck->lock; in xtSplitRoot()
1308 xtlck->lwm.offset = XTENTRYSTART; in xtSplitRoot()
1309 xtlck->lwm.length = le16_to_cpu(rp->header.nextindex) - in xtSplitRoot()
1338 xtlck = (struct xtlock *) & tlck->lock; in xtSplitRoot()
1339 xtlck->lwm.offset = XTENTRYSTART; in xtSplitRoot()
1340 xtlck->lwm.length = 1; in xtSplitRoot()
1376 struct xtlock *xtlck = NULL; in xtExtend() local
1409 xtlck = (struct xtlock *) & tlck->lock; in xtExtend()
1467 xtlck = (struct xtlock *) & tlck->lock; in xtExtend()
1496 xtlck->lwm.offset = in xtExtend()
1497 (xtlck->lwm.offset) ? min(index, in xtExtend()
1498 (int)xtlck->lwm.offset) : index; in xtExtend()
1499 xtlck->lwm.length = in xtExtend()
1500 le16_to_cpu(p->header.nextindex) - xtlck->lwm.offset; in xtExtend()
1538 struct xtlock *xtlck = 0; in xtTailgate() local
1574 xtlck = (struct xtlock *) & tlck->lock; in xtTailgate()
1632 xtlck = (struct xtlock *) & tlck->lock; in xtTailgate()
1679 xtlck->lwm.offset = (xtlck->lwm.offset) ? in xtTailgate()
1680 min(index, (int)xtlck->lwm.offset) : index; in xtTailgate()
1681 xtlck->lwm.length = le16_to_cpu(p->header.nextindex) - in xtTailgate()
1682 xtlck->lwm.offset; in xtTailgate()
1721 struct xtlock *xtlck = NULL; in xtUpdate() local
1747 xtlck = (struct xtlock *) & tlck->lock; in xtUpdate()
1965 xtlck = (struct xtlock *) & tlck->lock; in xtUpdate()
2008 xtlck->lwm.offset = (xtlck->lwm.offset) ? in xtUpdate()
2009 min(index0, (int)xtlck->lwm.offset) : index0; in xtUpdate()
2010 xtlck->lwm.length = in xtUpdate()
2012 xtlck->lwm.offset; in xtUpdate()
2026 xtlck = (struct xtlock *) & tlck->lock; in xtUpdate()
2119 xtlck = (struct xtlock *) & tlck->lock; in xtUpdate()
2139 xtlck->lwm.offset = (xtlck->lwm.offset) ? in xtUpdate()
2140 min(index0, (int)xtlck->lwm.offset) : index0; in xtUpdate()
2141 xtlck->lwm.length = le16_to_cpu(p->header.nextindex) - in xtUpdate()
2142 xtlck->lwm.offset; in xtUpdate()
2185 struct xtlock *xtlck; in xtAppend() local
2298 xtlck = (struct xtlock *) & tlck->lock; in xtAppend()
2307 xtlck->lwm.offset = in xtAppend()
2308 (xtlck->lwm.offset) ? min(index,(int) xtlck->lwm.offset) : index; in xtAppend()
2309 xtlck->lwm.length = le16_to_cpu(p->header.nextindex) - in xtAppend()
2310 xtlck->lwm.offset; in xtAppend()
2349 struct xtlock *xtlck; in xtDelete() local
2383 xtlck = (struct xtlock *) & tlck->lock; in xtDelete()
2384 xtlck->lwm.offset = in xtDelete()
2385 (xtlck->lwm.offset) ? min(index, xtlck->lwm.offset) : index; in xtDelete()
2421 struct xtlock *xtlck; in xtDeleteUp() local
2517 xtlck = (struct xtlock *) & tlck->lock; in xtDeleteUp()
2518 xtlck->lwm.offset = in xtDeleteUp()
2519 (xtlck->lwm.offset) ? min(index, in xtDeleteUp()
2520 xtlck->lwm. in xtDeleteUp()
2566 struct xtlock *xtlck; in xtRelocate() local
2795 xtlck = (struct xtlock *) & tlck->lock; in xtRelocate()
2802 xtlck->lwm.length = in xtRelocate()
2803 le16_to_cpu(p->header.nextindex) - xtlck->lwm.offset; in xtRelocate()
2855 xtlck = (struct xtlock *) & tlck->lock; in xtRelocate()
2862 xtlck->lwm.offset = min(index, xtlck->lwm.offset); in xtRelocate()
2863 xtlck->lwm.length = le16_to_cpu(pp->header.nextindex) - in xtRelocate()
2864 xtlck->lwm.offset; in xtRelocate()
3177 struct xtlock *xtlck = NULL; in xtTruncate() local
3299 xtlck = (struct xtlock *) & tlck->lock; in xtTruncate()
3300 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate()
3366 xtlck->lwm.offset = (xtlck->lwm.offset) ? in xtTruncate()
3367 min(index, (int)xtlck->lwm.offset) : index; in xtTruncate()
3368 xtlck->lwm.length = index + 1 - in xtTruncate()
3369 xtlck->lwm.offset; in xtTruncate()
3370 xtlck->twm.offset = index; in xtTruncate()
3371 pxdlock = (struct pxd_lock *) & xtlck->pxdlock; in xtTruncate()
3501 xtlck = (struct xtlock *) & tlck->lock; in xtTruncate()
3503 xtlck->hwm.offset = in xtTruncate()
3577 xtlck = (struct xtlock *) & tlck->lock; in xtTruncate()
3578 xtlck->hwm.offset = in xtTruncate()
3734 struct xtlock *xtlck = NULL; in xtTruncate_pmap() local
3796 xtlck = (struct xtlock *) & tlck->lock; in xtTruncate_pmap()
3797 xtlck->hwm.offset = index; in xtTruncate_pmap()
3828 xtlck = (struct xtlock *) & tlck->lock; in xtTruncate_pmap()
3829 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1; in xtTruncate_pmap()