Lines Matching defs:device
49 static const char *device;
100 device = tst_acquire_device(cleanup);
102 if (!device)
103 tst_brkm(TCONF, cleanup, "Failed to acquire device");
110 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
112 SAFE_MOUNT(cleanup, device, TEST_EROFS, fs_type, MS_RDONLY, NULL);
142 tst_resm(TWARN | TERRNO, "umount device:%s failed", device);
144 if (device)
145 tst_release_device(device);