Lines Matching defs:device
66 static const char *device;
123 device = tst_acquire_device(cleanup);
125 if (!device)
126 tst_brkm(TCONF, cleanup, "Failed to acquire device");
128 tst_mkfs(cleanup, device, fs_type, NULL, NULL);
134 SAFE_MOUNT(cleanup, device, MNT_POINT, fs_type, MS_RDONLY, NULL);
178 tst_resm(TWARN | TERRNO, "umount device:%s failed", device);
180 if (device)
181 tst_release_device(device);