Searched refs:done_len (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_extvnops.c | 241 size_t done_len, io_len; in ufs_alloc_data() local 291 done_len = 0; in ufs_alloc_data() 294 uoff, (io_len - done_len), ip->i_size, (void *)fdbp)); in ufs_alloc_data() 303 while (error == 0 && done_len < io_len) { in ufs_alloc_data() 304 uoff = (u_offset_t)(io_off + done_len); in ufs_alloc_data() 306 nbytes = (int)MIN(fs->fs_bsize - offsetn, io_len - done_len); in ufs_alloc_data() 470 done_len += nbytes; in ufs_alloc_data() 484 uoff, (io_len - done_len))); in ufs_alloc_data()
|
H A D | ufs_alloc.c | 1569 size_t done_len; in ufs_allocsp() local 1632 done_len = 0; in ufs_allocsp() 1633 while ((done_len < lp->l_len) && in ufs_allocsp() 1634 (lblkno(fs, lp->l_start + done_len) < NDADDR)) { in ufs_allocsp() 1635 uoff = (offset_t)(lp->l_start + done_len); in ufs_allocsp() 1638 lp->l_len - done_len); in ufs_allocsp() 1658 done_len += nbytes; in ufs_allocsp()
|
H A D | ufs_vnops.c | 5806 size_t done_len = 0, cur_len = 0; in ufs_pageio() local 5910 while (done_len < io_len) { in ufs_pageio() 5913 if (err = bmap_read(ip, (u_offset_t)(io_off + done_len), in ufs_pageio() 5926 cur_len = MIN(io_len - done_len, contig); in ufs_pageio() 5980 done_len += cur_len; in ufs_pageio() 5982 ASSERT(err || (cpp == NULL && npp == NULL && done_len == io_len)); in ufs_pageio()
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 2195 size_t done_len = 0, cur_len = 0; in udf_pageio() local 2226 while (done_len < io_len) { in udf_pageio() 2230 if (error = ud_bmap_read(ip, (u_offset_t)(io_off + done_len), in udf_pageio() 2241 cur_len = MIN(io_len - done_len, contig); in udf_pageio() 2254 cur_len = MIN(io_len - done_len, PAGESIZE); in udf_pageio() 2267 bp->b_offset = (offset_t)(io_off + done_len); in udf_pageio() 2276 (u_offset_t)(io_off + done_len)); in udf_pageio() 2304 done_len += cur_len; in udf_pageio() 2307 ASSERT(error || (cpp == NULL && npp == NULL && done_len == io_len)); in udf_pageio()
|