Searched refs:copy_len (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_send.c347 txbuf->copy_len = 0;
352 ASSERT(txbuf->copy_len + mblen <=
356 txbuf->copy_len += mblen;
428 ASSERT(txbuf->copy_len != 0);
430 txbuf->copy_len, DDI_DMA_SYNC_FORDEV);
442 hw_sbd_p->len = txbuf->copy_len;
455 (txbuf->copy_len > ETHERMAX))
528 ASSERT(txbuf->copy_len >= sizeof (struct ether_header));
536 txbuf->copy_len -= VLAN_TAGSZ;
H A Dbge_impl.h482 uint32_t copy_len; member in struct:sw_txbuf
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c803 * for copy_len bytes. Does NOT update src->chain_offset.
807 int copy_offset, int copy_len)
813 if (copy_len <= 0)
817 if ((copy_offset + copy_len) > src_mbc->max_bytes)
837 if (len > copy_len)
838 len = copy_len;
842 copy_len -= len;
847 while (copy_len > 0) {
852 if (len > copy_len)
853 len = copy_len;
806 smb_mbc_copy(mbuf_chain_t *dst_mbc, const mbuf_chain_t *src_mbc, int copy_offset, int copy_len) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/usbser_keyspan/
H A Dkeyspan_pipe.c1199 int data_len, copy_len; local
1251 if ((copy_len = keyspan_bulkin_cb_process(kp_true,
1255 if ((mp_data = allocb(copy_len, BPRI_HI))
1265 bcopy(data->b_rptr, mp_data->b_wptr, copy_len);
1266 mp_data->b_wptr += copy_len;
1267 if (copy_len < port_data_len -1) {
1277 data->b_rptr += copy_len;
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdc_bitmap.c107 size_t copy_len; local
164 copy_len = (size_t)min(vlen, (int)tocopy);
167 bcopy(toaddr, vaddr, copy_len);
169 bcopy(vaddr, toaddr, copy_len);
171 toaddr += copy_len;
172 io_addr += copy_len; /* adjust position in callers buffer */
173 io_len -= copy_len; /* adjust total byte length remaining */
174 tocopy -= copy_len; /* adjust chunk byte length remaining */
175 vaddr += copy_len; /* adjust location in sv_vec_t */
176 vlen -= copy_len; /* adjus
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dlog_sysevent.c755 size_t copy_len; local
763 copy_len = sizeof (log_eventq_t) + SE_PAYLOAD_SZ(ev);
764 qcopy = kmem_zalloc(copy_len, flag);
778 ASSERT((caddr_t)copy + attr_offset <= (caddr_t)copy + copy_len);
793 kmem_free(qcopy, copy_len);
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c5228 int copy_len; local
5258 copy_len = len - 1;
5261 copy_len--;
5264 copy_len--;
5272 copy_len--;
5278 if (copy_len > FDISK_MAX_VALID_CYL_NUM_DIGITS) {
5284 (void) strncpy(numbuf, &buf[mbgb], copy_len);
5285 numbuf[copy_len] = '\0';
5287 for (i = mbgb; i < copy_len + mbgb; i++) {
5293 if (i < copy_len
[all...]
/illumos-gate/usr/src/uts/common/avs/ns/dsw/
H A Ddsw_dev.c5727 size_t copy_len; local
5875 copy_len = (size_t)min(vlen, tocopy);
5877 DTRACE_PROBE1(_ii_nsc_io_bcopy, size_t, copy_len);
5880 bcopy(io_addr, vaddr, copy_len);
5882 bcopy(vaddr, io_addr, copy_len);
5884 toaddr += copy_len;
5885 tocopy -= copy_len;
5886 io_addr += copy_len;
5887 io_len -= copy_len;
5888 vaddr += copy_len;
10064 nsc_size_t copy_len; local
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c7936 int copy_len = sizeof (struct dk_geom);
7946 rv = ddi_copyout(&geom, to, copy_len, mode);
7980 int copy_len = sizeof (struct dk_geom); local
7989 tmp_mem = kmem_alloc(copy_len, KM_SLEEP);
7991 rv = ddi_copyin(from, tmp_mem, copy_len, mode);
7993 kmem_free(tmp_mem, copy_len);
7998 kmem_free(tmp_mem, copy_len);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_xioctl.c3587 uint32_t copy_len; local
3747 copy_len = (cmd->ResponseLen > SEND_RNID_RSP_SIZE) ?
3751 copy_len, mode) != copy_len) {
3755 cmd->ResponseLen = copy_len;
3756 if (copy_len < SEND_RNID_RSP_SIZE) {

Completed in 137 milliseconds