Lines Matching refs:res
118 dev_t res = 0; in devt_from_partuuid() local
154 res = dev->devt; in devt_from_partuuid()
160 res = 0; in devt_from_partuuid()
164 res = part_devt(part); in devt_from_partuuid()
178 return res; in devt_from_partuuid()
214 dev_t res = 0; in name_to_dev_t() local
220 res = devt_from_partuuid(name); in name_to_dev_t()
221 if (!res) in name_to_dev_t()
233 res = MKDEV(maj, min); in name_to_dev_t()
234 if (maj != MAJOR(res) || min != MINOR(res)) in name_to_dev_t()
237 res = new_decode_dev(simple_strtoul(name, &p, 16)); in name_to_dev_t()
245 res = Root_NFS; in name_to_dev_t()
248 res = Root_RAM0; in name_to_dev_t()
258 res = blk_lookup_devt(s, 0); in name_to_dev_t()
259 if (res) in name_to_dev_t()
274 res = blk_lookup_devt(s, part); in name_to_dev_t()
275 if (res) in name_to_dev_t()
282 res = blk_lookup_devt(s, part); in name_to_dev_t()
283 if (res) in name_to_dev_t()
289 return res; in name_to_dev_t()