A set of processes is deadlocked if each process in the set is waiting for an event that only another process in the set can cause
(*dp->dr_prepare)(mp->DEVICE); ... (*dp->dr_transfer)(mp->PROC_NR, opcode, mp->POSITION, &iovec1, 1); ...
(*dp->dr_cleanup)();