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