Home
last modified time | relevance | path

Searched refs:sd_offset (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_device_path_os.c123 char *sd_offset; in zfs_strip_partition_path() local
130 sd_offset = strrchr(newpath, '/') + 1; in zfs_strip_partition_path()
133 new_sd = zfs_strip_partition(sd_offset); in zfs_strip_partition_path()
140 strlcpy(sd_offset, new_sd, strlen(sd_offset) + 1); in zfs_strip_partition_path()
/freebsd/sys/geom/raid/
H A Dg_raid.h156 ((sd)->sd_disk ? ((sd)->sd_disk->d_last_offset - (sd)->sd_offset) : 0)
166 off_t sd_offset; /* Offset on the disk. */ member
H A Dmd_jmicron.c458 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()
533 sd->sd_offset = in g_raid_md_jmicron_start_disk()
693 sd->sd_offset = (off_t)meta->offset * 16 * 512; //ZZZ in g_raid_md_jmicron_start()
1210 sd->sd_offset = 0; in g_raid_md_ctl_jmicron()
1467 (sd->sd_offset / 512) / 16; in g_raid_md_write_jmicron()
H A Dmd_intel.c953 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()
1305 sd->sd_offset = intel_get_map_offset(mmap) * 512; //ZZZ in g_raid_md_intel_start()
1889 sd->sd_offset = 0; in g_raid_md_ctl_intel()
1993 if (sd->sd_offset > in g_raid_md_ctl_intel()
1994 size - (sd->sd_offset + sd->sd_size)) { in g_raid_md_ctl_intel()
1996 size = sd->sd_offset; 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()
2083 sd->sd_offset = off; in g_raid_md_ctl_intel()
[all …]
H A Dmd_promise.c780 sd->sd_offset = (off_t)eoff * 512; in g_raid_md_promise_start_disk()
783 sd->sd_offset = (((off_t)pd->pd_meta[sdn]->disk_offset_high in g_raid_md_promise_start_disk()
937 sd->sd_offset = (((off_t)meta->disk_offset_high << 32) + in g_raid_md_promise_start()
1477 sd->sd_offset = (off_t)offs[i] * 512; in g_raid_md_ctl_promise()
1866 (sd->sd_offset / 512) >> 32; in g_raid_md_write_promise()
1867 pd->pd_meta[j]->disk_offset = sd->sd_offset / 512; in g_raid_md_write_promise()
H A Dmd_nvidia.c469 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()
703 sd->sd_offset = 0; in g_raid_md_nvidia_start()
1215 sd->sd_offset = 0; in g_raid_md_ctl_nvidia()
H A Dmd_sii.c513 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()
759 sd->sd_offset = 0; in g_raid_md_sii_start()
1297 sd->sd_offset = 0; in g_raid_md_ctl_sii()
H A Dg_raid.c1404 bp->bio_offset += sd->sd_offset; in g_raid_subdisk_iostart()
1420 sd->sd_disk->d_kd.di.mediaoffset + sd->sd_offset + offset, length)); in g_raid_subdisk_kerneldump()
1458 bp->bio_offset -= sd->sd_offset; in g_raid_disk_done_request()
1664 pp->stripeoffset = off + vol->v_subdisks[0].sd_offset; in g_raid_launch_provider()
2423 sd->sd_pos, (uintmax_t)sd->sd_offset); in g_raid_dumpconf()
H A Dmd_ddf.c1749 sd->sd_offset = eoff; in g_raid_md_ddf_start_disk()
1754 sd->sd_offset = (off_t)GET64P(pdmeta, val2 + md_disk_pos) * 512; in g_raid_md_ddf_start_disk()
1900 sd->sd_offset = 0; in g_raid_md_ddf_start()
1907 sd->sd_offset = GET64P(vmeta, val2 + j) * vol->v_sectorsize; in g_raid_md_ddf_start()
2488 sd->sd_offset = offs[i]; in g_raid_md_ctl_ddf()
2851 sd->sd_offset / vol->v_sectorsize); in g_raid_md_write_ddf()
/freebsd/contrib/file/src/
H A Dcdf.h156 uint32_t sd_offset; member
H A Dcdf.c1171 if (cdf_read_property_info(sst, h, CDF_TOLE4(sd->sd_offset), info, in cdf_unpack_summary_info()