Searched hist:176197 (Results 1 - 4 of 4) sorted by relevance

/freebsd-10-stable/sys/sparc64/sparc64/
H A Data_machdep.c176197 Mon Feb 11 19:40:22 MST 2008 marius The Sun disk label only uses 16-bit fields for cylinders, heads and
sectors so the geometry of large IDE disks has to be adjusted. This
corresponds to what the OpenSolaris dad(7D) driver does except that
the latter only tweaks sectors and effectively limits the mediasize
to 128GB so the cylinders and heads fields won't ever overflow. Not
limiting the mediasize is a compromise between allowing to use Sun
disk label as far as possible and being able to use the entire disk
with another disk label.
This allows to use the full capacity of large IDE disks if they were
not labeled under (Open)Solaris (in both ways of the meaning).

MFC after: 2 weeks
/freebsd-10-stable/lib/libc/stdlib/
H A Dbsearch.3diff 247189 Sat Feb 23 10:45:16 MST 2013 keramida Now that qsort(3) has a sample comparison function, point to that
example from bsearch(3) too, so that we don't have to duplicate
the example code in both places.

PR: docs/176197
Reviewed by: stefanf
Approved by: remko (mentor), gjb (mentor)
MFC after: 1 week
H A Dqsort.3diff 247014 Tue Feb 19 22:10:28 MST 2013 keramida Add a sample program that shows how a custom comparison function and
qsort(3) can work together to sort an array of integers.

PR: docs/176197
Submitted by: Fernando, fapesteguia at opensistemas.com
Approved by: gjb (mentor)
MFC after: 1 week
/freebsd-10-stable/sys/sparc64/include/
H A Dmd_var.hdiff 176197 Mon Feb 11 19:40:22 MST 2008 marius The Sun disk label only uses 16-bit fields for cylinders, heads and
sectors so the geometry of large IDE disks has to be adjusted. This
corresponds to what the OpenSolaris dad(7D) driver does except that
the latter only tweaks sectors and effectively limits the mediasize
to 128GB so the cylinders and heads fields won't ever overflow. Not
limiting the mediasize is a compromise between allowing to use Sun
disk label as far as possible and being able to use the entire disk
with another disk label.
This allows to use the full capacity of large IDE disks if they were
not labeled under (Open)Solaris (in both ways of the meaning).

MFC after: 2 weeks

Completed in 162 milliseconds