Searched refs:major_num (Results 1 – 2 of 2) sorted by relevance
61 unsigned int major_num = 0; in devt_from_file() local77 if (sscanf(candidate, "%u:%u", &major_num, &minor_num) == 2) { in devt_from_file()80 dev = makedev(major_num, minor_num); in devt_from_file()305 unsigned int major_num = major(dev); in rootdev_create_devices() local330 dev = makedev(major_num, minor_num + config[i].offset); in rootdev_create_devices()
192 int major_num; in check_file_type() local203 major_num = (int)SG_DEV_MAJOR(dev_statp->st_rdev); in check_file_type()205 if (SCSI_GENERIC_MAJOR == major_num) in check_file_type()207 else if (sg_bsg_major == major_num) in check_file_type()209 else if (sg_nvme_char_major == major_num) in check_file_type()213 if (BLOCK_EXT_MAJOR == major_num) { in check_file_type()