Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/ndmpd/tlm/
H A Dtlm_traverse.c1066 u_longlong_t bytes_to_copy; in filecopy() local
1094 bytes_to_copy = src_attr.st_size; in filecopy()
1095 while (bytes_to_copy) { in filecopy()
1096 if (bytes_to_copy > BUFSIZE) in filecopy()
1099 nbytes = bytes_to_copy; in filecopy()
1104 bytes_to_copy -= nbytes; in filecopy()
1110 if (bytes_to_copy > 0) { in filecopy()
/titanic_50/usr/src/lib/libldap5/sources/ldap/ber/
H A Dio.c1024 int bytes_to_copy = 0; in read_bytes() local
1027 bytes_to_copy = bytes_to_read; in read_bytes()
1029 bytes_to_copy = (b->length - b->offset); in read_bytes()
1031 if (1 == bytes_to_copy) { in read_bytes()
1034 if (0 == bytes_to_copy) { in read_bytes()
1038 memcpy(return_buffer,b->p+b->offset,bytes_to_copy); in read_bytes()
1039 b->offset += bytes_to_copy; in read_bytes()
1041 return bytes_to_copy; in read_bytes()
/titanic_50/usr/src/cmd/hal/hald/
H A Ddevice_info.c1332 int bytes_to_copy; in cdata() local
1343 bytes_to_copy = len; in cdata()
1344 if (bytes_to_copy > bytes_left) in cdata()
1345 bytes_to_copy = bytes_left; in cdata()
1347 if (bytes_to_copy > 0) in cdata()
1349 bytes_to_copy); in cdata()
1351 pc->cdata_buf_len += bytes_to_copy; in cdata()
/titanic_50/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; in lm_squeeze_rx_buffer_list() local
2538 bytes_to_copy = gen_buf_copy_from->placed_bytes; in lm_squeeze_rx_buffer_list()
2539 if (bytes_to_copy <= free_bytes_to_copy) { in lm_squeeze_rx_buffer_list()
2541 gen_buf_copy_from->buf_virt, bytes_to_copy); in lm_squeeze_rx_buffer_list()
2542 free_bytes_to_copy -= bytes_to_copy; in lm_squeeze_rx_buffer_list()
2543 gen_buf_copy_to->placed_bytes += bytes_to_copy; in lm_squeeze_rx_buffer_list()
2555 … gen_buf_copy_from->buf_virt + free_bytes_to_copy, bytes_to_copy - free_bytes_to_copy); in lm_squeeze_rx_buffer_list()