Lines Matching defs:offset

27  *	xtree key/entry comparison: extent offset
152 /* is lookup offset beyond eof ? */
211 * function: search for the xad entry covering specified offset.
215 * xoff - extent offset;
513 * xoff - extent offset;
643 xtlck->lwm.offset =
644 (xtlck->lwm.offset) ? min(index,
645 (int)xtlck->lwm.offset) : index;
647 le16_to_cpu(p->header.nextindex) - xtlck->lwm.offset;
734 xtlck->lwm.offset = (xtlck->lwm.offset) ?
735 min(skip, (int)xtlck->lwm.offset) : skip;
738 xtlck->lwm.offset;
904 xtlck->lwm.offset = (xtlck->lwm.offset) ?
905 min(skip, (int)xtlck->lwm.offset) : skip;
908 xtlck->lwm.offset;
1012 rxtlck->lwm.offset = XTENTRYSTART;
1057 /* rxtlck->lwm.offset = XTENTRYSTART; */
1128 sxtlck->lwm.offset = (sxtlck->lwm.offset) ?
1129 min(skip, (int)sxtlck->lwm.offset) : skip;
1158 sxtlck->lwm.offset = (sxtlck->lwm.offset) ?
1159 min(middle, (int)sxtlck->lwm.offset) : middle;
1168 sxtlck->lwm.offset;
1170 /* rxtlck->lwm.offset = XTENTRYSTART; */
1295 xtlck->lwm.offset = XTENTRYSTART;
1304 * set the 1st entry offset to 0, which force the left-most key
1326 xtlck->lwm.offset = XTENTRYSTART;
1348 struct inode *ip, s64 xoff, /* delta extent offset */
1423 split.off = xoff; /* split offset */
1483 xtlck->lwm.offset =
1484 (xtlck->lwm.offset) ? min(index,
1485 (int)xtlck->lwm.offset) : index;
1487 le16_to_cpu(p->header.nextindex) - xtlck->lwm.offset;
1501 * (split offset >= start offset of tail extent), and
1510 struct inode *ip, s64 xoff, /* split/new extent offset */
1588 split.off = xoff; /* split offset */
1639 * truncate/relocate old extent at split offset
1666 xtlck->lwm.offset = (xtlck->lwm.offset) ?
1667 min(index, (int)xtlck->lwm.offset) : index;
1669 xtlck->lwm.offset;
1995 xtlck->lwm.offset = (xtlck->lwm.offset) ?
1996 min(index0, (int)xtlck->lwm.offset) : index0;
1999 xtlck->lwm.offset;
2126 xtlck->lwm.offset = (xtlck->lwm.offset) ?
2127 min(index0, (int)xtlck->lwm.offset) : index0;
2129 xtlck->lwm.offset;
2148 * xoff - extent offset;
2294 xtlck->lwm.offset =
2295 (xtlck->lwm.offset) ? min(index,(int) xtlck->lwm.offset) : index;
2297 xtlck->lwm.offset;
2371 xtlck->lwm.offset =
2372 (xtlck->lwm.offset) ? min(index, xtlck->lwm.offset) : index;
2505 xtlck->lwm.offset =
2506 (xtlck->lwm.offset) ? min(index,
2508 offset) : index;
2562 s64 offset, nbytes, nbrd, pno;
2576 /* validate extent offset */
2577 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize;
2578 if (offset >= ip->i_size)
2659 offset = xoff << JFS_SBI(ip->i_sb)->l2bsize;
2660 assert((offset & CM_OFFSET) == 0);
2662 pno = offset >> CM_L2BSIZE;
2665 npages = ((offset + nbytes - 1) >> CM_L2BSIZE) -
2666 (offset >> CM_L2BSIZE) + 1;
2673 offset += nb, pno++, npages--) {
2678 if (rc = cmRead(ip, offset, npages, &cp))
2780 /* tlckNEW init xtlck->lwm.offset = XTENTRYSTART; */
2790 le16_to_cpu(p->header.nextindex) - xtlck->lwm.offset;
2849 xtlck->lwm.offset = min(index, xtlck->lwm.offset);
2851 xtlck->lwm.offset;
3287 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1;
3353 xtlck->lwm.offset = (xtlck->lwm.offset) ?
3354 min(index, (int)xtlck->lwm.offset) : index;
3356 xtlck->lwm.offset;
3357 xtlck->twm.offset = index;
3490 xtlck->hwm.offset =
3565 xtlck->hwm.offset =
3784 xtlck->hwm.offset = index;
3816 xtlck->hwm.offset = le16_to_cpu(p->header.nextindex) - 1;