Lines Matching refs:devt
105 dev_t devt = 0; in devt_from_partuuid() local
136 devt = part_devt(dev_to_disk(dev), in devt_from_partuuid()
139 devt = dev->devt; in devt_from_partuuid()
143 return devt; in devt_from_partuuid()
174 dev_t devt = 0; in devt_from_partlabel() local
178 devt = dev->devt; in devt_from_partlabel()
182 return devt; in devt_from_partlabel()
187 dev_t devt = 0; in devt_from_devname() local
200 devt = blk_lookup_devt(s, 0); in devt_from_devname()
201 if (devt) in devt_from_devname()
202 return devt; in devt_from_devname()
216 devt = blk_lookup_devt(s, part); in devt_from_devname()
217 if (devt) in devt_from_devname()
218 return devt; in devt_from_devname()
231 dev_t devt = 0; in devt_from_devnum() local
236 devt = MKDEV(maj, min); in devt_from_devnum()
237 if (maj != MAJOR(devt) || min != MINOR(devt)) in devt_from_devnum()
240 devt = new_decode_dev(simple_strtoul(name, &p, 16)); in devt_from_devnum()
245 return devt; in devt_from_devnum()