summaryrefslogtreecommitdiff
path: root/sys/dev/dkwedge/dk.c
AgeCommit message (Expand)Author
2023-05-22dk(4): Add locking notes.riastradh
2023-05-22dk(4): Explain why no need for device reference in dksize, dkdump.riastradh
2023-05-22dk(4): Strengthen preconditions of various devsw operations.riastradh
2023-05-22dk(4): Strengthen dkclose preconditions.riastradh
2023-05-22dk(4): Strengthen dkopen preconditions.riastradh
2023-05-22dk(4): Prevent race between dkwedge_get_parent_name and wedge detach.riastradh
2023-05-22dk(4): Split unsafe lookups into safe subroutines and unsafe wrappers.riastradh
2023-05-22dk(4): Don't hold lock around uiomove in dkwedge_list.riastradh
2023-05-22dk(4): Skip larval wedges in various lookup routines.riastradh
2023-05-22dk(4): Simplify dkwedge_delall by detaching directly.riastradh
2023-05-22dk(4): Use device_lookup_private for dkwedge_lookup.riastradh
2023-05-22dk(4): dkunit is no longer needed; nix it.riastradh
2023-05-22dk(4): Use config_attach_pseudo_acquire to create wedges.riastradh
2023-05-13dk(4): Need pdk->dk_openlock to read pdk->dk_wedges.riastradh
2023-05-10dk(4): Make it clearer that dkopen EROFS branch doesn't leak.riastradh
2023-05-09dk(4): Fix typo: sc_state, not sc_satte.riastradh
2023-05-09dk(4): Omit needless sc_iopend, sc_dkdrn mechanism.riastradh
2023-05-09ioctl(DIOCRMWEDGES): Delete only idle wedges.riastradh
2023-05-09dk(4): dkclose must handle a dying wedge too to close the parent.riastradh
2023-04-29dk(4): Rename label for consistency. No functional change intended.riastradh
2023-04-29dk(4): Fix lock assertion in size increase: parent's, not wedge's.riastradh
2023-04-22dk(4): Convert tests to assertions in various devsw operations.riastradh
2023-04-22dk(4): Fix racy access to sc->sc_dk.dk_openmask in dkwedge_delall1.riastradh
2023-04-21dk(4): Narrow the scope of the device numbering lookup on detach.riastradh
2023-04-21dk(4): dkdump: Simplify. No functional change intended.riastradh
2023-04-21dk(4): Omit needless locking in dksize, dkdump.riastradh
2023-04-21dk(4): Take a read-lock on dkwedges_lock if we're only reading.riastradh
2023-04-21dk(4): Set .d_cfdriver and .d_devtounit to plug open/detach race.riastradh
2023-04-21dk(4): Use disk_begindetach and rely on vdevgone to close instances.riastradh
2023-04-21dk(4): Fix callout detach race.riastradh
2023-04-21dk(4): Add null d_cancel routine to devsw.riastradh
2023-04-21dk(4): Require dk_openlock in dk_set_geometry.riastradh
2023-04-21dk(4): Assert dkwedges[unit] is the sc we're about to free.riastradh
2023-04-21dk(4): Assert parent vp is nonnull before we stash it away.riastradh
2023-04-21dk(4): Don't touch dkwedges or ndkwedges outside dkwedges_lock.riastradh
2023-04-21dk(4): Move CFDRIVER_DECL and CFATTACH_DECL3_NEW earlier in file.riastradh
2023-04-21dk(4): Prevent races in access to struct dkwedge_softc::sc_size.riastradh
2023-04-21dk(4): <sys/rwlock.h> for rwlock(9).riastradh
2023-04-21dk(4): KNF: Sort includes.riastradh
2023-04-21dk(4): ENXIO, not ENODEV, means no such device.riastradh
2023-04-21dk(4): Fix typo in comment: dkstrategy, not dkstragegy.riastradh
2023-04-21dk(4): Omit needless void * cast.riastradh
2023-04-21dk(4): KNF: Whitespace.riastradh
2023-04-21dk(4): KNF: return (v) -> return v.riastradh
2023-04-21dk(4): Avoid holding dkwedges_lock while allocating array.riastradh
2023-04-21dk(4): Restore assertions in dklastclose.riastradh
2023-04-13dk(4): Explain why dk_rawopens can't overflow and assert it.riastradh
2022-09-27Remove bogus assertions.mlelstv
2022-08-22dk(4): Assert about dk_openmask under the lock.riastradh
2022-08-22Revert "dk(4): Narrow scope of dk_rawlock on close to dklastclose."riastradh