Lines Matching +full:device +full:- +full:width

49 The disk storage API permits kernel device drivers providing access to
50 disk-like storage devices to advertise the device to other kernel
56 Each disk device is described by a
58 structure, which contains a variety of parameters for the disk device,
59 function pointers for various methods that may be performed on the device,
60 as well as private data storage for the device driver.
62 to the device and its statistics.
71 when the device is ready to service requests.
76 For each alias added, a device node will be created with
78 in the same way primary device nodes are created with
96 In addition, it prevents a re-taste on last close for writing if an error
100 the device driver is not allowed to access the contents of
112 it will ignore the device and print a warning on the console.
114 The following fields identify the disk device described by the structure
118 .Bl -tag -width indent
121 or descriptions the storage device driver supports.
126 (maintained by device driver),
129 (maintained by device driver).
131 Holds the name of the storage device class, e.g.,
133 This value typically uniquely identifies a particular driver device,
134 and must not conflict with devices serviced by other device drivers.
136 Holds the instance of the storage device class, e.g.,
138 This namespace is managed by the device driver, and assignment of unit
144 values will uniquely identify a disk storage device.
146 .Ss Disk Device Methods
147 The following fields identify various disk device methods, if implemented:
148 .Bl -tag -width indent
150 Optional: invoked when the disk device is opened.
153 Optional: invoked when the disk device is closed.
159 is to be initiated on the disk device.
161 Optional: invoked when an I/O control operation is initiated on the disk device.
172 This function should return -1 if the attribute is not handled, 0 if the
183 The following fields identify the size and granularity of the disk device.
187 .Bl -tag -width indent
189 The sector size of the disk device in bytes.
191 The size of the disk device in bytes.
198 device.
203 .Bl -tag -width indent
205 The number of sectors and heads advertised on the disk device by the
210 These two fields can be used to describe the width and location of
225 This field can be used to store the PCI device ID for the HBA connected to
235 This field may be used by the device driver to store a pointer to
237 .Bl -tag -width indent
242 structure for this disk device.