Lines Matching full:hint
61 * extent that is used as an allocation hint if the
76 s64 nxlen, nxaddr, xoff, hint, xaddr = 0; in extAlloc() local
93 /* check if an allocation hint was provided */ in extAlloc()
94 if ((hint = addressXAD(xp))) { in extAlloc()
95 /* get the size of the extent described by the hint */ in extAlloc()
98 /* check if the hint is for the portion of the file in extAlloc()
100 * request and if hint extent has the same abnr in extAlloc()
102 * extend the hint extent to include the current in extAlloc()
104 * following the hint extent. in extAlloc()
108 xaddr = hint + nxlen; in extAlloc()
110 /* adjust the hint to the last block of the extent */ in extAlloc()
111 hint += (nxlen - 1); in extAlloc()
125 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc()
141 /* if we can extend the hint extent to cover the current request, in extAlloc()
339 * FUNCTION: produce an extent allocation hint for a file offset.
343 * offset - file offset for which the hint is needed.
345 * the hint.
361 /* init the hint as "no hint provided" */ in extHint()
369 /* if the offset is in the first page of the file, no hint provided. in extHint()
386 * of the returned hint. in extHint()
450 /* initialize the extent allocation hint */ in extFill()
481 * hint - disk block number to be used as an allocation hint.
496 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) in extBalloc() argument
518 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()