summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disk.c
AgeCommit message (Expand)Author
2015-09-01a white space krw could not seeTheo de Raadt
2015-09-01'bogous' is bogus spelling of 'bogus' in debug message.Kenneth R Westerback
2015-09-01Missing letoh64() when checking value of gh_lba_alt.Kenneth R Westerback
2015-08-31Abstract 5 identical code blocks into a readdisksector() function.Kenneth R Westerback
2015-08-31Rejig the the expression calculating of the address of the diskKenneth R Westerback
2015-08-30In readgptlabel() avoid pointless conversions from sector countsKenneth R Westerback
2015-08-30Eliminate a couple of extraneous DL_SECTOBLK() calls.Kenneth R Westerback
2015-08-29In readgptlabel() the block offsets of the GPT header and GPT partitionKenneth R Westerback
2015-08-28Move label 'offset' calculation out of the buf setup logic andKenneth R Westerback
2015-08-28Rename 'part_blkno' to 'sector' as it has not held DEV_BSIZE values inKenneth R Westerback
2015-08-26Enhance setdisklabel() to ensure that the disk size and 'C'Kenneth R Westerback
2015-08-24Fix GPT code to work with non-DEV_BSIZE disks.Kenneth R Westerback
2015-08-12Remove last two 'uses' of d_subtype in tree. No point in settingKenneth R Westerback
2015-07-29Zap a couple of extra blank lines that keep showing up in diffs I'mKenneth R Westerback
2015-07-28Convert sectors to DEV_BSIZE block values were necessary to find,Kenneth R Westerback
2015-07-26Always initialize the b_error field and B_ERROR flag before usingKenneth R Westerback
2015-07-23Revert attempted GPT code cleanup. Too much code, too little testing.Kenneth R Westerback
2015-05-09Cleanup/rejig GPT code to be more readable, support different endianKenneth R Westerback
2015-03-15Bring back '#include <lib/libz/zlib.h>', but inside #ifdev GPT. GPTKenneth R Westerback
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-12-30Rework disklabel reading taskq to plug holes pointed out by jsing@.Kenneth R Westerback
2014-12-28Replace last workq in tree (reading disklabels from newly attachedKenneth R Westerback
2014-12-20Zap a sneaky trailing blank that was hiding in plain view.Kenneth R Westerback
2014-12-20Zap local variable that shadows another local variable. Fixes a panic causedMark Kettenis
2014-12-20Zap a bunch of leading/trailing whitespace.Kenneth R Westerback
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
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