ata_port_queue_task(9)

NAME

ata_port_queue_task - Queue port_task

SYNOPSIS

void ata_port_queue_task(struct ata_port * ap, void  (*fn)
(void *), void * data, unsigned long delay);

ARGUMENTS

ap
The ata_port to queue port_task for
fn
workqueue function to be scheduled
data
data value to pass to workqueue function
delay
delay time for workqueue function

DESCRIPTION

Schedule fn(data) for execution after delay jiffies using
port_task. There is one port_task per port and it's the user(low
level driver)'s responsibility to make sure that only one task is
active at any given time.
libata core layer takes care of synchronization between
port_task and EH. ata_port_queue_task may be ignored for EH syn
chronization.

LOCKING

Inherited from caller.

AUTHOR

Jeff Garzik
Author.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout