Lines Matching defs:to
40 /* permit private copies of the data to be taken */
90 * If major > 0 this function will attempt to reserve the passed range of
200 dev_t to = from + count;
203 for (n = from; n < to; n = next) {
205 if (next > to)
206 next = to;
214 to = n;
215 for (n = from; n < to; n = next) {
253 * If @major > 0 this function will attempt to reserve a device with the given
258 * The name of this device has nothing to do with the name of the device in
259 * /dev. It only helps to keep track of the different owners of devices. If
260 * your module name has only one type of devices it's ok to use e.g. the name
304 * @from: the first in the range of numbers to unregister
305 * @count: the number of device numbers to unregister
313 dev_t to = from + count;
316 for (n = from; n < to; n = next) {
318 if (next > to)
319 next = to;
449 * cdev_add() - add a char device to the system
452 * @count: the number of consecutive minor numbers corresponding to this
455 * cdev_add() adds the device represented by @p to the system, making it
472 * @p: the cdev structure to be removed
523 * @cdev: the structure to initialize
526 * Initializes @cdev, remembering @fops, making it ready to add to the