Lines Matching full:hint
74 * extent that is used as an allocation hint if the
89 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
106 /* check if an allocation hint was provided */ in extAlloc()
107 if ((hint = addressXAD(xp))) { in extAlloc()
108 /* get the size of the extent described by the hint */ in extAlloc()
111 /* check if the hint is for the portion of the file in extAlloc()
113 * request and if hint extent has the same abnr in extAlloc()
115 * extend the hint extent to include the current in extAlloc()
117 * following the hint extent. in extAlloc()
121 xaddr = hint + nxlen; in extAlloc()
123 /* adjust the hint to the last block of the extent */ in extAlloc()
124 hint += (nxlen - 1); in extAlloc()
138 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc()
154 /* if we can extend the hint extent to cover the current request, in extAlloc()
352 * FUNCTION: produce an extent allocation hint for a file offset.
356 * offset - file offset for which the hint is needed.
358 * the hint.
374 /* init the hint as "no hint provided" */ in extHint()
382 /* if the offset is in the first page of the file, no hint provided. in extHint()
399 * of the returned hint. in extHint()
463 /* initialize the extent allocation hint */ in extFill()
494 * hint - disk block number to be used as an allocation hint.
509 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument
531 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()