/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_xfs.c | 336 int toread; in next_dentry() local 388 toread = roundup8 (le16(dau->unused.length)) - 4; in next_dentry() 389 xfs.blkoff += toread; in next_dentry() 390 filepos += toread; in next_dentry() 399 toread = roundup8 (namelen + 11) - 9; in next_dentry() 400 xfs_read (dirbuf, toread); in next_dentry() 402 xfs.blkoff += toread + 5; in next_dentry() 492 int toread, startpos, endpos; in xfs_read() local 509 toread = (endofcur >= endpos) in xfs_read() 514 filepos - (offset << xfs.blklog), toread, buf); in xfs_read() [all …]
|
H A D | fsys_jfs.c | 233 int toread, startpos, endpos; in jfs_read() local 244 toread = (endofcur >= endpos) in jfs_read() 249 filepos - (offset << jfs.l2bsize), toread, buf); in jfs_read() 252 buf += toread; in jfs_read() 253 len -= toread; in jfs_read() 254 filepos += toread; in jfs_read() 256 toread = ((offset << jfs.l2bsize) >= endpos) in jfs_read() 258 len -= toread; in jfs_read() 259 filepos += toread; in jfs_read() 260 for (; toread; toread--) { in jfs_read()
|
H A D | fsys_zfs.c | 634 int toread = MIN(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_equal() local 639 if (zfs_bcmp(la->la_array, buf + bseen, toread) != 0) in zap_leaf_array_equal() 642 bseen += toread; in zap_leaf_array_equal()
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | io.c | 597 ber_uint_t toread; in ber_get_next() local 688 toread = (uintptr_t)ber->ber_end - (uintptr_t)ber->ber_rwptr; in ber_get_next() 690 if ( (rc = BerRead( sb, ber->ber_rwptr, (ber_int_t)toread )) <= 0 ) { in ber_get_next() 694 toread -= rc; in ber_get_next() 696 } while ( toread > 0 ); in ber_get_next() 1103 ber_uint_t toread; in ber_get_next_buffer_ext() local 1194 toread = (uintptr_t)ber->ber_end - (uintptr_t)ber->ber_rwptr; in ber_get_next_buffer_ext() 1197 (ber_int_t)toread )) <= 0 ) { in ber_get_next_buffer_ext() 1201 toread -= rc; in ber_get_next_buffer_ext() 1203 } while ( toread > 0 ); in ber_get_next_buffer_ext()
|
/titanic_41/usr/src/cmd/sh/ |
H A D | word.c | 394 readb(struct fileblk *f, int toread, int rest) in readb() argument 428 } while ((len = read(f->fdes, f->fbuf + rest, toread)) < 0 && trapnote); in readb()
|
/titanic_41/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 1727 int toread, actual_size, rec_size; in input_mem() local 1735 toread = len; in input_mem() 1736 while (toread > 0) { in input_mem() 1737 rec = get_read_buffer(toread, &err, &actual_size, lcmds); in input_mem() 1746 rec_size = min(actual_size, toread); in input_mem() 1749 toread -= rec_size; in input_mem() 1752 return (len - toread); in input_mem()
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | zap_leaf.c | 384 int toread = MIN(array_numints - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_match() local 386 if (bcmp(la->la_array, (char *)zn->zn_key_orig + bseen, toread)) in zap_leaf_array_match() 389 bseen += toread; in zap_leaf_array_match()
|
/titanic_41/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_mover.c | 2818 long toread; in mover_socket_read_one_buf() local 2821 for (index = 0, toread = read_size; toread > 0; ) { in mover_socket_read_one_buf() 2823 NDMP_LOG(LOG_DEBUG, "index: %d, toread: %d", index, toread); in mover_socket_read_one_buf() 2826 toread); in mover_socket_read_one_buf() 2833 toread -= n; in mover_socket_read_one_buf()
|
H A D | ndmpd_data.c | 1736 int n, toread; in discard_data_v3() local 1738 toread = (length < MAX_RECORD_SIZE) ? length : in discard_data_v3() 1742 n = read(session->ns_data.dd_sock, buf, toread); in discard_data_v3()
|