Lines Matching defs:work
29 static void fc_vport_sched_delete(struct work_struct *work);
311 static void fc_timeout_deleted_rport(struct work_struct *work);
312 static void fc_timeout_fail_rport_io(struct work_struct *work);
313 static void fc_scsi_scan_rport(struct work_struct *work);
526 * fc_host_post_fc_event - routine to do the work of posting an event
2777 * fc_queue_work - Queue work to the fc_host workqueue.
2779 * @work: Work to queue for execution.
2782 * 1 - work queued for execution
2783 * 0 - work is already queued
2784 * -EINVAL - work queue doesn't exist
2787 fc_queue_work(struct Scsi_Host *shost, struct work_struct *work)
2791 "ERROR: FC host '%s' attempted to queue work, "
2798 return queue_work(fc_host_work_q(shost), work);
2810 "ERROR: FC host '%s' attempted to flush work, "
2820 * fc_queue_devloss_work - Schedule work for the fc_host devloss workqueue.
2822 * @work: Work to queue for execution.
2823 * @delay: jiffies to delay the work queuing
2829 fc_queue_devloss_work(struct Scsi_Host *shost, struct delayed_work *work,
2834 "ERROR: FC host '%s' attempted to queue work, "
2841 return queue_delayed_work(fc_host_devloss_work_q(shost), work, delay);
2853 "ERROR: FC host '%s' attempted to flush work, "
2912 /* flush all scan work items */
2915 /* flush all stgt delete, and rport delete work items, then kill it */
2922 /* flush all devloss work items, then kill it */
2948 * @work: remote port to be operated on.
2953 fc_starget_delete(struct work_struct *work)
2956 container_of(work, struct fc_rport, stgt_delete_work);
2965 * @work: remote port to be deleted.
2968 fc_rport_final_delete(struct work_struct *work)
2971 container_of(work, struct fc_rport, rport_delete_work);
2982 * that we can reclaim the rport scan work element.
3422 * We do need to reclaim the rport scan work element, so eventually
3547 * @work: rport target that failed to reappear in the allotted time.
3553 fc_timeout_deleted_rport(struct work_struct *work)
3556 container_of(work, struct fc_rport, dev_loss_work.work);
3630 * Pre-emptively kill I/O rather than waiting for the work queue
3685 * @work: rport to terminate io on.
3691 fc_timeout_fail_rport_io(struct work_struct *work)
3694 container_of(work, struct fc_rport, fail_io_work.work);
3705 * @work: remote port to be scanned.
3708 fc_scsi_scan_rport(struct work_struct *work)
3711 container_of(work, struct fc_rport, scan_work);
4021 * @work: vport to be deleted.
4024 fc_vport_sched_delete(struct work_struct *work)
4027 container_of(work, struct fc_vport, vport_delete_work);