Home
last modified time | relevance | path

Searched refs:tmp_dev (Results 1 – 6 of 6) sorted by relevance

/drivers/md/
Dlinear.c291 struct dev_info *tmp_dev; in linear_make_request() local
300 tmp_dev = which_dev(mddev, bio->bi_sector); in linear_make_request()
301 start_sector = tmp_dev->end_sector - tmp_dev->rdev->sectors; in linear_make_request()
304 if (unlikely(bio->bi_sector >= (tmp_dev->end_sector) in linear_make_request()
313 bdevname(tmp_dev->rdev->bdev, b), in linear_make_request()
314 (unsigned long long)tmp_dev->rdev->sectors, in linear_make_request()
320 if (unlikely(bio_end_sector(bio) > tmp_dev->end_sector)) { in linear_make_request()
325 sector_t end_sector = tmp_dev->end_sector; in linear_make_request()
337 bio->bi_bdev = tmp_dev->rdev->bdev; in linear_make_request()
339 + tmp_dev->rdev->data_offset; in linear_make_request()
Draid0.c518 struct md_rdev *tmp_dev; in raid0_make_request() local
549 tmp_dev = map_sector(mddev, zone, bio->bi_sector, in raid0_make_request()
551 bio->bi_bdev = tmp_dev->bdev; in raid0_make_request()
553 tmp_dev->data_offset; in raid0_make_request()
/drivers/acpi/
Dvideo_detect.c185 struct acpi_device *tmp_dev; in acpi_video_get_capabilities() local
210 status = acpi_bus_get_device(graphics_handle, &tmp_dev); in acpi_video_get_capabilities()
222 graphics_handle ? acpi_device_bid(tmp_dev) : "")); in acpi_video_get_capabilities()
/drivers/usb/chipidea/
Dusbmisc_imx.c184 struct of_device_id *tmp_dev; in usbmisc_imx_probe() local
214 tmp_dev = (struct of_device_id *) in usbmisc_imx_probe()
216 data->ops = (const struct usbmisc_ops *)tmp_dev->data; in usbmisc_imx_probe()
/drivers/pcmcia/
Dds.c220 struct device *tmp_dev; in pcmcia_get_dev() local
221 tmp_dev = get_device(&p_dev->dev); in pcmcia_get_dev()
222 if (!tmp_dev) in pcmcia_get_dev()
224 return to_pcmcia_dev(tmp_dev); in pcmcia_get_dev()
492 struct pcmcia_device *p_dev, *tmp_dev; in pcmcia_device_add() local
541 list_for_each_entry(tmp_dev, &s->devices_list, socket_device_list) in pcmcia_device_add()
542 if (p_dev->func == tmp_dev->func) { in pcmcia_device_add()
543 p_dev->function_config = tmp_dev->function_config; in pcmcia_device_add()
544 p_dev->irq = tmp_dev->irq; in pcmcia_device_add()
/drivers/net/usb/
Dhso.c2887 struct hso_device *tmp_dev = NULL; in hso_probe() local
2918 tmp_dev = hso_dev; in hso_probe()
2939 if (tmp_dev) in hso_probe()
2940 hso_dev = tmp_dev; in hso_probe()