Lines Matching defs:copyp
3133 dsw_copyp_t copyp;
3143 II_TAIL_COPY(copyp, copyp32, shadow_vol, dsw_copyp_t);
3144 copyp.status = (spcs_s_info_t)copyp32.status;
3145 } else if (copyin((void *)arg, ©p, sizeof (copyp)) < 0)
3152 if (!copyp.shadow_vol[0])
3153 return (spcs_s_ocopyoutf(&kstatus, copyp.status, DSW_EEMPTY));
3156 ip = _ii_find_set(copyp.shadow_vol);
3159 return (spcs_s_ocopyoutf(&kstatus, copyp.status,
3163 if (copyp.copy_delay != -1) {
3164 if (copyp.copy_delay >= MIN_THROTTLE_DELAY &&
3165 copyp.copy_delay <= MAX_THROTTLE_DELAY)
3166 ip->bi_throttle_delay = copyp.copy_delay;
3169 copyp.copy_delay);
3173 copyp.copy_delay = tmp;
3176 if (copyp.copy_unit != -1) {
3177 if (copyp.copy_unit >= MIN_THROTTLE_UNIT &&
3178 copyp.copy_unit <= MAX_THROTTLE_UNIT) {
3180 ip->bi_throttle_unit = copyp.copy_unit;
3183 copyp.copy_unit);
3186 ip->bi_throttle_delay = copyp.copy_delay;
3190 copyp.copy_unit = tmp;
3196 copyp32.copy_delay = copyp.copy_delay;
3197 copyp32.copy_unit = copyp.copy_unit;
3200 } else if (copyout(©p, (void *)arg, sizeof (copyp)))
3203 return (spcs_s_ocopyoutf(&kstatus, copyp.status, rc));