Lines Matching refs:maplock

178 static void txAllocPMap(struct inode *ip, struct maplock * maplock,
961 struct maplock *maplock; in txMaplock() local
1013 maplock = (struct maplock *) & tlck->lock; in txMaplock()
1014 maplock->next = 0; in txMaplock()
1015 maplock->maxcnt = 0; in txMaplock()
1016 maplock->index = 0; in txMaplock()
1648 struct maplock *maplock; in xtLog() local
1675 maplock = (struct maplock *) & tlck->lock; in xtLog()
1676 xadlock = (struct xdlistlock *) maplock; in xtLog()
1740 maplock->index = 1; in xtLog()
1833 maplock->index = 1; in xtLog()
1936 maplock->index = 0; in xtLog()
1955 maplock->index++; in xtLog()
1978 maplock->index++; in xtLog()
1998 maplock->index++; in xtLog()
2104 struct pxd_lock *maplock = NULL, *pxdlock = NULL; in txEA() local
2116 maplock = (struct pxd_lock *) & tlck->lock; in txEA()
2117 pxdlock = (struct pxd_lock *) maplock; in txEA()
2122 maplock->index = 1; in txEA()
2136 maplock = (struct pxd_lock *) & tlck->lock; in txEA()
2137 pxdlock = (struct pxd_lock *) maplock; in txEA()
2138 maplock->index = 0; in txEA()
2143 maplock->index++; in txEA()
2227 struct maplock *maplock; in txUpdateMap() local
2274 maplock = (struct maplock *) & tlck->lock; in txUpdateMap()
2275 nlock = maplock->index; in txUpdateMap()
2277 for (k = 0; k < nlock; k++, maplock++) { in txUpdateMap()
2283 if (maplock->flag & mlckALLOC) { in txUpdateMap()
2284 txAllocPMap(ipimap, maplock, tblk); in txUpdateMap()
2303 txFreeMap(ipimap, maplock, in txUpdateMap()
2306 txFreeMap(ipimap, maplock, in txUpdateMap()
2345 txAllocPMap(ip, (struct maplock *) & pxdlock, tblk); in txUpdateMap()
2376 static void txAllocPMap(struct inode *ip, struct maplock * maplock, in txAllocPMap() argument
2392 if (maplock->flag & mlckALLOCXADLIST) { in txAllocPMap()
2393 xadlistlock = (struct xdlistlock *) maplock; in txAllocPMap()
2406 } else if (maplock->flag & mlckALLOCPXD) { in txAllocPMap()
2407 pxdlock = (struct pxd_lock *) maplock; in txAllocPMap()
2414 pxdlistlock = (struct xdlistlock *) maplock; in txAllocPMap()
2436 struct maplock * maplock, struct tblock * tblk, int maptype) in txFreeMap() argument
2449 tblk, maplock, maptype); in txFreeMap()
2455 if (maplock->flag & mlckFREEXADLIST) { in txFreeMap()
2456 xadlistlock = (struct xdlistlock *) maplock; in txFreeMap()
2469 } else if (maplock->flag & mlckFREEPXD) { in txFreeMap()
2470 pxdlock = (struct pxd_lock *) maplock; in txFreeMap()
2479 pxdlistlock = (struct xdlistlock *) maplock; in txFreeMap()
2496 if (maplock->flag & mlckFREEXADLIST) { in txFreeMap()
2497 xadlistlock = (struct xdlistlock *) maplock; in txFreeMap()
2507 } else if (maplock->flag & mlckFREEPXD) { in txFreeMap()
2508 pxdlock = (struct pxd_lock *) maplock; in txFreeMap()
2516 pxdlistlock = (struct xdlistlock *) maplock; in txFreeMap()