Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/i86pc/io/ioat/
H A Dioat_chan.c971 size_t xfer_size; in ioat_cmd_post() local
1051 xfer_size = MIN(xfer_size, size); in ioat_cmd_post()
1065 if (xfer_size == size) { in ioat_cmd_post()
1078 src_addr += xfer_size; in ioat_cmd_post()
1079 dest_addr += xfer_size; in ioat_cmd_post()
1080 size -= xfer_size; in ioat_cmd_post()
1391 size_t xfer_size; in ioat_ring_reserve() local
1427 xfer_size = MIN(xfer_size, size); in ioat_ring_reserve()
1430 src_addr += xfer_size; in ioat_ring_reserve()
1431 dest_addr += xfer_size; in ioat_ring_reserve()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_scsi.c2251 uint32_t xfer_size; in sbd_handle_identifying_info() local
2274 xfer_size = 4; in sbd_handle_identifying_info()
2284 xfer_size = param_len + 4; in sbd_handle_identifying_info()
2293 xfer_size = 12; in sbd_handle_identifying_info()
2302 cmd_size, xfer_size); in sbd_handle_identifying_info()
2843 uint32_t xfer_size = 4; in sbd_handle_inquiry() local
2890 xfer_size = page_length + 5; in sbd_handle_inquiry()
3021 xfer_size = page_length + 4; in sbd_handle_inquiry()
3036 xfer_size = page_length + 4; in sbd_handle_inquiry()
3079 xfer_size = newidx + 4; in sbd_handle_inquiry()
[all …]
H A Dats_copy_mgr.c791 uint64_t xfer_size, start, end; in cpmgr_run() local
817 xfer_size = ((cm->cm_copy_size - cm->cm_size_done) > in cpmgr_run()
821 ret = sbd_data_read(src_slu, cm->cm_task, start, xfer_size, in cpmgr_run()
833 ret = sbd_data_write(dst_slu, cm->cm_task, end, xfer_size, in cpmgr_run()
844 cm->cm_size_done += xfer_size; in cpmgr_run()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_download.c395 uint32_t xfer_size; in emlxs_be_flash_image() local
431 xfer_size; in emlxs_be_flash_image()
507 uint32_t xfer_size; in emlxs_be_verify_crc() local
517 xfer_size = 8; in emlxs_be_verify_crc()
539 xfer_size; in emlxs_be_verify_crc()
705 xfer_size = 8; in emlxs_be_read_fw_version()
723 xfer_size; in emlxs_be_read_fw_version()
751 xfer_size = 32; in emlxs_be_read_fw_version()
769 xfer_size; in emlxs_be_read_fw_version()
1873 xfer_size); in emlxs_obj_flash_image()
[all …]
H A Demlxs_dump.c3705 uint32_t xfer_size; in emlxs_dump_tigershark_log() local
3799 xfer_size = min(BE_MAX_XFER_SIZE, log_size); in emlxs_dump_tigershark_log()
3813 sizeof (IOCTL_COMMON_MANAGE_FAT) + xfer_size; in emlxs_dump_tigershark_log()
3818 fat->params.request.read_log_length = xfer_size; in emlxs_dump_tigershark_log()
3838 BE_SWAP32_BCOPY(payload, bptr, xfer_size); in emlxs_dump_tigershark_log()
3840 log_size -= xfer_size; in emlxs_dump_tigershark_log()
3841 offset += xfer_size; in emlxs_dump_tigershark_log()
3842 bptr += xfer_size; in emlxs_dump_tigershark_log()
/illumos-gate/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()
2921 long xfer_size; in restore_dar_alloc_structs_v3() local
[all …]
H A Dndmpd_mover.c2752 long xfer_size; in start_mover_for_restore() local
2763 xfer_size = ndmp_buffer_get_size(session); in start_mover_for_restore()
2764 cmds->tcs_command = tlm_create_reader_writer_ipc(FALSE, xfer_size); in start_mover_for_restore()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmc.h90 int xfer_size; /* Data transfer size in CPU cache line */ member
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ixl_comp.c1324 DESC_INTR_DSABL, wait_for_sync, wvp->xfer_size[ii]); in hci1394_bld_recv_pkt_desc()
1327 wvp->xfer_size[ii]); in hci1394_bld_recv_pkt_desc()
1331 wv_descp->status = (wvp->xfer_size[ii] << in hci1394_bld_recv_pkt_desc()
1597 DESC_INTR_DSABL, wvp->xfer_size[ii]); in hci1394_bld_xmit_pkt_desc()
1599 HCI1394_INIT_IT_OMORE(wv_descp, wvp->xfer_size[ii]); in hci1394_bld_xmit_pkt_desc()
2012 wvp->xfer_size[wvp->xfer_bufcnt - 1] = size; in hci1394_set_next_xfer_buf()
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_ixl.h171 uint16_t xfer_size[HCI1394_DESC_MAX_Z]; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_init.c2408 uint32_t risc_address, xfer_size, count, *bp, faddr; in ql_load_flash_fw() local
2425 xfer_size = ha->fw_transfer_size >> 2; in ql_load_flash_fw()
2431 for (count = 0; count < xfer_size; count++) { in ql_load_flash_fw()
2457 if (risc_code_size < xfer_size) { in ql_load_flash_fw()
2458 faddr -= xfer_size - risc_code_size; in ql_load_flash_fw()
2459 xfer_size = risc_code_size; in ql_load_flash_fw()
2464 0, xfer_size << 2, DDI_DMA_SYNC_FORDEV); in ql_load_flash_fw()
2468 xfer_size); in ql_load_flash_fw()
2475 risc_address += xfer_size; in ql_load_flash_fw()
2476 risc_code_size -= xfer_size; in ql_load_flash_fw()
/illumos-gate/usr/src/cmd/picl/plugins/common/memcfg/
H A Dpiclmemcfg_comm.c760 transfersize = mcmemconf.xfer_size; in init_mc()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs3_srv.c3911 uint32_t xfer_size; in rfs3_fsinfo() local
3954 xfer_size = rfs3_tsize(req); in rfs3_fsinfo()
3955 resp->resok.rtmax = xfer_size; in rfs3_fsinfo()
3956 resp->resok.rtpref = xfer_size; in rfs3_fsinfo()
3958 resp->resok.wtmax = xfer_size; in rfs3_fsinfo()
3959 resp->resok.wtpref = xfer_size; in rfs3_fsinfo()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/
H A Dohci.c7004 size_t real_length, xfer_size; in ohci_create_isoc_transfer_wrapper() local
7105 for (xfer_size = 0, j = 0; j < frame_count; j++) { in ohci_create_isoc_transfer_wrapper()
7107 xfer_size += isoc_pkt_descr->isoc_pkt_length; in ohci_create_isoc_transfer_wrapper()
7113 xfer_size, &dev_attr, DDI_DMA_CONSISTENT, dmamem_wait, in ohci_create_isoc_transfer_wrapper()
7138 ASSERT(real_length >= xfer_size); in ohci_create_isoc_transfer_wrapper()
7149 tw->tw_isoc_bufs[i].length = xfer_size; in ohci_create_isoc_transfer_wrapper()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c7551 uint64_t xfer_size; in stmf_lport_xfer_done() local
7556 xfer_size = (dbuf->db_xfer_status == STMF_SUCCESS) ? in stmf_lport_xfer_done()
7566 xfer_size); in stmf_lport_xfer_done()
7571 xfer_size); in stmf_lport_xfer_done()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c8872 u8 xfer_size; in elink_read_sfp_module_eeprom() local
8901 xfer_size = (byte_cnt > ELINK_SFP_EEPROM_PAGE_SIZE) ? in elink_read_sfp_module_eeprom()
8903 rc = read_func(phy, params, dev_addr, addr, xfer_size, in elink_read_sfp_module_eeprom()
8905 byte_cnt -= xfer_size; in elink_read_sfp_module_eeprom()
8906 user_data += xfer_size; in elink_read_sfp_module_eeprom()
8907 addr += xfer_size; in elink_read_sfp_module_eeprom()