Home
last modified time | relevance | path

Searched refs:major_num (Results 1 – 2 of 2) sorted by relevance

/external/rootdev/
Drootdev.c61 unsigned int major_num = 0; in devt_from_file() local
77 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() local
330 dev = makedev(major_num, minor_num + config[i].offset); in rootdev_create_devices()
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux.c203 int major_num; in check_file_type() local
214 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()