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()
203 int major_num; in check_file_type() local214 major_num = (int)SG_DEV_MAJOR(dev_statp->st_rdev); in check_file_type()216 if (SCSI_GENERIC_MAJOR == major_num) in check_file_type()218 else if (sg_bsg_major == major_num) in check_file_type()220 else if (sg_nvme_char_major == major_num) in check_file_type()224 if (BLOCK_EXT_MAJOR == major_num) { in check_file_type()