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
90 /* check if an allocation hint was provided */ in extAlloc()
91 if ((hint = addressXAD(xp))) { in extAlloc()
92 /* get the size of the extent described by the hint */ in extAlloc()
95 /* check if the hint is for the portion of the file in extAlloc()
97 * request and if hint extent has the same abnr in extAlloc()
99 * extend the hint extent to include the current in extAlloc()
101 * following the hint extent. in extAlloc()
105 xaddr = hint + nxlen; in extAlloc()
107 /* adjust the hint to the last block of the extent */ in extAlloc()
108 hint += (nxlen - 1); in extAlloc()
122 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc()
138 /* if we can extend the hint extent to cover the current request, in extAlloc()
180 * FUNCTION: produce an extent allocation hint for a file offset.
184 * offset - file offset for which the hint is needed.
186 * the hint.
202 /* init the hint as "no hint provided" */ in extHint()
210 /* if the offset is in the first page of the file, no hint provided. in extHint()
227 * of the returned hint. in extHint()
284 * hint - disk block number to be used as an allocation hint.
299 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument
326 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()