Searched refs:sg_io (Results 1 – 6 of 6) sorted by relevance
/titanic_41/usr/src/lib/librsm/common/ |
H A D | rsmgen.c | 504 __rsm_getv(rsm_scat_gath_t *sg_io) in __rsm_getv() argument 506 rsm_iovec_t *iovec = sg_io->iovec; in __rsm_getv() 511 rsmseg_handle_t *im_seg_hndl = (rsmseg_handle_t *)sg_io->remote_handle; in __rsm_getv() 513 int iovec_size = sizeof (rsmka_iovec_t) * sg_io->io_request_count; in __rsm_getv() 557 if (sg_io->io_request_count > RSM_MAX_IOVLEN) in __rsm_getv() 563 for (i = 0; i < sg_io->io_request_count; i++) { in __rsm_getv() 573 sg_io->iovec = (rsm_iovec_t *)l_iovec_start; in __rsm_getv() 574 e = loopback_getv(sg_io); in __rsm_getv() 575 sg_io->iovec = iovec; in __rsm_getv() 576 if (sg_io->io_request_count > RSM_MAX_IOVLEN) in __rsm_getv() [all …]
|
H A D | rsmloopback.c | 450 loopback_getv(rsm_scat_gath_t *sg_io) in loopback_getv() argument 452 rsm_iovec_t *iovec = sg_io->iovec; in loopback_getv() 453 rsmseg_handle_t *im_seg = (rsmseg_handle_t *)sg_io->remote_handle; in loopback_getv() 460 for (i = 0; i < sg_io->io_request_count; i++) { in loopback_getv() 470 sg_io->io_residual_count = 0; in loopback_getv() 515 loopback_putv(rsm_scat_gath_t *sg_io) in loopback_putv() argument 517 rsm_iovec_t *iovec = sg_io->iovec; in loopback_putv() 518 rsmseg_handle_t *im_seg = (rsmseg_handle_t *)sg_io->remote_handle; in loopback_putv() 525 for (i = 0; i < sg_io->io_request_count; i++) { in loopback_putv() 535 sg_io->io_residual_count = 0; in loopback_putv()
|
H A D | rsmlib.c | 1708 rsm_memseg_import_getv(rsm_scat_gath_t *sg_io) in rsm_memseg_import_getv() argument 1719 if (sg_io == NULL) { in rsm_memseg_import_getv() 1725 seg = (rsmseg_handle_t *)sg_io->remote_handle; in rsm_memseg_import_getv() 1739 if ((sg_io->io_request_count > RSM_MAX_SGIOREQS) || in rsm_memseg_import_getv() 1740 (sg_io->io_request_count == 0)) { in rsm_memseg_import_getv() 1767 save_sg_io_flags = sg_io->flags; in rsm_memseg_import_getv() 1769 e = cntrl->cntr_segops->rsm_memseg_import_getv(sg_io); in rsm_memseg_import_getv() 1786 if (sg_io->flags & RSM_IMPLICIT_SIGPOST && in rsm_memseg_import_getv() 1804 int sigpost_flags = sg_io->flags & RSM_SIGPOST_NO_ACCUMULATE; in rsm_memseg_import_getv() 1809 sg_io->flags = save_sg_io_flags; in rsm_memseg_import_getv() [all …]
|
/titanic_41/usr/src/uts/common/sys/rsm/ |
H A D | rsmpi.h | 478 rsmpi_scat_gath_t *sg_io); 481 rsmpi_scat_gath_t *sg_io); 691 #define RSM_GETV(controller, sg_io) \ argument 693 ((controller).handle, (sg_io)) 694 #define RSM_PUTV(controller, sg_io) \ argument 696 ((controller).handle, (sg_io))
|
/titanic_41/usr/src/lib/librsm/inc/ |
H A D | rsmndi.h | 184 int (* rsm_memseg_import_putv)(rsm_scat_gath_t *sg_io); 185 int (* rsm_memseg_import_getv)(rsm_scat_gath_t *sg_io);
|
/titanic_41/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 7359 sgio_copyin(caddr_t arg, rsmka_scat_gath_t *sg_io, int mode) in sgio_copyin() argument 7375 sg_io->local_nodeid = (rsm_node_id_t)sg_io32.local_nodeid; in sgio_copyin() 7376 sg_io->io_request_count = (size_t)sg_io32.io_request_count; in sgio_copyin() 7377 sg_io->io_residual_count = (size_t)sg_io32.io_residual_count; in sgio_copyin() 7378 sg_io->flags = (size_t)sg_io32.flags; in sgio_copyin() 7379 sg_io->remote_handle = (rsm_memseg_import_handle_t) in sgio_copyin() 7381 sg_io->iovec = (rsmka_iovec_t *)(uintptr_t)sg_io32.iovec; in sgio_copyin() 7387 if (ddi_copyin(arg, (caddr_t)sg_io, sizeof (rsmka_scat_gath_t), in sgio_copyin() 7398 sgio_resid_copyout(caddr_t arg, rsmka_scat_gath_t *sg_io, int mode) in sgio_resid_copyout() argument 7409 sg_io32.io_residual_count = sg_io->io_residual_count; in sgio_resid_copyout() [all …]
|