Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/md/
Dlinear.c275 dev_info_t *tmp_dev; in linear_make_request() local
284 tmp_dev = which_dev(mddev, bio->bi_sector); in linear_make_request()
285 start_sector = tmp_dev->end_sector - tmp_dev->rdev->sectors; in linear_make_request()
288 if (unlikely(bio->bi_sector >= (tmp_dev->end_sector) in linear_make_request()
297 bdevname(tmp_dev->rdev->bdev, b), in linear_make_request()
298 (unsigned long long)tmp_dev->rdev->sectors, in linear_make_request()
305 tmp_dev->end_sector)) { in linear_make_request()
310 sector_t end_sector = tmp_dev->end_sector; in linear_make_request()
324 bio->bi_bdev = tmp_dev->rdev->bdev; in linear_make_request()
326 + tmp_dev->rdev->data_offset; in linear_make_request()
Draid0.c474 mdk_rdev_t *tmp_dev; in raid0_make_request() local
509 tmp_dev = map_sector(mddev, zone, bio->bi_sector, in raid0_make_request()
511 bio->bi_bdev = tmp_dev->bdev; in raid0_make_request()
513 tmp_dev->data_offset; in raid0_make_request()
/linux-2.6.39/drivers/acpi/
Dvideo_detect.c144 struct acpi_device *tmp_dev; in acpi_video_get_capabilities() local
167 status = acpi_bus_get_device(graphics_handle, &tmp_dev); in acpi_video_get_capabilities()
179 graphics_handle ? acpi_device_bid(tmp_dev) : "")); in acpi_video_get_capabilities()
/linux-2.6.39/drivers/pcmcia/
Dds.c217 struct device *tmp_dev; in pcmcia_get_dev() local
218 tmp_dev = get_device(&p_dev->dev); in pcmcia_get_dev()
219 if (!tmp_dev) in pcmcia_get_dev()
221 return to_pcmcia_dev(tmp_dev); in pcmcia_get_dev()
489 struct pcmcia_device *p_dev, *tmp_dev; in pcmcia_device_add() local
538 list_for_each_entry(tmp_dev, &s->devices_list, socket_device_list) in pcmcia_device_add()
539 if (p_dev->func == tmp_dev->func) { in pcmcia_device_add()
540 p_dev->function_config = tmp_dev->function_config; in pcmcia_device_add()
541 p_dev->irq = tmp_dev->irq; in pcmcia_device_add()
/linux-2.6.39/drivers/net/usb/
Dhso.c2927 struct hso_device *tmp_dev = NULL; in hso_probe() local
2958 tmp_dev = hso_dev; in hso_probe()
2979 if (tmp_dev) in hso_probe()
2980 hso_dev = tmp_dev; in hso_probe()