Lines Matching defs:svd
90 * - Add svd->swresv pages to swap count for each of the
1086 struct segvn_data *svd;
1117 svd = (struct segvn_data *)seg->s_data;
1118 if (svd->type == MAP_SHARED) {
1121 swresv = svd->swresv;
1123 if (SEGVN_LOCK_TRYENTER(seg->s_as, &svd->lock,
1133 if (svd->tr_state == SEGVN_TR_OFF &&
1134 svd->amp != NULL) {
1135 private_amp = svd->amp;
1136 p_start = svd->anon_index;
1137 p_end = svd->anon_index +
1140 SEGVN_LOCK_EXIT(seg->s_as, &svd->lock);
1143 if (svd->vp != NULL) {
1146 vmu_data.vmu_all_vnodes_hash, (caddr_t)svd->vp,
1148 s_start = btop(svd->offset);
1149 s_end = btop(svd->offset + seg->s_size) - 1;
1151 if (svd->amp != NULL && svd->type == MAP_SHARED) {
1154 vmu_data.vmu_all_amps_hash, (caddr_t)svd->amp,
1156 s_start = svd->anon_index;
1157 s_end = svd->anon_index + btop(seg->s_size) - 1;
1159 if (svd->amp->swresv == 0)