max_raw_minors 40 drivers/char/raw.c static int max_raw_minors = MAX_RAW_MINORS; max_raw_minors 42 drivers/char/raw.c module_param(max_raw_minors, int, 0); max_raw_minors 43 drivers/char/raw.c MODULE_PARM_DESC(max_raw_minors, "Maximum number of raw devices (1-65536)"); max_raw_minors 134 drivers/char/raw.c if (number <= 0 || number >= max_raw_minors) max_raw_minors 193 drivers/char/raw.c if (number <= 0 || number >= max_raw_minors) max_raw_minors 319 drivers/char/raw.c if (max_raw_minors < 1 || max_raw_minors > 65536) { max_raw_minors 322 drivers/char/raw.c max_raw_minors = MAX_RAW_MINORS; max_raw_minors 325 drivers/char/raw.c raw_devices = vzalloc(array_size(max_raw_minors, max_raw_minors 333 drivers/char/raw.c ret = register_chrdev_region(dev, max_raw_minors, "raw"); max_raw_minors 338 drivers/char/raw.c ret = cdev_add(&raw_cdev, dev, max_raw_minors); max_raw_minors 354 drivers/char/raw.c unregister_chrdev_region(dev, max_raw_minors); max_raw_minors 365 drivers/char/raw.c unregister_chrdev_region(MKDEV(RAW_MAJOR, 0), max_raw_minors);