Searched refs:toread (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_xfs.c336 int toread; local
388 toread = roundup8 (le16(dau->unused.length)) - 4;
389 xfs.blkoff += toread;
390 filepos += toread;
399 toread = roundup8 (namelen + 11) - 9;
400 xfs_read (dirbuf, toread);
402 xfs.blkoff += toread + 5;
492 int toread, startpos, endpos; local
509 toread = (endofcur >= endpos)
514 filepos - (offset << xfs.blklog), toread, bu
[all...]
H A Dfsys_jfs.c233 int toread, startpos, endpos; local
244 toread = (endofcur >= endpos)
249 filepos - (offset << jfs.l2bsize), toread, buf);
252 buf += toread;
253 len -= toread;
254 filepos += toread;
256 toread = ((offset << jfs.l2bsize) >= endpos)
258 len -= toread;
259 filepos += toread;
260 for (; toread; torea
[all...]
H A Dfsys_zfs.c638 int toread = MIN(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); local
643 if (zfs_bcmp(la->la_array, buf + bseen, toread) != 0)
646 bseen += toread;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dio.c597 ber_uint_t toread; local
688 toread = (uintptr_t)ber->ber_end - (uintptr_t)ber->ber_rwptr;
690 if ( (rc = BerRead( sb, ber->ber_rwptr, (ber_int_t)toread )) <= 0 ) {
694 toread -= rc;
696 } while ( toread > 0 );
1103 ber_uint_t toread; local
1194 toread = (uintptr_t)ber->ber_end - (uintptr_t)ber->ber_rwptr;
1197 (ber_int_t)toread )) <= 0 ) {
1201 toread -= rc;
1203 } while ( toread >
[all...]
/illumos-gate/usr/src/cmd/sh/
H A Dword.c394 readb(struct fileblk *f, int toread, int rest) argument
428 } while ((len = read(f->fdes, f->fbuf + rest, toread)) < 0 && trapnote);
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c1727 int toread, actual_size, rec_size; local
1735 toread = len;
1736 while (toread > 0) {
1737 rec = get_read_buffer(toread, &err, &actual_size, lcmds);
1746 rec_size = min(actual_size, toread);
1749 toread -= rec_size;
1752 return (len - toread);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzap_leaf.c384 int toread = MIN(array_numints - bseen, ZAP_LEAF_ARRAY_BYTES); local
386 if (bcmp(la->la_array, (char *)zn->zn_key_orig + bseen, toread))
389 bseen += toread;
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_data.c1736 int n, toread; local
1738 toread = (length < MAX_RECORD_SIZE) ? length :
1742 n = read(session->ns_data.dd_sock, buf, toread);
H A Dndmpd_mover.c2818 long toread; local
2821 for (index = 0, toread = read_size; toread > 0; ) {
2823 NDMP_LOG(LOG_DEBUG, "index: %d, toread: %d", index, toread);
2826 toread);
2833 toread -= n;

Completed in 89 milliseconds