Searched refs:lastrabn (Results 1 - 1 of 1) sorted by relevance
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_bio.c | 1838 nfs_buf_readahead(nfsnode_t np, int ioflag, daddr64_t *rabnp, daddr64_t lastrabn, thread_t thd, kauth_cred_t cred) argument 1849 if (*rabnp > lastrabn) 1852 for (nra = 0; (nra < nmp->nm_readahead) && (*rabnp <= lastrabn); nra++, *rabnp = *rabnp + 1) { 1856 *rabnp = lastrabn; 1900 daddr64_t lbn, rabn = 0, lastrabn, maxrabn = -1; local 2051 lastrabn = MIN(maxrabn, lbn + nmp->nm_readahead); 2052 if (rabn <= lastrabn) { /* start readaheads */ 2053 error = nfs_buf_readahead(np, ioflag, &rabn, lastrabn, thd, cred);
|
Completed in 21 milliseconds