summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disk.c
AgeCommit message (Expand)Author
2014-11-03correct test logic. ok guentherTed Unangst
2014-11-03deobfuscate by pulling le conversions up. use mallocarray.Ted Unangst
2014-11-03pass size argument to free()Theo de Raadt
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-08-30Recognize EFI protective and system partitions. Do not put disklabel entriesMiod Vallat
2014-07-13Initial support to read GPT partition tables in the kernel, if option GPT.Miod Vallat
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-12Remove the temporary dospartoff work around.Joel Sing
2014-07-11reboot(9): Add MI reboot entry functionMasao Uebayashi
2014-07-02this doesnt talk to uvm directly, so doesnt need uvm_extern.hDavid Gwynne
2014-01-24When a disklabel is read from a MBR partitioned disk, don'tKenneth R Westerback
2014-01-23Delete spurious if statement.Kenneth R Westerback
2014-01-22Write disklabel in correct spot on devices with non-512-byte sectors.Kenneth R Westerback
2014-01-21bzero -> memsetTed Unangst
2013-11-20now that all the direct users of disksort have been removed, we can nowDavid Gwynne
2013-11-18panic expects a format stringTheo de Raadt
2013-11-01Sprinkle (long long) casts where %lld is being used to print daddr_tKenneth R Westerback
2013-10-20KNF a long line.Kenneth R Westerback
2013-10-19Use daddr_t * instead of int * for the partoffp parameter toKenneth R Westerback
2013-10-14Display correct values (i.e. blocks where blocks are meant) inKenneth R Westerback
2013-10-07disk sizes, partition sizes and partition offsets are u_int64_tKenneth R Westerback
2013-09-03When a partition is changing to UNUSED, we try to save kernel-setKenneth R Westerback
2013-08-08Uncomment kprintf format attributes for sys/kernSylvestre Gallon
2013-07-03don't use empty format stringStefan Fritsch
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2013-04-24When attaching disks, feed the disklabel's checksum toBret Lambert
2013-02-17Comment out recently added __attribute__((__format__(__kprintf__))) annotationsMiod Vallat
2013-02-09Add explicit __attribute__ ((__format__(__kprintf__)))) to the functions andMiod Vallat
2012-04-07Tweak FAT detection/usage. Recognize 'bare' FAT media that lacksKenneth R Westerback
2012-03-31Some whitespace/paren tweaks. Rename the mbr testing variable fromKenneth R Westerback
2012-02-10DUIDs are only valid when booting off of a disk, so make sure we arePeter Hessler
2012-01-21When disklabels can't be read before attempting to mount root, makeKenneth R Westerback
2012-01-21Do not wait for DKF_OPENED to be set if we never actually created aJoel Sing
2012-01-16Ensure that all disk attach callbacks have completed before attemptingJoel Sing
2012-01-13Always set DKF_OPENED in the disk attach callback.Joel Sing
2012-01-13Restore previous behaviour - only print the DUID if we used it toJoel Sing
2012-01-11If the DUID of the boot disk has not been provided, attempt to locate itJoel Sing
2012-01-11Move softraid root mapping to later in the boot process - this will allowJoel Sing
2011-12-28Avoid the use of an invalid disklabel by setting a DK_LABELVALID flagJoel Sing
2011-12-28An all-zero DUID is considered to be a blank DUID - ensure that we do notJoel Sing
2011-09-21Move the prototype for disk_readlabel to the .h file so that hibernateTheo de Raadt
2011-09-18Do not use the `hh' modifier in printf format strings, as the kernel printfMiod Vallat
2011-07-26No need to byte-swap d_checksum just before setting it to zero.Kenneth R Westerback
2011-07-06On several archs (e.g. hppa, sgi, macppc) readdoslabel() is called after an a...Kenneth R Westerback
2011-07-06Eliminate redundant buf validation checks in xxstrategy() methods nowMatthew Dempsky
2011-07-05Add checks for sector-alignment and whole number of sectors toMatthew Dempsky
2011-06-30Refactor some common open/close/detach disk driver code intoMatthew Dempsky
2011-06-19Minor cleanup for disk_lock() and disk_unlock().Matthew Dempsky
2011-06-19Add disk_lock_nointr() as a way to acquire the disk lock without beingMatthew Dempsky
2011-06-19Kill the "lockname" argument to disk_construct().Matthew Dempsky