/illumos-gate/usr/src/uts/i86pc/io/ioat/ |
H A D | ioat_chan.c | 971 size_t xfer_size; in ioat_cmd_post() local 1050 xfer_size = MIN(src_size, dest_size); in ioat_cmd_post() 1051 xfer_size = MIN(xfer_size, size); in ioat_cmd_post() 1065 if (xfer_size == size) { in ioat_cmd_post() 1074 ioat_cmd_post_copy(ring, src_paddr, dest_paddr, xfer_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 1426 xfer_size = MIN(src_size, dest_size); in ioat_ring_reserve() [all …]
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_buffers.c | 57 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 D | sbd_scsi.c | 2252 uint32_t xfer_size; in sbd_handle_identifying_info() local 2275 xfer_size = 4; in sbd_handle_identifying_info() 2285 xfer_size = param_len + 4; in sbd_handle_identifying_info() 2294 xfer_size = 12; in sbd_handle_identifying_info() 2303 cmd_size, xfer_size); in sbd_handle_identifying_info() 2350 uint8_t *buf, uint32_t bufsz, uint32_t xfer_size, uint64_t len) in sbd_write_same_data_common() argument 2357 for (sz_done = 0; sz_done < len; sz_done += (uint64_t)xfer_size) { in sbd_write_same_data_common() 2358 xfer_size = ((bufsz + sz_done) <= len) ? bufsz : in sbd_write_same_data_common() 2361 (uint64_t)xfer_size, buf); in sbd_write_same_data_common() 2374 uint32_t big_buf_size, xfer_size, off; in sbd_write_same_data() local [all …]
|
H A D | ats_copy_mgr.c | 791 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 D | emlxs_download.c | 395 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 D | emlxs_dump.c | 3705 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 D | ndmpd_util.c | 990 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 D | ndmpd_tar.c | 82 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 D | ndmpd_tar3.c | 1441 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 D | ndmpd_mover.c | 2752 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 D | mc.h | 90 int xfer_size; /* Data transfer size in CPU cache line */ member
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_ixl_comp.c | 1324 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 D | hci1394_ixl.h | 171 uint16_t xfer_size[HCI1394_DESC_MAX_Z]; member
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 2408 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 D | piclmemcfg_comm.c | 760 transfersize = mcmemconf.xfer_size; in init_mc()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_srv.c | 3911 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 D | uhciutil.c | 3775 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 D | dumpsubr.c | 466 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 D | ohci.c | 7004 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 D | mc-us3i.c | 461 mcmconf.xfer_size = TRANSFER_SIZE; in mc_ioctl()
|
H A D | mc-us3.c | 521 mcmconf.xfer_size = TRANSFER_SIZE; in mc_ioctl()
|
/illumos-gate/usr/src/uts/common/io/comstar/stmf/ |
H A D | stmf.c | 7551 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 D | bnxe_clc.c | 8872 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()
|