Lines Matching refs:pv

895 	struct g_raid_md_intel_pervolume *pv;  in g_raid_md_intel_get_volume()  local
898 pv = mvol->v_md_data; in g_raid_md_intel_get_volume()
899 if (pv->pv_volume_pos == id) in g_raid_md_intel_get_volume()
913 struct g_raid_md_intel_pervolume *pv; in g_raid_md_intel_start_disk() local
1036 pv = sd->sd_volume->v_md_data; in g_raid_md_intel_start_disk()
1037 mvol = intel_get_volume(meta, pv->pv_volume_pos); in g_raid_md_intel_start_disk()
1066 (!pv->pv_cng || pv->pv_cng_master_disk != disk_pos)) { in g_raid_md_intel_start_disk()
1074 } else if (mvol->dirty && (!pv->pv_cng || in g_raid_md_intel_start_disk()
1075 pv->pv_cng_master_disk != disk_pos)) { in g_raid_md_intel_start_disk()
1107 } else if (mvol->dirty && (!pv->pv_cng || in g_raid_md_intel_start_disk()
1108 pv->pv_cng_master_disk != disk_pos)) { in g_raid_md_intel_start_disk()
1251 struct g_raid_md_intel_pervolume *pv; in g_raid_md_intel_start() local
1270 pv = malloc(sizeof(*pv), M_MD_INTEL, M_WAITOK | M_ZERO); in g_raid_md_intel_start()
1271 pv->pv_volume_pos = i; in g_raid_md_intel_start()
1272 pv->pv_cng = (mvol->state & INTEL_ST_CLONE_N_GO) != 0; in g_raid_md_intel_start()
1273 pv->pv_cng_man_sync = (mvol->state & INTEL_ST_CLONE_MAN_SYNC) != 0; in g_raid_md_intel_start()
1275 pv->pv_cng_master_disk = mvol->cng_master_disk; in g_raid_md_intel_start()
1276 vol->v_md_data = pv; in g_raid_md_intel_start()
1693 struct g_raid_md_intel_pervolume *pv; in g_raid_md_ctl_intel() local
1864 pv = malloc(sizeof(*pv), M_MD_INTEL, M_WAITOK | M_ZERO); in g_raid_md_ctl_intel()
1865 pv->pv_volume_pos = 0; in g_raid_md_ctl_intel()
1866 vol->v_md_data = pv; in g_raid_md_ctl_intel()
2058 pv = malloc(sizeof(*pv), M_MD_INTEL, M_WAITOK | M_ZERO); in g_raid_md_ctl_intel()
2059 pv->pv_volume_pos = i; in g_raid_md_ctl_intel()
2060 vol->v_md_data = pv; in g_raid_md_ctl_intel()
2350 struct g_raid_md_intel_pervolume *pv; in g_raid_md_write_intel() local
2419 pv = vol->v_md_data; in g_raid_md_write_intel()
2425 pv->pv_volume_pos = vi; in g_raid_md_write_intel()
2446 if (pv->pv_cng) in g_raid_md_write_intel()
2451 if (pv->pv_cng) in g_raid_md_write_intel()
2471 if (pv->pv_cng) { in g_raid_md_write_intel()
2473 if (pv->pv_cng_man_sync) in g_raid_md_write_intel()
2475 mvol->cng_master_disk = pv->pv_cng_master_disk; in g_raid_md_write_intel()
2476 if (vol->v_subdisks[pv->pv_cng_master_disk].sd_state == in g_raid_md_write_intel()
2683 struct g_raid_md_intel_pervolume *pv; in g_raid_md_free_volume_intel() local
2685 pv = (struct g_raid_md_intel_pervolume *)vol->v_md_data; in g_raid_md_free_volume_intel()
2686 free(pv, M_MD_INTEL); in g_raid_md_free_volume_intel()