Lines Matching refs:used
65 * sc->sc_transform method is used to convert the commands into the appropriate
238 * SCSI I/O Request CCB used for the XPT_SCSI_IO and XPT_CONT_TARGET_IO
431 * The command transform function is used to convert the SCSI
447 struct mtx sc_umass_mtx; /* The mtx is used to prevent data read and write competition */
461 int used; /* 0: not use; 1: in use */
463 struct mtx dev_mtx; /* The mtx is used to prevent U disk insertion or extraction competition */
1064 /* from here onwards the device can be used. */
3415 if (dev[i].used == 1) {
3461 if (g_umass_dev_array[id].used == 1) {
3462 PRINT_ERR("The id of umass device array is used!, id=%d\n", dev_unit);
3468 g_umass_dev_array[id].used = 1;
3477 if (g_umass_dev_array[id].used == 0) {
3478 PRINT_ERR("The id of umass device array is not used!\n");
3484 g_umass_dev_array[id].used = 0;
3506 if (g_umass_dev_array[i].used)