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

/osnet-11/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.c575 int toread = MIN(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); local
580 if (zfs_bcmp(la->la_array, buf + bseen, toread) != 0)
583 bseen += toread;
/osnet-11/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...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Diso9660.c232 grub_size_t toread;
242 toread = grub_le_to_cpu32 (node->dirents[i].size);
243 if (toread > len)
244 toread = len;
247 off, toread, buf);
250 len -= toread;
251 off += toread;
252 buf += toread;
231 grub_size_t toread; local
/osnet-11/usr/src/lib/libldap4/ber/
H A Dio.c569 unsigned int tag, netlen, toread; local
658 toread = (uintptr_t)ber->ber_end - (uintptr_t)ber->ber_rwptr;
660 if ( (rc = BerRead( sb, ber->ber_rwptr, (int)toread )) <= 0 ) {
664 toread -= rc;
666 } while ( toread != 0 ); /* DF SUN for LINT */
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfs.c2350 grub_size_t toread = array_len - bseen; local
2352 if (toread > ZAP_LEAF_ARRAY_BYTES)
2353 toread = ZAP_LEAF_ARRAY_BYTES;
2358 if (name_cmp ((char *) la->la_array, buf + bseen, toread,
2362 bseen += toread;
2377 grub_size_t toread = array_len - bseen; local
2379 if (toread > ZAP_LEAF_ARRAY_BYTES)
2380 toread = ZAP_LEAF_ARRAY_BYTES;
2386 grub_memcpy (buf + bseen,la->la_array, toread);
2388 bseen += toread;
[all...]

Completed in 88 milliseconds