tag | line | file | source code |
hwgroup | 824 | drivers/block/ide-tape.c | void idetape_end_request (byte uptodate, ide_hwgroup_t *hwgroup); |
hwgroup | 2752 | drivers/block/ide-tape.c | void idetape_end_request (byte uptodate, ide_hwgroup_t *hwgroup) |
hwgroup | 2755 | drivers/block/ide-tape.c | ide_drive_t *drive = hwgroup->drive; |
hwgroup | 2756 | drivers/block/ide-tape.c | struct request *rq = hwgroup->rq; |
hwgroup | 452 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 454 | drivers/block/ide.c | if (hwgroup->handler != NULL) { |
hwgroup | 456 | drivers/block/ide.c | drive->name, hwgroup->handler, handler); |
hwgroup | 459 | drivers/block/ide.c | hwgroup->handler = handler; |
hwgroup | 460 | drivers/block/ide.c | hwgroup->timer.expires = jiffies + timeout; |
hwgroup | 461 | drivers/block/ide.c | add_timer(&(hwgroup->timer)); |
hwgroup | 602 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 611 | drivers/block/ide.c | if (jiffies < hwgroup->poll_timeout) { |
hwgroup | 615 | drivers/block/ide.c | hwgroup->poll_timeout = 0; /* end of polling */ |
hwgroup | 619 | drivers/block/ide.c | hwgroup->poll_timeout = 0; /* done polling */ |
hwgroup | 631 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 636 | drivers/block/ide.c | if (jiffies < hwgroup->poll_timeout) { |
hwgroup | 665 | drivers/block/ide.c | hwgroup->poll_timeout = 0; /* done polling */ |
hwgroup | 688 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 702 | drivers/block/ide.c | hwgroup->poll_timeout = jiffies + WAIT_WORSTCASE; |
hwgroup | 741 | drivers/block/ide.c | hwgroup->poll_timeout = jiffies + WAIT_WORSTCASE; |
hwgroup | 973 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 974 | drivers/block/ide.c | struct request *rq = hwgroup->rq; |
hwgroup | 989 | drivers/block/ide.c | ide_end_request(1, hwgroup); |
hwgroup | 1044 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = HWGROUP(drive); |
hwgroup | 1045 | drivers/block/ide.c | struct request *rq = &hwgroup->wrq; |
hwgroup | 1056 | drivers/block/ide.c | rq = hwgroup->rq; |
hwgroup | 1059 | drivers/block/ide.c | ide_end_request(1, hwgroup); |
hwgroup | 1350 | drivers/block/ide.c | ((ide_hwgroup_t *)hwif->hwgroup)->drive = drive; |
hwgroup | 1400 | drivers/block/ide.c | ide_end_request(0, hwif->hwgroup); |
hwgroup | 1418 | drivers/block/ide.c | void ide_do_request (ide_hwgroup_t *hwgroup) |
hwgroup | 1421 | drivers/block/ide.c | if (hwgroup->handler != NULL) { |
hwgroup | 1422 | drivers/block/ide.c | printk("%s: EEeekk!! handler not NULL in ide_do_request()\n", hwgroup->hwif->name); |
hwgroup | 1426 | drivers/block/ide.c | ide_hwif_t *hwif = hwgroup->hwif; |
hwgroup | 1428 | drivers/block/ide.c | if ((rq = hwgroup->rq) == NULL) { |
hwgroup | 1433 | drivers/block/ide.c | } while ((hwif = hwif->next) != hwgroup->hwif); |
hwgroup | 1437 | drivers/block/ide.c | do_request(hwgroup->hwif = hwif, hwgroup->rq = rq); |
hwgroup | 1439 | drivers/block/ide.c | } while (hwgroup->handler == NULL); |
hwgroup | 1453 | drivers/block/ide.c | static void do_hwgroup_request (ide_hwgroup_t *hwgroup) |
hwgroup | 1455 | drivers/block/ide.c | if (hwgroup->handler == NULL) { |
hwgroup | 1456 | drivers/block/ide.c | ide_hwif_t *hgif = hwgroup->hwif; |
hwgroup | 1461 | drivers/block/ide.c | ide_do_request (hwgroup); |
hwgroup | 1470 | drivers/block/ide.c | do_hwgroup_request (ide_hwifs[0].hwgroup); |
hwgroup | 1475 | drivers/block/ide.c | do_hwgroup_request (ide_hwifs[1].hwgroup); |
hwgroup | 1480 | drivers/block/ide.c | do_hwgroup_request (ide_hwifs[2].hwgroup); |
hwgroup | 1485 | drivers/block/ide.c | do_hwgroup_request (ide_hwifs[3].hwgroup); |
hwgroup | 1490 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = (ide_hwgroup_t *) data; |
hwgroup | 1491 | drivers/block/ide.c | ide_drive_t *drive = hwgroup->drive; |
hwgroup | 1497 | drivers/block/ide.c | if (hwgroup->poll_timeout != 0) { /* polling in progress? */ |
hwgroup | 1498 | drivers/block/ide.c | ide_handler_t *handler = hwgroup->handler; |
hwgroup | 1499 | drivers/block/ide.c | hwgroup->handler = NULL; |
hwgroup | 1501 | drivers/block/ide.c | } else if (hwgroup->handler == NULL) { /* not waiting for anything? */ |
hwgroup | 1505 | drivers/block/ide.c | hwgroup->handler = NULL; /* abort the operation */ |
hwgroup | 1506 | drivers/block/ide.c | if (hwgroup->hwif->dmaproc) |
hwgroup | 1507 | drivers/block/ide.c | (void) hwgroup->hwif->dmaproc (ide_dma_abort, drive); |
hwgroup | 1510 | drivers/block/ide.c | if (hwgroup->handler == NULL) |
hwgroup | 1511 | drivers/block/ide.c | do_hwgroup_request (hwgroup); |
hwgroup | 1538 | drivers/block/ide.c | static void unexpected_intr (int irq, ide_hwgroup_t *hwgroup) |
hwgroup | 1542 | drivers/block/ide.c | ide_hwif_t *hwif = hwgroup->hwif; |
hwgroup | 1563 | drivers/block/ide.c | } while ((hwif = hwif->next) != hwgroup->hwif); |
hwgroup | 1571 | drivers/block/ide.c | ide_hwgroup_t *hwgroup = irq_to_hwgroup[irq]; |
hwgroup | 1574 | drivers/block/ide.c | if (irq == hwgroup->hwif->irq && (handler = hwgroup->handler) != NULL) { |
hwgroup | 1575 | drivers/block/ide.c | ide_drive_t *drive = hwgroup->drive; |
hwgroup | 1576 | drivers/block/ide.c | hwgroup->handler = NULL; |
hwgroup | 1577 | drivers/block/ide.c | del_timer(&(hwgroup->timer)); |
hwgroup | 1582 | drivers/block/ide.c | if (hwgroup->handler == NULL) { |
hwgroup | 1584 | drivers/block/ide.c | ide_do_request(hwgroup); |
hwgroup | 1587 | 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 | 93 | drivers/block/ide.h | #define HWGROUP(drive) ((ide_hwgroup_t *)(HWIF(drive)->hwgroup)) |
hwgroup | 383 | 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; |