Searched defs:bytes_to_copy (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dio.c1024 int bytes_to_copy = 0; local
1027 bytes_to_copy = bytes_to_read;
1029 bytes_to_copy = (b->length - b->offset);
1031 if (1 == bytes_to_copy) {
1034 if (0 == bytes_to_copy) {
1038 memcpy(return_buffer,b->p+b->offset,bytes_to_copy);
1039 b->offset += bytes_to_copy;
1041 return bytes_to_copy;
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_traverse.c1066 u_longlong_t bytes_to_copy; local
1094 bytes_to_copy = src_attr.st_size;
1095 while (bytes_to_copy) {
1096 if (bytes_to_copy > BUFSIZE)
1099 nbytes = bytes_to_copy;
1104 bytes_to_copy -= nbytes;
1110 if (bytes_to_copy > 0) {
/illumos-gate/usr/src/cmd/hal/hald/
H A Ddevice_info.c1332 int bytes_to_copy; local
1343 bytes_to_copy = len;
1344 if (bytes_to_copy > bytes_left)
1345 bytes_to_copy = bytes_left;
1347 if (bytes_to_copy > 0)
1349 bytes_to_copy);
1351 pc->cdata_buf_len += bytes_to_copy;
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4rx.c2523 u16_t free_bytes_to_copy = 0, bytes_to_copy = 0, gen_buf_offset = 0; local
2538 bytes_to_copy = gen_buf_copy_from->placed_bytes;
2539 if (bytes_to_copy <= free_bytes_to_copy) {
2541 gen_buf_copy_from->buf_virt, bytes_to_copy);
2542 free_bytes_to_copy -= bytes_to_copy;
2543 gen_buf_copy_to->placed_bytes += bytes_to_copy;
2555 gen_buf_copy_from->buf_virt + free_bytes_to_copy, bytes_to_copy - free_bytes_to_copy);

Completed in 74 milliseconds