tag | line | file | source code |
hwgroup | 826 | drivers/block/ide-tape.c | void idetape_end_request (byte uptodate, ide_hwgroup_t *hwgroup); |
hwgroup | 2754 | drivers/block/ide-tape.c | void idetape_end_request (byte uptodate, ide_hwgroup_t *hwgroup) |
hwgroup | 2757 | drivers/block/ide-tape.c | ide_drive_t *drive = hwgroup->drive; |
hwgroup | 2758 | drivers/block/ide-tape.c | struct request *rq = hwgroup->rq; |
hwgroup | 455 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 457 | drivers/block/ide.c | if (hwgroup->handler != NULL) { |
hwgroup | 459 | drivers/block/ide.c | drive->name, hwgroup->handler, handler); |
hwgroup | 462 | drivers/block/ide.c | hwgroup->handler = handler; |
hwgroup | 463 | drivers/block/ide.c | hwgroup->timer.expires = jiffies + timeout; |
hwgroup | 464 | drivers/block/ide.c | add_timer(&(hwgroup->timer)); |
hwgroup | 605 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 614 | drivers/block/ide.c | if (jiffies < hwgroup->poll_timeout) { |
hwgroup | 618 | drivers/block/ide.c | hwgroup->poll_timeout = 0; /* end of polling */ |
hwgroup | 622 | drivers/block/ide.c | hwgroup->poll_timeout = 0; /* done polling */ |
hwgroup | 634 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 639 | drivers/block/ide.c | if (jiffies < hwgroup->poll_timeout) { |
hwgroup | 668 | drivers/block/ide.c | hwgroup->poll_timeout = 0; /* done polling */ |
hwgroup | 691 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 705 | drivers/block/ide.c | hwgroup->poll_timeout = jiffies + WAIT_WORSTCASE; |
hwgroup | 744 | drivers/block/ide.c | hwgroup->poll_timeout = jiffies + WAIT_WORSTCASE; |
hwgroup | 975 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 976 | drivers/block/ide.c | struct request *rq = hwgroup->rq; |
hwgroup | 991 | drivers/block/ide.c | ide_end_request(1, hwgroup); |
hwgroup | 1046 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 1047 | drivers/block/ide.c | struct request *rq = &hwgroup->wrq; |
hwgroup | 1058 | drivers/block/ide.c | rq = hwgroup->rq; |
hwgroup | 1061 | drivers/block/ide.c | ide_end_request(1, hwgroup); |
hwgroup | 1352 | drivers/block/ide.c | ((ide_hwgroup_t *)hwif->hwgroup)->drive = drive; |
hwgroup | 1402 | drivers/block/ide.c | ide_end_request(0, hwif->hwgroup); |
hwgroup | 1420 | drivers/block/ide.c | void ide_do_request (ide_hwgroup_t *hwgroup) |
hwgroup | 1423 | drivers/block/ide.c | if (hwgroup->handler != NULL) { |
hwgroup | 1424 | drivers/block/ide.c | printk("%s: EEeekk!! handler not NULL in ide_do_request()\n", hwgroup->hwif->name); |
hwgroup | 1428 | drivers/block/ide.c | ide_hwif_t *hwif = hwgroup->hwif; |
hwgroup | 1430 | drivers/block/ide.c | if ((rq = hwgroup->rq) == NULL) { |
hwgroup | 1435 | drivers/block/ide.c | } while ((hwif = hwif->next) != hwgroup->hwif); |
hwgroup | 1439 | drivers/block/ide.c | do_request(hwgroup->hwif = hwif, hwgroup->rq = rq); |
hwgroup | 1441 | drivers/block/ide.c | } while (hwgroup->handler == NULL); |
hwgroup | 1455 | drivers/block/ide.c | static void do_hwgroup_request (ide_hwgroup_t *hwgroup) |
hwgroup | 1457 | drivers/block/ide.c | if (hwgroup->handler == NULL) { |
hwgroup | 1458 | drivers/block/ide.c | ide_hwif_t *hgif = hwgroup->hwif; |
hwgroup | 1463 | drivers/block/ide.c | ide_do_request (hwgroup); |
hwgroup | 1472 | drivers/block/ide.c | do_hwgroup_request (ide_hwifs[0].hwgroup); |
hwgroup | 1477 | drivers/block/ide.c | do_hwgroup_request (ide_hwifs[1].hwgroup); |
hwgroup | 1482 | drivers/block/ide.c | do_hwgroup_request (ide_hwifs[2].hwgroup); |
hwgroup | 1487 | drivers/block/ide.c | do_hwgroup_request (ide_hwifs[3].hwgroup); |
hwgroup | 1492 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = (ide_hwgroup_t *) data; |
hwgroup | 1493 | drivers/block/ide.c | ide_drive_t *drive = hwgroup->drive; |
hwgroup | 1499 | drivers/block/ide.c | if (hwgroup->poll_timeout != 0) { /* polling in progress? */ |
hwgroup | 1500 | drivers/block/ide.c | ide_handler_t *handler = hwgroup->handler; |
hwgroup | 1501 | drivers/block/ide.c | hwgroup->handler = NULL; |
hwgroup | 1503 | drivers/block/ide.c | } else if (hwgroup->handler == NULL) { /* not waiting for anything? */ |
hwgroup | 1507 | drivers/block/ide.c | hwgroup->handler = NULL; /* abort the operation */ |
hwgroup | 1508 | drivers/block/ide.c | if (hwgroup->hwif->dmaproc) |
hwgroup | 1509 | drivers/block/ide.c | (void) hwgroup->hwif->dmaproc (ide_dma_abort, drive); |
hwgroup | 1512 | drivers/block/ide.c | if (hwgroup->handler == NULL) |
hwgroup | 1513 | drivers/block/ide.c | do_hwgroup_request (hwgroup); |
hwgroup | 1540 | drivers/block/ide.c | static void unexpected_intr (int irq, ide_hwgroup_t *hwgroup) |
hwgroup | 1544 | drivers/block/ide.c | ide_hwif_t *hwif = hwgroup->hwif; |
hwgroup | 1565 | drivers/block/ide.c | } while ((hwif = hwif->next) != hwgroup->hwif); |
hwgroup | 1573 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = irq_to_hwgroup[irq]; |
hwgroup | 1576 | drivers/block/ide.c | if (irq == hwgroup->hwif->irq && (handler = hwgroup->handler) != NULL) { |
hwgroup | 1577 | drivers/block/ide.c | ide_drive_t *drive = hwgroup->drive; |
hwgroup | 1578 | drivers/block/ide.c | hwgroup->handler = NULL; |
hwgroup | 1579 | drivers/block/ide.c | del_timer(&(hwgroup->timer)); |
hwgroup | 1584 | drivers/block/ide.c | if (hwgroup->handler == NULL) { |
hwgroup | 1586 | drivers/block/ide.c | ide_do_request(hwgroup); |
hwgroup | 1589 | drivers/block/ide.c | unexpected_intr(irq, hwgroup); |
hwgroup | 2874 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = irq_to_hwgroup[irq]; |
hwgroup | 2882 | drivers/block/ide.c | if (hwgroup == NULL) { |
hwgroup | 2894 | drivers/block/ide.c | hwgroup = ide_hwifs[1].hwgroup; |
hwgroup | 2899 | drivers/block/ide.c | if (hwgroup == NULL) { |
hwgroup | 2900 | drivers/block/ide.c | hwgroup = kmalloc (sizeof(ide_hwgroup_t), GFP_KERNEL); |
hwgroup | 2901 | drivers/block/ide.c | hwgroup->hwif = hwif->next = hwif; |
hwgroup | 2902 | drivers/block/ide.c | hwgroup->rq = NULL; |
hwgroup | 2903 | drivers/block/ide.c | hwgroup->handler = NULL; |
hwgroup | 2904 | drivers/block/ide.c | hwgroup->drive = &hwif->drives[0]; |
hwgroup | 2905 | drivers/block/ide.c | hwgroup->poll_timeout = 0; |
hwgroup | 2906 | drivers/block/ide.c | init_timer(&hwgroup->timer); |
hwgroup | 2907 | drivers/block/ide.c | hwgroup->timer.function = &timer_expiry; |
hwgroup | 2908 | drivers/block/ide.c | hwgroup->timer.data = (unsigned long) hwgroup; |
hwgroup | 2910 | drivers/block/ide.c | hwif->next = hwgroup->hwif->next; |
hwgroup | 2911 | drivers/block/ide.c | hwgroup->hwif->next = hwif; |
hwgroup | 2913 | drivers/block/ide.c | hwif->hwgroup = hwgroup; |
hwgroup | 2914 | drivers/block/ide.c | irq_to_hwgroup[irq] = hwgroup; |
hwgroup | 2920 | drivers/block/ide.c | if (hwgroup->hwif != hwif) |
hwgroup | 2921 | drivers/block/ide.c | printk(" (serialized with %s)", hwgroup->hwif->name); |
hwgroup | 92 | drivers/block/ide.h | #define HWGROUP(drive) ((ide_hwgroup_t *)(HWIF(drive)->hwgroup)) |
hwgroup | 382 | drivers/block/ide.h | void *hwgroup; /* actually (ide_hwgroup_t *) */ |
hwgroup | 344 | include/linux/blk.h | void ide_end_request(byte uptodate, ide_hwgroup_t *hwgroup); |
hwgroup | 348 | include/linux/blk.h | void ide_end_request(byte uptodate, ide_hwgroup_t *hwgroup) { |
hwgroup | 349 | include/linux/blk.h | struct request *req = hwgroup->rq; |
hwgroup | 386 | include/linux/blk.h | hwgroup->rq = NULL; |