alloc_chrdev_region 1079 block/bsg.c ret = alloc_chrdev_region(&devid, 0, BSG_MAX_DEVS, "bsg"); alloc_chrdev_region 1747 include/linux/fs.h extern int alloc_chrdev_region(dev_t *, unsigned, unsigned, const char *);