Searched refs:sync_done (Results 1 – 5 of 5) sorted by relevance
349 int *sync_done = NULL; in rdc_sync() local380 sync_done = malloc(size); in rdc_sync()381 if (sync_done == NULL) { in rdc_sync()389 bzero(sync_done, size); in rdc_sync()520 if (sync_done[i]) in rdc_sync()539 sync_done[i] = 1; in rdc_sync()549 sync_done[i] = 1; in rdc_sync()564 if (sync_done[i]) in rdc_sync()585 sync_done[i] = 1; in rdc_sync()593 sync_done[i] = 1; in rdc_sync()[all …]
341 int sync_done; member
1584 skdev->sync_done = (SAM_STAT_GOOD == status) ? 1 : -1; in skd_complete_internal()2881 skdev->sync_done = 0; in skd_stop_device()2887 while (skdev->sync_done == 0) { in skd_stop_device()2900 switch (skdev->sync_done) { in skd_stop_device()
3070 goto sync_done; in _rdc_sync()3155 goto sync_done; in _rdc_sync()3404 sync_done: in _rdc_sync()3487 krdc->sync_done = RDC_COMPLETED; in _rdc_sync()3489 krdc->sync_done = RDC_FAILED; in _rdc_sync()3691 krdc->sync_done = 0; in rdc_sync()3908 while (krdc->sync_done == 0) in rdc_sync()3914 if (krdc->sync_done == RDC_FAILED) { in rdc_sync()4990 if (krdc->sync_done == RDC_COMPLETED) { in rdc_wait()4992 } else if (krdc->sync_done == RDC_FAILED) { in rdc_wait()
494 volatile int sync_done; member