Lines Matching defs:sg_io
1708 rsm_memseg_import_getv(rsm_scat_gath_t *sg_io)
1719 if (sg_io == NULL) {
1721 "invalid sg_io structure\n"));
1725 seg = (rsmseg_handle_t *)sg_io->remote_handle;
1728 "invalid remote segment handle in sg_io\n"));
1739 if ((sg_io->io_request_count > RSM_MAX_SGIOREQS) ||
1740 (sg_io->io_request_count == 0)) {
1756 * Copy the flags field of the sg_io structure in a local
1761 * This change in the flags field of the sg_io structure
1767 save_sg_io_flags = sg_io->flags;
1769 e = cntrl->cntr_segops->rsm_memseg_import_getv(sg_io);
1780 * field within the sg_io structure as follows:
1786 if (sg_io->flags & RSM_IMPLICIT_SIGPOST &&
1792 * depends on the value of the sg_io->flags field.
1794 * ored into the sg_io->flags field, this indicates
1799 * all other bits in the sg_io->flags field except the
1804 int sigpost_flags = sg_io->flags & RSM_SIGPOST_NO_ACCUMULATE;
1809 sg_io->flags = save_sg_io_flags;
2038 rsm_memseg_import_putv(rsm_scat_gath_t *sg_io)
2050 if (sg_io == NULL) {
2052 "invalid sg_io structure\n"));
2056 seg = (rsmseg_handle_t *)sg_io->remote_handle;
2059 "invalid remote segment handle in sg_io\n"));
2070 if ((sg_io->io_request_count > RSM_MAX_SGIOREQS) ||
2071 (sg_io->io_request_count == 0)) {
2088 * Copy the flags field of the sg_io structure in a local
2093 * This change in the flags field of the sg_io structure
2099 save_sg_io_flags = sg_io->flags;
2101 e = cntrl->cntr_segops->rsm_memseg_import_putv(sg_io);
2112 * field within the sg_io structure as follows:
2118 if (sg_io->flags & RSM_IMPLICIT_SIGPOST &&
2124 * depends on the value of the sg_io->flags field.
2126 * ored into the sg_io->flags field, this indicates
2131 * all other bits in the sg_io->flags field except the
2136 int sigpost_flags = sg_io->flags & RSM_SIGPOST_NO_ACCUMULATE;
2142 sg_io->flags = save_sg_io_flags;