Searched refs:sd_size (Results 1 – 14 of 14) sorted by relevance
134 size += vol->v_subdisks[i].sd_size; in g_raid_tr_update_state_concat()236 offset >= vol->v_subdisks[no].sd_size) { in g_raid_tr_iostart_concat()237 offset -= vol->v_subdisks[no].sd_size; in g_raid_tr_iostart_concat()247 length = MIN(sd->sd_size - offset, remain); in g_raid_tr_iostart_concat()304 offset >= vol->v_subdisks[no].sd_size) { in g_raid_tr_kerneldump_concat()305 offset -= vol->v_subdisks[no].sd_size; in g_raid_tr_kerneldump_concat()312 length = MIN(sd->sd_size - offset, remain); in g_raid_tr_kerneldump_concat()
458 if (sd->sd_offset + sd->sd_size + 512 > in g_raid_md_jmicron_start_disk()463 sd->sd_offset + sd->sd_size + 512); in g_raid_md_jmicron_start_disk()535 sd->sd_size = in g_raid_md_jmicron_start_disk()694 sd->sd_size = size; in g_raid_md_jmicron_start()1211 sd->sd_size = size; in g_raid_md_ctl_jmicron()1469 (sd->sd_size / 512) >> 16; in g_raid_md_write_jmicron()1471 (sd->sd_size / 512) & 0xffff; in g_raid_md_write_jmicron()
953 if (sd->sd_offset + sd->sd_size + 4096 > in g_raid_md_intel_start_disk()960 sd->sd_offset + sd->sd_size + 4096); in g_raid_md_intel_start_disk()1306 sd->sd_size = intel_get_map_disk_sectors(mmap) * 512; //ZZZ in g_raid_md_intel_start()1890 sd->sd_size = size; in g_raid_md_ctl_intel()1994 size - (sd->sd_offset + sd->sd_size)) { in g_raid_md_ctl_intel()1998 off = sd->sd_offset + sd->sd_size; in g_raid_md_ctl_intel()1999 size = size - (sd->sd_offset + sd->sd_size); in g_raid_md_ctl_intel()2084 sd->sd_size = size; in g_raid_md_ctl_intel()2519 intel_set_map_disk_sectors(mmap0, sd->sd_size / sectorsize); in g_raid_md_write_intel()2545 sd->sd_size / vol->v_strip_size / mmap0->total_domains); in g_raid_md_write_intel()
727 size = sd->sd_size; in g_raid_md_promise_start_disk()781 sd->sd_size = (off_t)esize * 512; in g_raid_md_promise_start_disk()785 sd->sd_size = (((off_t)pd->pd_meta[sdn]->disk_sectors_high in g_raid_md_promise_start_disk()939 sd->sd_size = (((off_t)meta->disk_sectors_high << 32) + in g_raid_md_promise_start()1478 sd->sd_size = size; in g_raid_md_ctl_promise()1869 (sd->sd_size / 512) >> 32; in g_raid_md_write_promise()1870 pd->pd_meta[j]->disk_sectors = sd->sd_size / 512; in g_raid_md_write_promise()
258 sd->sd_size - sd->sd_rebuild_pos); in g_raid_tr_raid1_rebuild_some()330 sd->sd_size - sd->sd_rebuild_pos); in g_raid_tr_raid1_rebuild_abort()736 if (nsd->sd_rebuild_pos >= nsd->sd_size) { in g_raid_tr_iodone_raid1()
469 if (sd->sd_offset + sd->sd_size + 2 * 512 > in g_raid_md_nvidia_start_disk()474 sd->sd_offset + sd->sd_size + 512); in g_raid_md_nvidia_start_disk()541 sd->sd_size = pd->pd_disk_size - 0x800 * 512; in g_raid_md_nvidia_start_disk()704 sd->sd_size = size; in g_raid_md_nvidia_start()1216 sd->sd_size = size; in g_raid_md_ctl_nvidia()
513 if (sd->sd_offset + sd->sd_size + 512 > in g_raid_md_sii_start_disk()518 sd->sd_offset + sd->sd_size + 512); in g_raid_md_sii_start_disk()592 sd->sd_size = pd->pd_disk_size - 0x800 * 512; in g_raid_md_sii_start_disk()760 sd->sd_size = size; in g_raid_md_sii_start()1298 sd->sd_size = size; in g_raid_md_ctl_sii()
440 if (sd->sd_rebuild_pos >= sd->sd_size) { in g_raid_tr_raid1e_rebuild_some()450 sd->sd_size - sd->sd_rebuild_pos); in g_raid_tr_raid1e_rebuild_some()951 if (nsd->sd_rebuild_pos >= nsd->sd_size) { in g_raid_tr_iodone_raid1e()
167 off_t sd_size; /* Size on the disk. */ member
1681 size = sd->sd_size; in g_raid_md_ddf_start_disk()1750 sd->sd_size = esize; in g_raid_md_ddf_start_disk()1755 sd->sd_size = (off_t)GET64D(pdmeta, vdc1->Block_Count) * 512; in g_raid_md_ddf_start_disk()1901 sd->sd_size = GET64(vmeta, vdc->Block_Count) * in g_raid_md_ddf_start()1908 sd->sd_size = GET64(vmeta, bvdc[bvd]->Block_Count) * in g_raid_md_ddf_start()2489 sd->sd_size = size; in g_raid_md_ctl_ddf()2845 sd->sd_size / vol->v_sectorsize); in g_raid_md_write_ddf()
2384 sd->sd_size)); in g_raid_dumpconf()2410 sd->sd_size)); in g_raid_dumpconf()
322 u64 sd_size; in i40e_create_lan_hmc_object() local374 sd_size = I40E_HMC_DIRECT_BP_SIZE; in i40e_create_lan_hmc_object()376 sd_size = info->direct_mode_sz; in i40e_create_lan_hmc_object()385 sd_size); in i40e_create_lan_hmc_object()
319 u_int32_t sd_size; member
544 (i < MLX_MAXDRIVES) && (mes[i].sd_size != 0xffffffff); in mlx_startup()549 dr->ms_size = mes[i].sd_size; in mlx_startup()1224 (i < MLX_MAXDRIVES) && (mes[i].sd_size != 0xffffffff); in mlx_periodic_enquiry()