Lines Matching full:hint
58 * extent that is used as an allocation hint if the
73 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
95 /* check if an allocation hint was provided */ in extAlloc()
96 if ((hint = addressXAD(xp))) { in extAlloc()
97 /* get the size of the extent described by the hint */ in extAlloc()
100 /* check if the hint is for the portion of the file in extAlloc()
102 * request and if hint extent has the same abnr in extAlloc()
104 * extend the hint extent to include the current in extAlloc()
106 * following the hint extent. in extAlloc()
110 xaddr = hint + nxlen; in extAlloc()
112 /* adjust the hint to the last block of the extent */ in extAlloc()
113 hint += (nxlen - 1); in extAlloc()
127 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc()
143 /* if we can extend the hint extent to cover the current request, in extAlloc()
185 * FUNCTION: produce an extent allocation hint for a file offset.
189 * offset - file offset for which the hint is needed.
191 * the hint.
207 /* init the hint as "no hint provided" */ in extHint()
215 /* if the offset is in the first page of the file, no hint provided. in extHint()
232 * of the returned hint. in extHint()
294 * hint - disk block number to be used as an allocation hint.
309 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument
336 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()