Home
last modified time | relevance | path

Searched refs:xfer_size (Results 1 – 22 of 22) sorted by relevance

/titanic_50/usr/src/uts/i86pc/io/ioat/
H A Dioat_chan.c970 size_t xfer_size; in ioat_cmd_post() local
1049 xfer_size = MIN(src_size, dest_size); in ioat_cmd_post()
1050 xfer_size = MIN(xfer_size, size); in ioat_cmd_post()
1064 if (xfer_size == size) { in ioat_cmd_post()
1073 ioat_cmd_post_copy(ring, src_paddr, dest_paddr, xfer_size, in ioat_cmd_post()
1077 src_addr += xfer_size; in ioat_cmd_post()
1078 dest_addr += xfer_size; in ioat_cmd_post()
1079 size -= xfer_size; in ioat_cmd_post()
1390 size_t xfer_size; in ioat_ring_reserve() local
1425 xfer_size = MIN(src_size, dest_size); in ioat_ring_reserve()
[all …]
/titanic_50/usr/src/cmd/ndmpd/tlm/
H A Dtlm_buffers.c57 tlm_allocate_buffers(boolean_t write, long xfer_size) in tlm_allocate_buffers() argument
67 ndmp_malloc(xfer_size); in tlm_allocate_buffers()
79 ? xfer_size : 0; in tlm_allocate_buffers()
93 buffers->tbs_data_transfer_size = xfer_size; in tlm_allocate_buffers()
/titanic_50/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_scsi.c2125 uint32_t xfer_size; in sbd_handle_identifying_info() local
2148 xfer_size = 4; in sbd_handle_identifying_info()
2158 xfer_size = param_len + 4; in sbd_handle_identifying_info()
2167 xfer_size = 12; in sbd_handle_identifying_info()
2176 cmd_size, xfer_size); in sbd_handle_identifying_info()
2225 uint32_t big_buf_size, xfer_size, off; in sbd_write_same_data() local
2254 xfer_size = scmd->trans_data_len; in sbd_write_same_data()
2259 ASSERT((big_buf_size % xfer_size) == 0); in sbd_write_same_data()
2280 for (off = 0; off < big_buf_size; off += xfer_size) in sbd_write_same_data()
2281 bcopy(scmd->trans_data, big_buf + off, xfer_size); in sbd_write_same_data()
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_download.c395 uint32_t xfer_size; in emlxs_be_flash_image() local
417 xfer_size = min(BE_MAX_XFER_SIZE, block_size); in emlxs_be_flash_image()
431 xfer_size; in emlxs_be_flash_image()
436 flashrom->params.opcode = ((block_size == xfer_size)? in emlxs_be_flash_image()
441 flashrom->params.opcode = ((block_size == xfer_size)? in emlxs_be_flash_image()
447 flashrom->params.data_buffer_size = xfer_size; in emlxs_be_flash_image()
452 emlxs_memset(payload, 0xff, xfer_size); in emlxs_be_flash_image()
456 count = min(image_size, xfer_size); in emlxs_be_flash_image()
465 wptr = (uint32_t *)&payload[(xfer_size - 12)]; in emlxs_be_flash_image()
482 block_size -= xfer_size; in emlxs_be_flash_image()
[all …]
H A Demlxs_dump.c3696 uint32_t xfer_size; in emlxs_dump_tigershark_log() local
3790 xfer_size = min(BE_MAX_XFER_SIZE, log_size); in emlxs_dump_tigershark_log()
3804 sizeof (IOCTL_COMMON_MANAGE_FAT) + xfer_size; in emlxs_dump_tigershark_log()
3809 fat->params.request.read_log_length = xfer_size; in emlxs_dump_tigershark_log()
3829 BE_SWAP32_BCOPY(payload, bptr, xfer_size); in emlxs_dump_tigershark_log()
3831 log_size -= xfer_size; in emlxs_dump_tigershark_log()
3832 offset += xfer_size; in emlxs_dump_tigershark_log()
3833 bptr += xfer_size; in emlxs_dump_tigershark_log()
/titanic_50/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tar.c82 long xfer_size; in backup_create_structs() local
99 xfer_size = ndmp_buffer_get_size(session); in backup_create_structs()
100 if (xfer_size < 512*KILOBYTE) { in backup_create_structs()
106 if ((n = (512 * KILOBYTE/xfer_size)) <= 0) in backup_create_structs()
108 xfer_size *= n; in backup_create_structs()
109 NDMP_LOG(LOG_DEBUG, "Adjusted read size: %d", xfer_size); in backup_create_structs()
112 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size); in backup_create_structs()
151 long xfer_size; in restore_create_structs() local
167 xfer_size = ndmp_buffer_get_size(session); in restore_create_structs()
168 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in restore_create_structs()
H A Dndmpd_util.c990 long xfer_size; in ndmp_buffer_get_size() local
996 xfer_size = atoi(ndmpd_get_prop_default(NDMP_MOVER_RECSIZE, in ndmp_buffer_get_size()
998 if (xfer_size > 0) in ndmp_buffer_get_size()
999 xfer_size *= KILOBYTE; in ndmp_buffer_get_size()
1001 xfer_size = REMOTE_RECORD_SIZE; in ndmp_buffer_get_size()
1002 NDMP_LOG(LOG_DEBUG, "Remote operation: %d", xfer_size); in ndmp_buffer_get_size()
1006 if ((xfer_size = session->ns_mover.md_record_size) == 0) in ndmp_buffer_get_size()
1007 xfer_size = MAX_RECORD_SIZE; in ndmp_buffer_get_size()
1010 NDMP_LOG(LOG_DEBUG, "xfer_size: %d", xfer_size); in ndmp_buffer_get_size()
1011 return (xfer_size); in ndmp_buffer_get_size()
H A Dndmpd_tar3.c1441 long xfer_size; in backup_alloc_structs_v3() local
1460 xfer_size = ndmp_buffer_get_size(session); in backup_alloc_structs_v3()
1461 if (xfer_size < 512*KILOBYTE) { in backup_alloc_structs_v3()
1467 n = 512 * KILOBYTE / xfer_size; in backup_alloc_structs_v3()
1470 xfer_size *= n; in backup_alloc_structs_v3()
1472 xfer_size); in backup_alloc_structs_v3()
1475 cmds->tcs_command = tlm_create_reader_writer_ipc(TRUE, xfer_size); in backup_alloc_structs_v3()
1515 long xfer_size; in restore_alloc_structs_v3() local
1537 xfer_size = ndmp_buffer_get_size(session); in restore_alloc_structs_v3()
1538 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in restore_alloc_structs_v3()
[all …]
H A Dndmpd_mover.c2750 long xfer_size; in start_mover_for_restore() local
2761 xfer_size = ndmp_buffer_get_size(session); in start_mover_for_restore()
2762 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in start_mover_for_restore()
/titanic_50/usr/src/uts/sun4u/sys/
H A Dmc.h90 int xfer_size; /* Data transfer size in CPU cache line */ member
/titanic_50/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_ixl.h173 uint16_t xfer_size[HCI1394_DESC_MAX_Z]; member
/titanic_50/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ixl_comp.c1540 DESC_INTR_DSABL, wait_for_sync, wvp->xfer_size[ii]); in hci1394_bld_recv_pkt_desc()
1543 wvp->xfer_size[ii]); in hci1394_bld_recv_pkt_desc()
1547 wv_descp->status = (wvp->xfer_size[ii] << in hci1394_bld_recv_pkt_desc()
1899 DESC_INTR_DSABL, wvp->xfer_size[ii]); in hci1394_bld_xmit_pkt_desc()
1901 HCI1394_INIT_IT_OMORE(wv_descp, wvp->xfer_size[ii]); in hci1394_bld_xmit_pkt_desc()
2417 wvp->xfer_size[wvp->xfer_bufcnt - 1] = size; in hci1394_set_next_xfer_buf()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_init.c2414 uint32_t risc_address, xfer_size, count, *bp, faddr; in ql_load_flash_fw() local
2422 xfer_size = ha->fw_transfer_size >> 2; in ql_load_flash_fw()
2428 for (count = 0; count < xfer_size; count++) { in ql_load_flash_fw()
2450 if (risc_code_size < xfer_size) { in ql_load_flash_fw()
2451 faddr -= xfer_size - risc_code_size; in ql_load_flash_fw()
2452 xfer_size = risc_code_size; in ql_load_flash_fw()
2456 REQUEST_Q_BUFFER_OFFSET, xfer_size << 2, in ql_load_flash_fw()
2460 ha->request_dvma, xfer_size); in ql_load_flash_fw()
2466 risc_address += xfer_size; in ql_load_flash_fw()
2467 risc_code_size -= xfer_size; in ql_load_flash_fw()
/titanic_50/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c758 transfersize = mcmemconf.xfer_size; in init_mc()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs3_srv.c3818 uint32_t xfer_size; in rfs3_fsinfo() local
3860 xfer_size = rfs3_tsize(req); in rfs3_fsinfo()
3861 resp->resok.rtmax = xfer_size; in rfs3_fsinfo()
3862 resp->resok.rtpref = xfer_size; in rfs3_fsinfo()
3864 resp->resok.wtmax = xfer_size; in rfs3_fsinfo()
3865 resp->resok.wtpref = xfer_size; in rfs3_fsinfo()
/titanic_50/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhciutil.c3775 size_t real_length, strtlen, xfer_size; in uhci_create_isoc_transfer_wrapper() local
3872 xfer_size = tmp_req->isoc_pkt_descr[i].isoc_pkt_length; in uhci_create_isoc_transfer_wrapper()
3874 xfer_size, &dev_attr, DDI_DMA_CONSISTENT, dmamem_wait, in uhci_create_isoc_transfer_wrapper()
3898 ASSERT(real_length >= xfer_size); in uhci_create_isoc_transfer_wrapper()
3908 tw->tw_isoc_bufs[i].length = xfer_size; in uhci_create_isoc_transfer_wrapper()
/titanic_50/usr/src/uts/common/os/
H A Ddumpsubr.c466 dumpbuf_iosize(size_t xfer_size) in dumpbuf_iosize() argument
472 else if (iosize > xfer_size) in dumpbuf_iosize()
473 iosize = xfer_size; in dumpbuf_iosize()
/titanic_50/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c7024 size_t real_length, xfer_size; in ohci_create_isoc_transfer_wrapper() local
7125 for (xfer_size = 0, j = 0; j < frame_count; j++) { in ohci_create_isoc_transfer_wrapper()
7127 xfer_size += isoc_pkt_descr->isoc_pkt_length; in ohci_create_isoc_transfer_wrapper()
7133 xfer_size, &dev_attr, DDI_DMA_CONSISTENT, dmamem_wait, in ohci_create_isoc_transfer_wrapper()
7158 ASSERT(real_length >= xfer_size); in ohci_create_isoc_transfer_wrapper()
7169 tw->tw_isoc_bufs[i].length = xfer_size; in ohci_create_isoc_transfer_wrapper()
/titanic_50/usr/src/uts/sun4u/io/
H A Dmc-us3i.c461 mcmconf.xfer_size = TRANSFER_SIZE; in mc_ioctl()
H A Dmc-us3.c521 mcmconf.xfer_size = TRANSFER_SIZE; in mc_ioctl()
/titanic_50/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c7229 uint64_t xfer_size; in stmf_lport_xfer_done() local
7234 xfer_size = (dbuf->db_xfer_status == STMF_SUCCESS) ? in stmf_lport_xfer_done()
7242 xfer_size); in stmf_lport_xfer_done()
7247 xfer_size); in stmf_lport_xfer_done()
/titanic_50/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c8866 u8 xfer_size; in elink_read_sfp_module_eeprom() local
8895 xfer_size = (byte_cnt > ELINK_SFP_EEPROM_PAGE_SIZE) ? in elink_read_sfp_module_eeprom()
8897 rc = read_func(phy, params, dev_addr, addr, xfer_size, in elink_read_sfp_module_eeprom()
8899 byte_cnt -= xfer_size; in elink_read_sfp_module_eeprom()
8900 user_data += xfer_size; in elink_read_sfp_module_eeprom()
8901 addr += xfer_size; in elink_read_sfp_module_eeprom()