Home
last modified time | relevance | path

Searched refs:done_len (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/common/fs/ufs/
H A Dufs_extvnops.c243 size_t done_len, io_len; in ufs_alloc_data() local
293 done_len = 0; in ufs_alloc_data()
296 uoff, (io_len - done_len), ip->i_size, (void *)fdbp)); in ufs_alloc_data()
305 while (error == 0 && done_len < io_len) { in ufs_alloc_data()
306 uoff = (u_offset_t)(io_off + done_len); in ufs_alloc_data()
308 nbytes = (int)MIN(fs->fs_bsize - offsetn, io_len - done_len); in ufs_alloc_data()
472 done_len += nbytes; in ufs_alloc_data()
486 uoff, (io_len - done_len))); in ufs_alloc_data()
H A Dufs_alloc.c1570 size_t done_len; in ufs_allocsp() local
1633 done_len = 0; in ufs_allocsp()
1634 while ((done_len < lp->l_len) && in ufs_allocsp()
1635 (lblkno(fs, lp->l_start + done_len) < NDADDR)) { in ufs_allocsp()
1636 uoff = (offset_t)(lp->l_start + done_len); in ufs_allocsp()
1639 lp->l_len - done_len); in ufs_allocsp()
1659 done_len += nbytes; in ufs_allocsp()
H A Dufs_vnops.c5933 size_t done_len = 0, cur_len = 0; in ufs_pageio() local
6037 while (done_len < io_len) { in ufs_pageio()
6040 if (err = bmap_read(ip, (u_offset_t)(io_off + done_len), in ufs_pageio()
6053 cur_len = MIN(io_len - done_len, contig); in ufs_pageio()
6107 done_len += cur_len; in ufs_pageio()
6109 ASSERT(err || (cpp == NULL && npp == NULL && done_len == io_len)); in ufs_pageio()
/titanic_44/usr/src/uts/common/fs/udfs/
H A Dudf_vnops.c2193 size_t done_len = 0, cur_len = 0; in udf_pageio() local
2224 while (done_len < io_len) { in udf_pageio()
2228 if (error = ud_bmap_read(ip, (u_offset_t)(io_off + done_len), in udf_pageio()
2239 cur_len = MIN(io_len - done_len, contig); in udf_pageio()
2252 cur_len = MIN(io_len - done_len, PAGESIZE); in udf_pageio()
2265 bp->b_offset = (offset_t)(io_off + done_len); in udf_pageio()
2274 (u_offset_t)(io_off + done_len)); in udf_pageio()
2302 done_len += cur_len; in udf_pageio()
2305 ASSERT(error || (cpp == NULL && npp == NULL && done_len == io_len)); in udf_pageio()