Searched defs:md_disk_pos (Results 1 - 3 of 3) sorted by relevance

/freebsd-head/sys/geom/raid/
H A Dmd_nvidia.c209 nvidia_meta_translate_disk(struct nvidia_raid_conf *meta, int md_disk_pos) argument
213 if (md_disk_pos >= 0 && meta->type == NVIDIA_T_RAID01) {
214 disk_pos = (md_disk_pos / meta->array_width) +
215 (md_disk_pos % meta->array_width) * meta->array_width;
217 disk_pos = md_disk_pos;
H A Dmd_ddf.c1622 int disk_pos, md_disk_bvd = -1, md_disk_pos = -1, md_pde_pos; local
1638 &md_disk_bvd, &md_disk_pos);
1699 md_disk_pos = disk_pos % GET16(vmeta, vdc->Primary_Element_Count); // XXX
1754 sd->sd_offset = (off_t)GET64P(pdmeta, val2 + md_disk_pos) * 512;
H A Dmd_promise.c300 promise_meta_translate_disk(struct g_raid_volume *vol, int md_disk_pos) argument
304 if (md_disk_pos >= 0 && vol->v_raid_level == G_RAID_VOLUME_RL_RAID1E) {
306 disk_pos = (md_disk_pos / width) +
307 (md_disk_pos % width) * width;
309 disk_pos = md_disk_pos;
674 int disk_pos, md_disk_pos, i, resurrection = 0; local
684 md_disk_pos = promise_meta_find_disk(meta, pd->pd_meta[sdn]->disk.id);
686 disk_pos = promise_meta_translate_disk(vol, md_disk_pos);
688 md_disk_pos = -1;
747 md_disk_pos
[all...]

Completed in 112 milliseconds